Skip to content

IE operate fail when IE window is not active window #108

Closed

Description

@wingking

selenium2library 1.0.1
1 open a notebook.exe when running scripts,the operation to ie will fail .
if add autoitlibrary keyword :win activate ,it pass.
2 The script opens two IE browser, and need to switch between them, it fails even using "switch browser".

win xp ,IE8
the FF10 work fine.

Activity

  1. emanlove commented on Sep 11, 2012

    @emanlove
    Member

    selenium2library 1.0.1
    1 open a notebook.exe when running scripts,the operation to ie will fail .
    if add autoitlibrary keyword :win activate ,it pass.
    2 The script opens two IE browser, and need to switch between them, it
    fails even using "switch browser".

    win xp ,IE8
    the FF10 work fine.

    I'm not sure I fully understand you problem but there is a known issue
    with the 'Select Window' keyword within the Selenium2Library where IE
    fails switching between two windows. See

    #10

    There is a fix within the repository

    4b36772

    that will appear in the next release. If you need this fix sooner you
    could implement the change in your local code.

    Ed

  2. ombre42 commented on Sep 11, 2012

    @ombre42
    Contributor

    You are reporting on an issue that appears to be with Selenium not Selenium2Library. Check this page out for some info on the challenges with the IE driver, including foreground issues. Remember Selenium2Library is a thin wrapper around Selenium.

  3. emanlove commented on Dec 11, 2012

    @emanlove
    Member

    @wingking Version 1.1 (released 6 Nov. 2012) Selenium2Library has a change which might fix the issue you are seeing. As @ombre42 noted this might be an upstream issue within Selenium and not Selenium2Library. The latest Selenium2Library Developer's Documentation has a tutorial section on how to discern selenium issues from Selenium2Library issues as well as documentation on how to easily test for bugs within selenium only. You might also try upgrading to a newer version of selenium. If you are still experiencing this issue please reopen this ticket.

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