Re: [Sikuli-driver] [Question #667901]: App.close() closes Gmail instead of my app

2018-04-17 Thread William Handrigan
Question #667901 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667901

Status: Answered => Solved

William Handrigan confirmed that the question is solved:
That's got it, I wasn't using the feature quite correctly.

Much obliged!

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #667901]: App.close() closes Gmail instead of my app

2018-04-17 Thread William Handrigan
Question #667901 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667901

William Handrigan confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #667901]: App.close() closes Gmail instead of my app

2018-04-16 Thread William Handrigan
Question #667901 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667901

Status: Answered => Open

William Handrigan is still having a problem:
Yes, that's what I tried and the App.close(path) does nothing.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #667901]: App.close() closes Gmail instead of my app

2018-04-16 Thread William Handrigan
Question #667901 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/667901

Status: Answered => Open

William Handrigan is still having a problem:
That doesn't work. In that instance, the App.close() doesn't seem to do
anything.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #667901]: App.close() closes Gmail instead of my app

2018-04-13 Thread William Handrigan
New question #667901 on Sikuli:
https://answers.launchpad.net/sikuli/+question/667901

I'm using Sikuli to automate testing of my company's software. It is named 
something like "Company Name Software". My scripts have a setup which includes 
the line 'AppName=App("Company Name Software")' and then I can do things like 
'if not AppName.window(): App.open("C:\Path\Company Name Software.exe")' and 
'AppName.close()'

This all works fine...UNLESS I have my company Gmail open and as the current 
tab in chrome. For some reason, this seems to satisfy the requirements for 
being AppName. If I check if the software is open, with it closed but Gmail 
open, the script thinks it is open. If I use 'AppName.close()' it closes Chrome.

The only thing I can think of is the full name of the Gmail tab is 'Inbox - 
myn...@companyname.com - Company Name Inc. Mail' and somehow 'Company Name 
Inc.' is close enough to 'Company Name Software' and the script gets confused 
somehow.

This isn't really a blocker issue, as if I notice what's going on I just change 
the tab in Chrome, but it is a big annoyance.

Ideally, I'm looking for some way to permanently stop this behaviour. Perhaps 
somebody knows of a workaround. I'm also wondering if this is a genuine bug, or 
if perhaps I'm using the App functions incorrectly.

Thoughts?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp