You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
Using Selenium IDE / Xebium on a site with frames? #151
Today I ran into a bit hurdle trying to record a test on a page which had frames with the Selenium IDE and Xebium. First the Selenium IDE generated Click events for links between frames, which did not play back as it seems they should have been ClickAndWait events.
We then worked around the initial frame usage as it wasn't really necessary, but at the end there seemed a similar error where it was trying to pick a window called "null". In general recording tests with the IDE and copy/pasting the Xebium generated did not work.
Is this a known issue or were we doing something wrong?
Hi Alex, I've been in that situation, but can't recall exactly what I did to solve it (haven't seen that much frames lately ;)
Where you should search for a resolution is the area of how webdriver deals with frames, you might even need some JavaScript. But it seems that there is a difference between the IDE implementation and webdriver as it is used by Xebium.
Today I ran into a bit hurdle trying to record a test on a page which had frames with the Selenium IDE and Xebium. First the Selenium IDE generated Click events for links between frames, which did not play back as it seems they should have been ClickAndWait events.
We then worked around the initial frame usage as it wasn't really necessary, but at the end there seemed a similar error where it was trying to pick a window called "null". In general recording tests with the IDE and copy/pasting the Xebium generated did not work.
Is this a known issue or were we doing something wrong?
—
Reply to this email directly or view it on GitHub.
You need to do a selectFrame with an id. If in JSON format, use that. Then
to selectFrame = top. If more than one frame exist, rinse and repeat. Ed
Jakubowski wrote a recursive search to avoid this whole selectFrame
nonsense.
Thanks,
Jaison Guglielmi
Hi Alex, I've been in that situation, but can't recall exactly what I did
to solve it (haven't seen that much frames lately ;)
Where you should search for a resolution is the area of how webdriver deals
with frames, you might even need some JavaScript. But it seems that there
is a difference between the IDE implementation and webdriver as it is used
by Xebium.
Today I ran into a bit hurdle trying to record a test on a page which had
frames with the Selenium IDE and Xebium. First the Selenium IDE generated
Click events for links between frames, which did not play back as it seems
they should have been ClickAndWait events.
We then worked around the initial frame usage as it wasn't really
necessary, but at the end there seemed a similar error where it was trying
to pick a window called "null". In general recording tests with the IDE and
copy/pasting the Xebium generated did not work.
Is this a known issue or were we doing something wrong?
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub #151 (comment).
Correction: relative=top. So you need to start at the tip, selectFrame to
the frame, then go back to the top then select a different frame.
On Sep 24, 2015 3:11 PM, "Jaison Guglielmi" jlgugli@gmail.com wrote:
Hi all,
You need to do a selectFrame with an id. If in JSON format, use that. Then
to selectFrame = top. If more than one frame exist, rinse and repeat. Ed
Jakubowski wrote a recursive search to avoid this whole selectFrame
nonsense.
Thanks,
Jaison Guglielmi
Hi Alex, I've been in that situation, but can't recall exactly what I did
to solve it (haven't seen that much frames lately ;)
Where you should search for a resolution is the area of how webdriver
deals with frames, you might even need some JavaScript. But it seems that
there is a difference between the IDE implementation and webdriver as it is
used by Xebium.
Today I ran into a bit hurdle trying to record a test on a page which
had frames with the Selenium IDE and Xebium. First the Selenium IDE
generated Click events for links between frames, which did not play back as
it seems they should have been ClickAndWait events.
We then worked around the initial frame usage as it wasn't really
necessary, but at the end there seemed a similar error where it was trying
to pick a window called "null". In general recording tests with the IDE and
copy/pasting the Xebium generated did not work.
Is this a known issue or were we doing something wrong?
—
Reply to this email directly or view it on GitHub.
—
Reply to this email directly or view it on GitHub #151 (comment).
Activity
cwortel commentedon Sep 24, 2015
Hi Alex, I've been in that situation, but can't recall exactly what I did to solve it (haven't seen that much frames lately ;)
Where you should search for a resolution is the area of how webdriver deals with frames, you might even need some JavaScript. But it seems that there is a difference between the IDE implementation and webdriver as it is used by Xebium.
http://docs.seleniumhq.org/docs/03_webdriver.jsp#moving-between-windows-and-frames
I see a lot of reference to the switchTo command, not aware if it is supported from Xebium though.
Good luck!
Met vriendelijke groeten/Kind Regards,
Cirilo
jguglielmi commentedon Sep 24, 2015
Hi all,
You need to do a selectFrame with an id. If in JSON format, use that. Then
to selectFrame = top. If more than one frame exist, rinse and repeat. Ed
Jakubowski wrote a recursive search to avoid this whole selectFrame
nonsense.
Thanks,
Jaison Guglielmi
Hi Alex, I've been in that situation, but can't recall exactly what I did
to solve it (haven't seen that much frames lately ;)
Where you should search for a resolution is the area of how webdriver deals
with frames, you might even need some JavaScript. But it seems that there
is a difference between the IDE implementation and webdriver as it is used
by Xebium.
http://docs.seleniumhq.org/docs/03_webdriver.jsp#moving-between-windows-and-frames
I see a lot of reference to the switchTo command, not aware if it is
supported from Xebium though.
Good luck!
Met vriendelijke groeten/Kind Regards,
Cirilo
—
Reply to this email directly or view it on GitHub
#151 (comment).
jguglielmi commentedon Sep 24, 2015
Correction: relative=top. So you need to start at the tip, selectFrame to
the frame, then go back to the top then select a different frame.
On Sep 24, 2015 3:11 PM, "Jaison Guglielmi" jlgugli@gmail.com wrote: