I am using the selenium ide for testing my web application
i recorded some script and played back
while playing the recorded script the "alert msg is not
getting closed"
it needs manual interaction
Please help out me

Answers were Sorted based on User's Feedback



I am using the selenium ide for testing my web application i recorded some script and played back ..

Answer / mohd anees

If the alert message is a javascript then use
assertConfirmation or alertConfirmation command and pass the pattern of the alert message.
this command automatically click on the "OK" button.

Is This Answer Correct ?    0 Yes 0 No

I am using the selenium ide for testing my web application i recorded some script and played back ..

Answer / suresh1234

record the scenario and write the code manually to handle the popup then run the test

Is This Answer Correct ?    0 Yes 0 No

I am using the selenium ide for testing my web application i recorded some script and played back ..

Answer / suresh

Please check whether the is due to time lag/ button is not
loaded completely. To my knowledge just recorded scripts
wont work.. we need to modify the script after recording
depends on the page properties.

Is This Answer Correct ?    1 Yes 2 No

I am using the selenium ide for testing my web application i recorded some script and played back ..

Answer / lulu

If the alert message is in different browser you have to
handle it after recording. You have to select that popup
window and close it.Then transfer the control back to main
window.

waitForPopUp | winId | 30000
selectWindow | winId
...
close
selectWindow

Is This Answer Correct ?    0 Yes 1 No

I am using the selenium ide for testing my web application i recorded some script and played back ..

Answer / santhu

To the Best Of my Knowledge Plse USe the Recovery Ce In
this

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Automation Testing AllOther Interview Questions

What is the process of Automation Testing?

0 Answers   Wipro,


i have one answer from you that today the test cases are not stored in the database(SQL server 2005). But in automation testing where does the test case store? plz tell me... i have more confusion

0 Answers  


Hi, here r some questions, which were asked in Ekaplus, plz process these questions. 1. How we connect with the version?

0 Answers   Eka Software,


If a scenario is given and asked whether we can automate the system according to that scenario,how wil we answer such type of questions?

1 Answers   TCS,


Can test automation improve test effectiveness?

0 Answers  






hi every one this is ashok pls any one give answer me pls question is while testing with selenium after giving id user name and password , the inbox will be open , how to handle this one

0 Answers  


Do you know the difference between close and quit command?

0 Answers  


What are the drawbacks of test automation?

0 Answers  


4. How we implement Winrunner,in our project?

0 Answers   Eka Software,


How can we make one test method dependent on other using testng?

0 Answers  


Tell me what is the firefoxdriver, class or an interface? And which interface does it implement?

0 Answers  


How did you use automating testing tools in your job?

0 Answers  


Categories