Friday, June 7, 2013

How to click on button in Selenium RC

To click a Button on web page please use the below command.
Clicks on a link, button, checkbox or radio button. If the click action causes a new page to load (like a link usually does),  call
waitForPageToLoad.
Parameters:
locator an element locator
Usage:
Selenium.click(“locator”);
Selenium.click(“id=123”);

No comments:

Post a Comment