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
tributesqa
Posts : 1
Join date : 2009-08-12

IDE and Iframes Empty IDE and Iframes

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
Advisor
Advisor
------------------------
------------------------
Posts : 387
Join date : 2009-07-30
Location : India
https://seleniumforum.forumotion.net

IDE and Iframes Empty Re: IDE and Iframes

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
Back to top
Permissions in this forum:
You cannot reply to topics in this forum