← Back to team overview

sikuli-driver team mailing list archive

[Bug 1530310] [NEW] [request] App.open() should be able to open a 'duplicate' app

 

Public bug reported:

Hello.

Sorry if this has been asked (I've searched best I can), but there seems
to be a difference between 1.0.1 and 1.1.0 and I'm not sure if it's
intentional or not.

In 1.0.1, if (for example) Internet Explorer is already open, I can do:

String command = "\"C:/Program Files/Internet Explorer/iexplore.exe\" \"google.com\"";
App thisApp = new App(command);
thisApp = thisApp.open();

... and it will open a totally new IE window, which is what I want.

However, in 1.1.0, it will try to grab the existing IE window instead.
This is the same for any app (tested with notepad.exe, etc).

Is this intentional?  If so, how can I avoid it and open different
instances of the same app?

Thanks,
Marc

** Affects: sikuli
     Importance: Medium
     Assignee: RaiMan (raimund-hocke)
         Status: In Progress

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 2.0.0

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1530310

Title:
  [request] App.open() should be able to open a 'duplicate' app

Status in Sikuli:
  In Progress

Bug description:
  Hello.

  Sorry if this has been asked (I've searched best I can), but there
  seems to be a difference between 1.0.1 and 1.1.0 and I'm not sure if
  it's intentional or not.

  In 1.0.1, if (for example) Internet Explorer is already open, I can
  do:

  String command = "\"C:/Program Files/Internet Explorer/iexplore.exe\" \"google.com\"";
  App thisApp = new App(command);
  thisApp = thisApp.open();

  ... and it will open a totally new IE window, which is what I want.

  However, in 1.1.0, it will try to grab the existing IE window instead.
  This is the same for any app (tested with notepad.exe, etc).

  Is this intentional?  If so, how can I avoid it and open different
  instances of the same app?

  Thanks,
  Marc

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1530310/+subscriptions


Follow ups