Friday, June 21, 2013

In most web applications the handling of pop ups/alert/confirmations/prompts during the automation testing is a common issue. In this post we will describe how we can use the SeleniumRC and the Webdriver in order to manage them. Selenium RC Selenium RC provides the 3 following methods in order to handle alert-confirmation and prompt pop-ups. void chooseOkOnNextConfirmation(); void chooseCancelOnNextConfirmation(); void answerOnNextPrompt(answer); The...
Read More