I am using the selenium tool for my web application testing
I recorded some script and agian i played same but while
playing:
Alert msg is not getting closed
It needs the manual interaction
[Note:Here alert is generated not at the time of onload
event]


Please provide some solution for this

Answers were Sorted based on User's Feedback



I am using the selenium tool for my web application testing I recorded some script and agian i play..

Answer / muppalla_kishore

selenium.windowsfocus();
selenium.click("Button name");

by the above RC script you can handle the alert messages.

As per my idea we dont have option to handle the alert popup
in IDE.

Thanks:
MU.KI.BA

Is This Answer Correct ?    0 Yes 0 No

I am using the selenium tool for my web application testing I recorded some script and agian i play..

Answer / lp

Here you need to go viewalert in alert pop-up window and
install the certificate.Then next time it will not ask for
alert.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Automation Testing AllOther Interview Questions

I have a web page.In that i have two links called "gmail" and "gmail". Both links are look same.One link is at top of the page and other link is at bottomn of the page. How the automation tool can be recognized these link and make to click the link i want?

5 Answers  


What is the best scripting language for automation (function) testing

4 Answers  


What are the primary features of good automation tool ?

0 Answers  


In general, how do you see automation fitting into the overall process of testing?

0 Answers  


What are the main attributes of test automation?

2 Answers  


If automating - what is your process for determining what to automate and in what order?

1 Answers  


What are the scripting languages used in WinRunner, LoadRunner, QTP, Test director, ClearQuest, Rational Robot? How do you decide which tool will be a best fit for your test enviorment?

3 Answers  


Please explain how to perform load-testing?

0 Answers  


What is fastest locating Strategy?

1 Answers   HCL,


What criteria do you consider for automating a test?

0 Answers  


How would you test your own element locator?

0 Answers  


List down the primary features of a good automation tool?

0 Answers  


Categories