Xebium
Xebium copied to clipboard
Using Selenium IDE / Xebium on a site with frames?
Hi Arjen et al,
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.
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
On 24 sep. 2015, at 19:16, Alex Kogon [email protected] wrote:
Hi Arjen et al,
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.
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
On 24 sep. 2015, at 19:16, Alex Kogon [email protected] wrote:
Hi Arjen et al,
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 https://github.com/xebia/Xebium/issues/151#issuecomment-143020698.
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" [email protected] 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.
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
On 24 sep. 2015, at 19:16, Alex Kogon [email protected] wrote:
Hi Arjen et al,
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 https://github.com/xebia/Xebium/issues/151#issuecomment-143020698.