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

IDE and Iframes

View previous topic View next topic Go down

IDE and Iframes

Post by tributesqa on Wed Aug 12, 2009 1:54 am

So I am attempting to write
some scripts for our product people to use selenium IDE to test the web
flows. I am having issues with verification tasks due to the iframes on
the page I am testing. An example of a page I am having trouble with is
http://lakelawnmetairie.com/obituaries/tribute.html?url=http://stei-23818.tributes.com/show/Cynthia--Syndi--Theriot-86532213. I have tried selectWindow and selectFrame with various targets and values but to no avail.
I realize I can just load the iframe but I would like to get the full experience for the product team
Any help would be appreciated.Joshtributes.com

tributesqa

Posts : 1
Join date : 2009-08-12

Back to top Go down

Re: IDE and Iframes

Post by Adviser on Wed Aug 12, 2009 2:14 pm

Hi,

I have done recording on your site with selenium IDE and when I run the script again it gives a following error:

Window does not exist. If this looks like a Selenium bug, make
sure to read http://selenium-core.openqa.org/reference.html#openWindow
for potential workarounds.


This is selenium bug but sometime it doesn't identify window or frame is closed but window is opened.

The workaround for this problem will be use the following command:
open(url)Arguments:

  • url - the URL to open; may be relative or absolute
Opens an URL in the test frame. This accepts both relative and absolute
URLs.

The "open" command waits for the page to load before proceeding,
ie. the "AndWait" suffix is implicit.

Note: The URL must be on the same domain as the runner HTML
due to security restrictions in the browser (Same Origin Policy). If you
need to open an URL on another domain, use the Selenium Server to start a
new browser session on that domain.

By this you have to reopen your page and take control back to same page where test stop.


I hope this will help u . Best Of luck.

Bye

Adviser
------------------------
------------------------

Posts : 379
Join date : 2009-07-30
Location : India

http://seleniumforum.forumotion.net

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