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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the points that are covered while planning phase of automation ?

839


What is the major difference between Functional test, Acceptance test, Usability test and performance test. With special reference to automotive domain

2049


Tell me what is an absolute xpath?

715


What are the things that one should consider for selecting a project for test automation? For example, stability, etc.

1764


Explain me how do you send enter/tab keys in webdriver?

708


What are the different types of an automation tool that you are aware of?

786


What is the difference between automation tools and management tools?

751


why we cannot apply check points in compile modules?

1892


Describe some problem that you had with automating testing tool.

2048


What is mean by ARGO testing? Can you please explain anyone

1826


what is dynamic window and dynamic model ? (worksoft automation tool)

2053


Name some of the commonly used automation testing tools that are used for non-functional automation.

769


What is testng and why is it better than junit?

769


Tell me what kind of tests should not be automated?

733


is there any one got offer from snapdeal?

4325