Monday, April 7, 2014

Capturing the screenshot and Assignid command in Selenium IDE


Capturing the screenshot in Selenium IDE

It enables to take the screenshot of the current webpage in the Firefox browser.

Syntax:
Command: captureEntirePageScreenshot
Target: d://google.png

where d:// is the location and google.png is filename of image,the image type is in png format.





Assignid

which helps to overwrite the Id,name(as like that)...
This command is helpful when the Id,name are no meaningful, not understand and not able to memorize means it enable to give meaningful, understand and memorable one.

Syntax:
Command: assignId
Target: name=btnG // here either be give name or id(name=btnG,id=gbqfq)
Value: Search_button


No comments: