Wednesday, January 21, 2015

What is Selenium WebDriver?

Selenium Web Driver is an API  a set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

Wednesday, December 17, 2014

Testing without any Business Requirement (BRD) or System Requirement Specification (SRS) document.

Many of the companies today follow minimal documentation or sometimes no documentation. This methodology is mostly followed in company's that develop products for its own internal operations where there is no revenue generated from the product developed.

QUESTIONS? YOU MAY THINK ABOUT.
1. Why would a company develop an application which does not generate revenue?
First, let me explain the type of company's that make money out of their Software Products. These are the company's that sell their products to end users, that could be anyone who would like to use their product pays for it.
On the other hand there are organisations which develop applications to run their business. These could be hotels, cab management systems etc.

2. Can testing be carried out in such an organisation?
The answer to this question is "Yes". However, the tester working in such an environment should have a good sense of business logic. However, this also  depends on other factors of the application under test(AUT) such  as the complexity and user friendliness of the AUT.

3. How can a tester start testing in such an organisation?
The tester can initially start with exploratory testing depending on the level of skill he holds. Another option to gain information with respect to the applications functionality is by speaking to the product owners, end users, Business analysts or the application support team.


                          

Thursday, December 4, 2014

What is Selenium?

Selenium is an open source automation testing framework used for the automating tests of web applications. Testers can perform automation test by either using the Selenium IDE browser plugin available for Firefox browser that provides a record and play back functionality or by scripting language such as JAVA, C#, RUBY, PYTHON, JAVASCRIPT(node)  to script their test.

Selenium comprises of Selenium Server(earlier known Selenium Remote Control) and Selenium WebDriver.

In the following posts we would concentrate on Automating web applications using Selenium  WebDriver.

Tuesday, December 2, 2014

FireFox browser path configuration - "cannot find firefox binary in path."

 "Cannot find firefox binary in path." This error occurs if WebDriver cannot locate firefox in its default PATH i,e (C:/Program Files/Mozilla/). This could be possibly due to installing firefox in a folder other than the default folder.


Error: Exception in thread "main" org.openqa.selenium.WebDriverException: 
Cannot find firefox binary in PATH. Make sure firefox is installed. OS appears to be: VISTA Build info: version: '2.39.0', revision: 'ff23eac', time: '2013-12-16 16:11:15' System info: host: 'INB-W0223', ip: '10.57.42.105', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_67' Driver info: driver.version: Driver at org.openqa.selenium.firefox.internal.Executable.(Executable.java:72) at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:59) at org.openqa.selenium.firefox.FirefoxBinary.(FirefoxBinary.java:55) at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:103) at Driver.main(Driver.java:19)

This can be resolved by using the webdriver.firefox.bin system property.

Code:
System.setProperty("webdriver.firefox.bin","C:/path to firefox installed folder/firefox.exe");

Thursday, November 27, 2014

What is Automation Testing?

Software testing which is performed with the help of automation tools such as QTP, Selenium, Ranorex etc. that would minimize human effort in testing is called as Automation Testing.