RE: Wait related question

Interview question :

We have a button on a web page, we have written automated script to click it,but script gets failed at run time on click statement of button

But when we manually opens the page button is clickable

Also the button is visible when script is running

What would be the reason of click failure and how u will tackle it ?

amitjain Supporter Asked on March 27, 2015 in Selenium WebDriver.
Add Comment
2 Answers

The code will fail when the locator is not matching.

Default Answered on March 27, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.