Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Tue Nov 21, 2017 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

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