Submitted by harrydev on Fri, 01/24/2014 - 14:40
Automated software testing is the best way to increase the effectiveness, efficiency and coverage of your software testing. Every software development group tests its products, yet delivered software always has defects.
Test engineers strive to catch them before the product is released but they always creep in and they often reappear, even with the best manual testing processes.
Submitted by harrydev on Mon, 01/20/2014 - 13:15
Some times, you may need to update the preferences within Firefox. We can do this by instantiating a Firefox Profile object and then update the settings.
We will then need to pass this object into FirefoxDriver which will load the profile with your defined settings.
You can check them using command "about:config" in the borwser. It will display a warning message and then asks you to proceed if required. Becarefull when doing any changes.
Submitted by harrydev on Sun, 01/19/2014 - 06:44
// Get a handle to the open alert, prompt or confirmation
Alert alert = driver.switchTo().alert();
Alert is an interface. There below are the methods that are used
//Will Click on OK button.
Submitted by harrydev on Sun, 01/19/2014 - 03:43
What is iFrame? An iFrame (Inline Frame) is an HTML document embedded inside the current HTML document on a website. iFrame HTML element is used to insert content from another source, such as an advertisement, into a Web page. A Web designer can change an iFrame's content without making them reload the complete website. A website can have multiple frames on a single page. And a frame can also have inner frames (Frame in side a Frame)
Submitted by harrydev on Sun, 01/19/2014 - 00:58
There are many cases, where a application displays multiple windows when you open a website. Those are may be advertisements or may be a kind of information showing on popup windows. We can handle multiple windows using Windows Handlers in selenium webdriver.
Submitted by harrydev on Sat, 01/18/2014 - 02:48
Scripts that worked earlier may be till yesterday are NOW not working because of Firefox browser upgraded to new version.
Most of them have faced the similar problem when the browser has updated to version . This is the first issue user notices when there is an update in the firefox browser and may not support selenium with older version of jars.
First we need to check if the selenium has come up with new version. Click here to download the latest version of selenium
Submitted by harrydev on Tue, 01/14/2014 - 10:59
When we don't have an option to choose Id or Name, we should prefer using CSS locators as the best alternative.
CSS is "Cascading Style Sheets" and it is defined to display HTML in structured and colorful styles are applied to webpage.
Selectors are patterns that match against elements in a tree, and as such form one of several technologies that can be used to select nodes in an XML document. Visit to know more W3.Org Css selectors
Submitted by harrydev on Tue, 01/14/2014 - 10:52
XPath is designed to allow the navigation of XML documents,with the purpose of selecting individual elements, attributes, or some other part of an XML document for specific processing.
What is XML?
The Extensible Markup Language (XML) is the context in which the XML Path Language, XPath, exists.
XML provides a standard syntax for the markup of data and documents.
Submitted by harrydev on Thu, 01/09/2014 - 12:17
It is a mechanism which involves more than one components to work parallel with Each other.
Generally in Test Automation, we have two components
1. Application Under Test
2. Test Automation Tool.
Both these components will have their own speed. We should write our scripts in such a way that both the components should move with same and desired speed, so that we will not encounter "Element Not Found" errors which will consume time again in debugging.
Synchronization can be classified into two categories:
Submitted by harrydev on Fri, 12/27/2013 - 14:45
To start selenium scripting with Eclipse, you need to first install Java Development Kit (JDK) Download and Install Java
Installing eclipse is very easy, First download eclipse . The downloaded file should be a .zip file. Place it in a folder and ensure that you have full read and write permissions. Try to create a shortcut of the eclipse executable file.