Selenium Forum: Functional And Regression Testing Tool.
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Search
Display results as :
Advanced Search
Latest topics
AEM Training | Free Online DemoWed Apr 21, 2021 5:45 pmazharuddin
c# PageFactory - issue initializing elementsFri Nov 01, 2019 8:40 pmthegoatboy
Selenium making automatic connection to random urlsMon Jul 08, 2019 12:58 pmrepairtechsolutions1
How can we design the custom framework in Selenium RCMon Jun 24, 2019 2:26 pmrandybonnettes
What are the new features in Selenium 3.0Tue Jun 18, 2019 5:37 pmpappyvicky
What are you using Selenium for? Fri Apr 12, 2019 3:52 amzhl
LIMITATIONS OF SELENIUMWed Apr 10, 2019 11:23 amswara
Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Go down
avatar
deepakkulal
Posts : 1
Join date : 2012-04-19

How to make selenium identify popup window opened by the server on client machine? Empty How to make selenium identify popup window opened by the server on client machine?

Thu Apr 19, 2012 6:31 pm
What steps will reproduce the problem?

1. Click on Submit button.

2. Server side form validation is initiated and when success, server

opens the popup window in client.

3. Unable to select popup window

What is the expected output? What do you see instead?

Selenium IDE command should be able to select(identify) the popup

window initiated by server on client machine and transfer control.


The popup window initiated by server is not selected(identified) by

selenium ide, returns error "window does not exists".


Selenium version:1.6

OS:Windows 7

Browser: Firefox

Browser version: 3.6

Web application.


<tr>

<td>open</td>

<td>/test/index.php</td> //URL of the component to be opened

<td></td>

</tr>

//Fill in mandatory fields in the form.

<tr>

<td>clickAndWait</td>

<td>name=generate</td> //Click form button to open pop up window

<td></td>

</tr>

//Before opening the pop up window system validates the form.

//After validation is passed server opens up pop up window

<tr>

<td>selectPopUp</td>

<td>name=generate</td> //pop up window opened by server

<td></td>

</tr>

<tr>

<td>click</td>

<td>id=pdf_0</td> //values to be selected in the pop up

<td></td>

</tr>

<tr>

<td>click</td>

<td>id=pdf_1</td> //values to be selected in the pop up

<td></td>

</tr>
Back to top
Permissions in this forum:
You cannot reply to topics in this forum