Re: [Sikuli-driver] [Question #680993]: How to disable Sikuli Logging on Java?

2019-05-22 Thread Bryan
Question #680993 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680993

Bryan 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 #680993]: How to disable Sikuli Logging on Java?

2019-05-22 Thread Bryan
Question #680993 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680993

Status: Answered => Solved

Bryan confirmed that the question is solved:
Thank you for the reply RaiMan. the snippet that you sent above does not work 
for me. Tried to delete the slf4j binder class on the jar and it works now.
BTW, I'm using logback classic.

Thank you!

-- 
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 #681015]: [1.1.4] how to use the App.open() when i use

2019-05-22 Thread wu
New question #681015 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681015

i  use sikuli 1.1.4 and now i already open the chrome and it is the new page 
and i run my code in sikuli 
my code:
 chrome = App(r'my app')
chrome.open()

the sikuli will use the already open chrome and will not open a new chrome to 
use 
but in the 1.1.3 the code will can use and open the new chrome ,is 1.1.4 open 
app method have change?
or that is normal situation


-- 
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 #680983]: Importing username and password from list

2019-05-22 Thread Justin
Question #680983 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680983

Status: Needs information => Open

Justin gave more information on the question:
Correct, these are all stored in C:\file.txt and the format is as
follows in the original post.

-- 
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 #680993]: How to disable Sikuli Logging on Java?

2019-05-22 Thread RaiMan
Question #680993 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680993

Status: Open => Answered

RaiMan proposed the following answer:
Debug.off() // any debugging messages
Settings.ActionLogs = false; // messages from click, ...
Settings.InfoLogs = false; //other information messages

... but I doubt, that it has something to do with the SikuliX own
logging implementation, which is completely independent of any Java
logging concept.

What logging are you using?

Have a look at the maven deps of sikulixapi.jar, something like slf4j
might be the problem.

-- 
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 #680999]: sikulix robot framework take text from a picture

2019-05-22 Thread Thuraisingam
New question #680999 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680999

i have a sikuli script, and when i have a picture in database i want the line, 
but i don't know how to do

-- 
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 #680996]: sikulixX + HtmlTestRunner - continue on assert False

2019-05-22 Thread Asheru
New question #680996 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680996

Hello,

I have a script that automates a desktop app. I have the following issue:

So I want to add 80 products and check if they are added. For each one I need 
to search for it's name ,add it, check if it's added, delete it then search for 
other ones.

I have  build a generic method that does this, and it requires 3 parameters: 
nameOfProduct,procutAddImage,checkProductAddedImage. So far so good. It looks 
something like this:

def addProduct(param1,param2,param3):
  try:
 #do required actions
  except:
   loggerLogMessageThatProductIsNotadded
   assert False

For all the 80 products I'm calling this method. Now in case product no.43 for 
ex. is not added I want the script to continue. If i'm not using 'assert False' 
this will work but in the report the test is shown as passed (logs are added).

I want to know if there is possible to display the test as failed if one or 
more products are not added and to go on with the execution.

Thanks.





-- 
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 #680991]: os.startfile() doesn't work

2019-05-22 Thread Bharatendu SOUMIL
Question #680991 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680991

Status: Answered => Open

Bharatendu SOUMIL is still having a problem:
Cool. thanks for the prompt respone. Also, is there a reason for
App.open not working for certain apps, because for the above mentioned
app it opens if i write a normal .py file and run it with the
startfile() command

-- 
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 #680993]: How to disable Sikuli Logging on Java?

2019-05-22 Thread Bryan
New question #680993 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680993

I'm developing Sikuli on Java. Sikuli overrides the logger I'm using on my 
framework. How can I disable it? Thanks!

-- 
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 #680983]: Importing username and password from list

2019-05-22 Thread RaiMan
Question #680983 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680983

Status: Open => Needs information

RaiMan requested more information:
how and where are these values stored?

as a file?

-- 
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 #680991]: os.startfile() doesn't work

2019-05-22 Thread RaiMan
Question #680991 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680991

Status: Open => Answered

RaiMan proposed the following answer:
os.startfile is not available in Python language level 2.7 (only in 3+)

SikuliX uses Jython with Python language level 2.7

-- 
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 #680991]: os.startfile() doesn't work

2019-05-22 Thread Bharatendu SOUMIL
New question #680991 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680991

Sometimes App.open () doesn't work. As a workaround i like using the python 
command:
os.startfile('Link to .exe')but for some reason it throws the following 
error:

[error] Error caused by: Traceback (most recent call last): File 
"D:\Academic_Software\SikuliX\adminRights.sikuli\adminRights.py", line 20, in 
 os.startfile("C:\\Program 
Files\\4tiitoo\\NUIA\\Runtime\\bin\\NUIATrayMenu.exe") AttributeError: 'module' 
object has no attribute 'startfile' .

 ( I also did import os in the first line)

Any leads on this would be really appreciated

Kind regards,
Soumil

-- 
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 #680959]: How to configure the environment when excute an executable programe with sikulixapi?

2019-05-22 Thread RaiMan
Question #680959 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680959

Status: Open => Answered

RaiMan proposed the following answer:
Sorry, but that is the "benefit" of Linux systems.

I do not have the time, to prepare a pack for every linux flavour.
Since I am not using Linux everyday and do not have much experience with the 
Linux packaging variants, it was hard enough for me to find out, how to achieve 
that at least on one system, which stands for the Debian flavour.

-- 
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