Re: [Sikuli-driver] [Question #169864]: Maximize the browser window?

2018-02-01 Thread Rajagopal
Question #169864 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/169864

Rajagopal posted a new comment:
Hello,

I am using the below command to open the Chrome  in incognito and
maximized and got the below exception

os.popen("C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
-incognito" + "--start-maximized")

Exception:
[error] script [ wwe ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File 
"C:\Genesys\Sikuli\wwe.sikuli\wwe.py", line 13, in  
wait("1517483108515.png",5) File 
"C:\Users\rarumuga\Downloads\sikulix.jar\Lib\sikuli\Sikuli.py", line 65, in 
wait Line 2759, in file Region.java 
at org.sikuli.script.Region.wait(Region.java:2759)
at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
org.sikuli.script.FindFailed: FindFailed: 1517483108515.png: (153x38) seen at 
(759, 144) with 0.90 in S(0)[0,0 1920x1080] E:Y, T:3.0 Line 2759, in file 
Region.java

-- 
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 #663982]: can not select image when taking screenshot in sikuli

2018-02-01 Thread Elise Wang
New question #663982 on Sikuli:
https://answers.launchpad.net/sikuli/+question/663982

I cannot select any image when I want to take a screenshot in sikuli. I drag 
the mouse with left -lick but there's nothing selected on the screen. It keeps 
in the "select a image" status. Could help me to solve this?

-- 
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 #662065]: Failed test cases are displayed under Error on HTML test Report

2018-02-01 Thread Hina
Question #662065 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662065

Hina posted a new comment:
Thanks RaiMan, It's solved my 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


Re: [Sikuli-driver] [Question #662065]: Failed test cases are displayed under Error on HTML test Report

2018-02-01 Thread Hina
Question #662065 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662065

Status: Answered => Solved

Hina 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 #663954]: maze runner the death cure

2018-02-01 Thread Qazi Omair Ahmed
Question #663954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663954

Qazi Omair Ahmed posted a new comment:
last warning dont ask spam questions or else you will be banned

-- 
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 #663953]: maze runner the death cure

2018-02-01 Thread Qazi Omair Ahmed
Question #663953 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663953

Qazi Omair Ahmed posted a new comment:
please don't ask spam questions or else you will be banned

-- 
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 #663952]: program agains relative time --- a suggestion

2018-02-01 Thread RaiMan
Question #663952 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663952

Summary changed to:
program agains relative time --- a suggestion

Description changed to:
 a simple solution based on seconds

waitUntilStart = time.time()
def waitUntil(nextTime):
 global waitUntilStart
 until = waitUntilStart + nextTime
 while time.time() < until:
 wait(0.1) # the granularity

waitUntilStart = time.time()
waitUntil(2.0); click();
waitUntil(2.8); click();
waitUntil(4.8); click();

-

I'm using sikuli to script a tutorial; love it!

And it would be even greater to use a master time accross the program,
instead of only wait commands.

so instead of

wait(1); click();
wait(0.5); click();
wait(2); click();

be able to 
[start time from 0 when start to run a script]

time(0:02.00); click();
time(0:02.50); click();
time(0:04.50); click();

Is something like that possible? 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 #663952]: program agains relative time

2018-02-01 Thread RaiMan
Question #663952 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663952

RaiMan posted a new comment:
LOL --- thanks for the politeness saying "... was a typ-o" ;-)

all the best.

-- 
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 #663952]: program agains relative time

2018-02-01 Thread Bas
Question #663952 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663952

Bas posted a new comment:
With the minor tweak 
If other people might use it, think there was a type-o

waitUntilStart = time.time()
def waitUntil(nextTime):
 global waitUntilStart
 until = waitUntilStart + nextTime
 while time.time() < until:
 wait(0.1) # the granularity
# waitUntilStart = time.time()  This needs to be deleted; otherwise it 
starts from 0 and behaves like regular wait

waitUntilStart = time.time()
waitUntil(2.0); click();
waitUntil(2.8); click();
waitUntil(4.8); click();

Works like a charm! Thanks again.

-- 
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 #663952]: program agains relative time

2018-02-01 Thread Bas
Question #663952 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663952

Status: Answered => Solved

Bas confirmed that the question is solved:
Thanks RainMan, I'll give this a try. 
(think I have been searching for the incorrect terminology) 
Have a good day!

-- 
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 #663954]: maze runner the death cure

2018-02-01 Thread RaiMan
Question #663954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663954

Status: Open => Invalid

RaiMan changed the question status:
spam

-- 
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 #663953]: maze runner the death cure

2018-02-01 Thread RaiMan
Question #663953 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663953

Status: Open => Invalid

RaiMan changed the question status:
spam

-- 
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 #663952]: program agains relative time

2018-02-01 Thread RaiMan
Question #663952 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663952

Status: Open => Answered

RaiMan proposed the following answer:
just an example using seconds

waitUntilStart = time.time()
def waitUntil(nextTime):
 global waitUntilStart
 until = waitUntilStart + nextTime
 while time.time() < until:
 wait(0.1) # the granularity
 waitUntilStart = time.time()

waitUntilStart = time.time()
waitUntil(2.0); click();
waitUntil(2.8); click();
waitUntil(4.8); click();

... but are you aware of the feature guide (use SikuliX version 1.1.2).
It allows some interaction, but is not well documented (you have to look into 
code, to get feeling about the features.

-- 
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 #663954]: maze runner the death cure

2018-02-01 Thread xebiyibiti
New question #663954 on Sikuli:
https://answers.launchpad.net/sikuli/+question/663954

https://finalrespawn.com/threads/123movies-watch-maze-runner-the-death-cure-2018-online-hd-movie-with-english-subtitle-stream.62902/



https://finalrespawn.com/threads/0123pitlock-watch-maze-runner-the-death-cure-2018-online-hd-movie-with-english-subtitle-stream.62926/




https://finalrespawn.com/threads/filmlock-watch-maze-runner-the-death-cure-2018-online-hd-movie-with-english-subtitle-stream.62938/

-- 
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 #663952]: program agains relative time

2018-02-01 Thread Bas
New question #663952 on Sikuli:
https://answers.launchpad.net/sikuli/+question/663952

I'm using sikuli to script a tutorial; love it!

And it would be even greater to use a master time accross the program, instead 
of only wait commands.

so instead of 

wait(1); click();
wait(0.5); click();
wait(2); click();

be able to 
[start time from 0 when start to run a script]

time(0:02.00); click();
time(0:02.50); click();
time(0:04.50); click();

Is something like that possible? 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 #663374]: Unable to call SikuliX 1.1.2 script by import function

2018-02-01 Thread RaiMan
Question #663374 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663374

Status: Open => Answered

RaiMan proposed the following answer:
No, you still do not understand the SikuliX import concept :-(

When talking about a SikuliX script, THE FOLDER of the script is meant!

so a setup might be:

-- someFolder
   -- main.sikuli
   -- sub.sikuli

in this setup

# main.sikuli
import sub
sub.test()

# sub.sikuli
from sikuli import *
def test():
  pass # do something

... no need for any path's or addImportPath

BTW: (basic Python knowledge ;-) backslashes in strings must be doubled or the 
string must be mentioned as raw string
"C:\\Users\\Sami\\Scripts\\Import.sikuli"
or
r"C:\Users\Sami\Scripts\Import.sikuli"

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 #663653]: Sikulix Crash

2018-02-01 Thread Jeff_Vallis
Question #663653 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663653

Status: Answered => Solved

Jeff_Vallis 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 #662065]: Failed test cases are displayed under Error on HTML test Report

2018-02-01 Thread RaiMan
Question #662065 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/662065

Status: Open => Answered

RaiMan proposed the following answer:
The snippet in comment #4 is not a unittest setup.

Apparently you are using import in Login_Main.sikuli to run this
snippet.

Using assert in a non-unittest setup throws AssertionError (catched by
unittest in a unittest setup), so you get the traceback.

You have to decide, to either use unitttesting or your own setup without
unittesting.

See the other question, where someone else brought himself on the wrong way and 
my suggestion how to proceed:
https://answers.launchpad.net/sikuli/+question/663899

BTW: do not use import to run other snippets, that is not according to
the design of Python.

your case:

# LoginTest.sikuli
from sikuli import *
import IL #importing image library
import Env_Var #importing environment variable

def loginTest():
  try:
  wait("Login",15)#wait for login screen
  #enter email ID
  type(find("Email").below(25), "Test ID")
  #enter password
  type(find("Password").below(30),"TestPassword")
  click(find("//ogin")) #FindFailed exception should occur
  return True
  #catch exception and print error.
  except FindFailed, err:
print err
return False

... and then in main:
import LoginTest
assert LoginTest 

But as mentioned in the other question:
Use RobotFrameWork or revise your setup, to get it designed according to the 
rules of unittesting.

-- 
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 #663137]: Currently i am trying to integrate Sikuli tool with RUBY, But I am getting lots of issue 1. Jirb always thrown some class error while open jirb 2. I dont know h

2018-02-01 Thread Launchpad Janitor
Question #663137 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663137

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #663938]: Unable to install sikuli on Mac OS 10.13.2 with java 9 --- workaround

2018-02-01 Thread RaiMan
Question #663938 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663938

Description changed to:
- workaround ---
you might try with 1.1.2 nightly (experimental fixes for Java 9, no guarantee)

as mentioned on the download page for 1.1.1
https://launchpad.net/sikuli/sikulix/1.1.1

Java 9 not supported.

The best is to use Java 8 for SikuliX.

Remove Java 9 if you do not really need it.

If you need Java 9 for other things, run the SikuliX stuff from a Terminal, 
after having said:
export JAVA_HOME=`/usr/libexex/java_home -v 1.8`

--

Unable to setup Sikuli

Mac OS 10.13.2
sikulixsetup-1.1.1.jar

$ java -jar sikulixsetup-1.1.1.jar

[error] RunTimeINIT:  *** terminating: Java version must be 1.7 or
later!


$ java --version
java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

-- 
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 #663938]: Unable to install sikuli on Mac OS 10.13.2 with java 9 --- workaround

2018-02-01 Thread RaiMan
Question #663938 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663938

Summary changed to:
Unable to install sikuli on Mac OS 10.13.2  with java 9 --- workaround

-- 
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 #663938]: Unable to install sikuli on Mac OS 10.13.2 with java 9

2018-02-01 Thread RaiMan
Question #663938 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/663938

Status: Open => Answered

RaiMan proposed the following answer:
you might try with 1.1.2 nightly (experimental fixes for Java 9, no
guarantee)

as mentioned on the download page for 1.1.1
https://launchpad.net/sikuli/sikulix/1.1.1

Java 9 not supported.

The best is to use Java 8 for SikuliX.

Remove Java 9 if you do not really need it.

If you need Java 9 for other things, run the SikuliX stuff from a Terminal, 
after having said:
export JAVA_HOME=`/usr/libexex/java_home -v 1.8`

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