Selenium – answerOnNextPrompt 

answerOnNextPrompt(answer)
Arguments:
* answer – the answer to give in response to the prompt pop-up
Instructs Selenium to return the specified answer string in response to the next JavaScript prompt [window.prompt()].


Author: Pavandeep Puddupakkam on May 2, 2010
Category: Selenium IDE, Selenium RC, Software Testing
Tags: , , ,
Google Webdriver Forum -The Online Community for Google Webdriver and Selenium RC Users and Professionals

Leave a Reply

Last articles