8000 Using Selenium IDE / Xebium on a site with frames? · Issue #151 · xebia/Xebium · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.
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

Open

Description

@alexkogon

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?

Activity

  1. cwortel commented on Sep 24, 2015

    @cwortel
    Contributor

    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 notifications@github.com 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.

  2. jguglielmi commented on Sep 24, 2015

    @jguglielmi

    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 notifications@github.com 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
    #151 (comment).

  3. jguglielmi commented on Sep 24, 2015

    @jguglielmi

    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.

    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 notifications@github.com 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
    #151 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0