Selenium RC Automation "Element Not found error"
I am presently automating my project. However when playing back the script I am getting element not found error for a button. I copied XPATH of the button from the firebug
The XPATH is as follows got from firebug:
/html/body/div[3]/div[2]/div/div/div/div/div/form/table/tbody/tr[23]/td[2]/input
So I wrote in code:
Selenium.click("xpath=/html/body/div[3]/div[2]/div/div/div/div/div/form/table/tbody/tr[23]/td[2]/input");
Still I am getting the same error as element not found
Try using css path and check. Still, if this is not working, try to use the selenium command
selenium.isElementPresent(“id or xpath or css of your continue button”);
and check if the element is present in the web page.
Also make sure that the Continue button is not present inside any other frames.