Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

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

View previous topic View next topic Go down

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

Post by deepakkulal on 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>

deepakkulal

Posts : 1
Join date : 2012-04-19

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum