Showing posts with label selenium automation. Show all posts
Showing posts with label selenium automation. Show all posts

Sunday, April 19, 2015

Difference Between isElementPresent & isElementDisplayed - Selenium

Selenium Commands - isElementPresent & isElementDisplayed


isElementPresent will check if an Element is present on the page by returning the value as true or false.

isElementDisplayed will check if the element is displayed on the page or not, but IT SHOULD be available on the HTML Doc.


For Example, say if you are searching for an element by xpath which is basically incorrect. If you use isElementPresent method will return false, but if you use isElementDisplayed, the code will give an Error. 

Saturday, April 18, 2015

Event Firing Mouse – Selenium

Event Firing Mouse - Selenium


Here I am going to explain how to move the mouse using the Event Firing Mouse. One need to keep in mind that this does not move the mouse physically.

You can check the Mouse interface on Seleniumhq.org for more details .

Below are the methods which can be used with Mouse Interface

Mouse Interface - Methods


Wednesday, October 2, 2013

Day 2 : My First Selenium script

The below steps will help you record your first script in Selenium:

1.       To Record a Web activity, you need to first open the Selenium IDE and start recording (By Default, when you start, Recording is automatically on)