Friday 3 January 2014

What is the Difference between Bitmap Check point & Image Check point

Bitmap checkpoint does a pixel to pixel comparison of an image or part of an image.

Image Checkpoint checks the value of an image in your application like alt text, destination URL. Note: You create an image checkpoint by inserting a standard checkpoint on an image object. It is supported only in web environment.

How to create runnable jar file for your Selenium project

   1.   Right click on your project in eclipse
   2.   Select Export
   3.   Select [Java -> Runnable Jar file]
   4.   Provide Export Location
   5.   Click finish

 Run generated .jar file from command prompt


Script will run on machine having Browser & Java.

How to open Selenium IDE in Firefox

Selenium IDE can be opened in two ways
1.       Go to [View -> Side bar -> Selenium IDE]

2.       Go to [Tools -> Selenium IDE]

What are the element locators available with Selenium which could be used to locate elements on web page

There are mainly 5 locators used with Selenium –
1.       html id
2.       html name
3.       XPath locator
4.       Css locators
5.       DOM
6.       LinkText
7.       PartialLinkText
8.       Tagname

9.       Classname

Thursday 2 January 2014