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

Write test cases on ATM machine and On Pencil.

3 Answers   Quark,


What is the Differnce between Client/Server Testing and Web Based Testing?

3 Answers   BirlaSoft,


What are the differences between open source tools, vendor tools, and in-house tools?

0 Answers  


Do you know how can we make one test method dependent on other using testng?

0 Answers  


How automation process is carried out?

0 Answers  


Tell us what is the alternate way to click on login button?

0 Answers  


what we have done after display the result in openSTA result pane.in the sense that how we send the report,what we send in report,how to know that where is error.quickly tell me the answer...please

0 Answers  


You have 3 Dialog Box on desktop window and u want to click on yes button on 3rd Dialog box how to write the script to click on yes by DP? Note Dialog box names are same

1 Answers   Wipro,


Do you think that testing can be done only at the ui level?

0 Answers  


which tools is the best in Automation

7 Answers   Satyam,


Explain some automation testing tools.

0 Answers  


How do you Test Credit Card Validation

2 Answers   V2 Solutions,


Categories