Re: [Sikuli-driver] [Question #693188]: How to include black text in match when the image is masked.

2020-10-02 Thread Padam Jain
Question #693188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693188

Status: Answered => Open

Padam Jain is still having a problem:
Do i need to use mask() function in this case also. Somehow when i tried mask() 
and without mask(), it didnt work.
do you have a sample.

-- 
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 #693188]: How to include black text in match when the image is masked.

2020-10-01 Thread Padam Jain
New question #693188 on Sikuli:
https://answers.launchpad.net/sikuli/+question/693188

Hi,

I am running a test to match masked image. The problem is that in the image i 
have some black color text which i would like to match and then i marked some 
areas of the image which i dont want to match with black boxes.
The problem is that sikulix is also ignoring the black text, considering it is 
also masked area.

Does anyone have any solution to this, where it will match the black text also ?

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


[Sikuli-driver] [Question #691629]: Using repeat in event handle with wait time

2020-07-01 Thread Padam Jain
New question #691629 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691629

Hi,
I am using Siklulix 2.0.4 on windows 10. 
I have registerd an onAppear event for a region. In the event handle i am 
trying to pause the observation for 5 seconds like below :

def changed(event):
print("Region appeared")
region.click(Pattern("Regionimage.png").targetOffset(270,62))
print("Region closed.")
event.repeat(5)

I observed that the event is running all the time, its not paused for 5 
seconds. and because of this my further steps are not executing or they are 
executing with huge delay. 

Any advises, if i am doing something wrong. my concern is that the wait time 
not working fine here.

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 #691343]: Can i post xml file over http using sikulix.

2020-06-18 Thread Padam Jain
Question #691343 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/691343

Status: Answered => Open

Padam Jain is still having a problem:
Getting bunch of errors while using httplib and urlilib.
it would be great help if you have any sample code for how to do it.

I simply want to connect, GET and POST on http server.

-- 
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 #691343]: Can i post xml file over http using sikulix.

2020-06-16 Thread Padam Jain
New question #691343 on Sikuli:
https://answers.launchpad.net/sikuli/+question/691343

Hi ,

I am using sikulix 2.0.1 on windows 10.
I would like to post some xml files on HTTP Server before starting test.

is it possible to do that with sikulix that i can post xml file on HTTP.

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 #688902]: How to store the image of the region, where a find op did not work

2020-02-24 Thread Padam Jain
Question #688902 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688902

Status: Answered => Open

Padam Jain is still having a problem:
Thanks for this useful info. I actully need to save something which is not 
matched. so in my report i can highlight what is not matched.
for example how two images are compared in tools like imagemagic.

-- 
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 #688902]: Can i highlight the region in the image which is not matched during comaprison.

2020-02-22 Thread Padam Jain
Question #688902 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688902

Status: Answered => Open

Padam Jain is still having a problem:
I am sorry if my question was not so clear,
what i would like to do is that i want to save an image which shows me that 
what areas of a picture is not matched while doing find, exists operations.
I am going to use these result images in a report which will show why the 
comparison failed.

-- 
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 #688902]: Can i highlight the region in the image which is not matched during comaprison.

2020-02-21 Thread Padam Jain
New question #688902 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688902

I would like to highlight the area in the region which doesnt match with the 
reference image.
is it possible to do with Sikulix. 
I am using sikulix 2.0.1 version on windows 10 OS.


-- 
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 #688562]: Script execution is ending with error always ?

2020-02-06 Thread Padam Jain
New question #688562 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688562

Hi,

I am running python test scripts in sikulix 2.0.1 on windows 10.
my script execution is always ending in below error :

script [ mainTest ] stopped with error at line --unknown--
2020-02-03 19:43:15  [error] --UnKnown-- ( --UnKnown-- )
--

Any ideas what is happening ? I want to know at the end if all tests resulted 
in success or failure. I am using HTML Test runner to execute unit tests.

-- 
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] [Bug 1859082] Re: Sikuli IDE is stuck while taking screenshot

2020-01-15 Thread Padam Jain
I reinstalled JAVA on my machine and this problem is solved.

** Changed in: sikuli
   Status: New => Invalid

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

Title:
  Sikuli IDE is stuck while taking screenshot

Status in Sikuli:
  Invalid

Bug description:
  Hi,

  I am using Sikuli version 2.0.1 on my windows 10 VM (64 bit).
  java version is 1.8.0_231.

  When i am trying to capture screen, my IDE is getting stuck.

  When i run the existing project, i get below error :
  [error] script [ Project ] stopped with error in line 1
  [error] java.lang.ExceptionInInitializerError ( 
java.lang.ExceptionInInitializerError )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  1: main (   ) click("1574860276791.png")
  [error] --- Traceback --- end --

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

___
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 #687900]: Can i create jar file with multiple python files inside

2020-01-15 Thread Padam Jain
Question #687900 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687900

Status: Open => Solved

Padam Jain confirmed that the question is solved:
I am usking the other way of distributing files in different folders and 
running it from command line.
so i dont need to make jar 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 #687987]: Sikulix script execution is not starting from commandline

2020-01-15 Thread Padam Jain
Question #687987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687987

Status: Answered => Solved

Padam Jain 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 #687987]: Sikulix script execution is not starting from commandline

2020-01-14 Thread Padam Jain
Question #687987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687987

Status: Answered => Open

Padam Jain is still having a problem:
Still same issue :

C:\PICUS>java -jar "C:\PICUS\sikulix.jar" -r -v mainTest
[DEBUG]startUp: IDE: Running: C:\PICUS\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\pdj\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: 
C:\Users\pdj\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: 
C:\Users\pdj\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[197 debug] Options: loadOptions: Options file: 
C:\Users\pdj\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
[209 debug] RunTime:temp folder ok: 
C:\Users\pdj\AppData\Local\Temp\Sikulix_526423691
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\pdj\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.1-2019-11-22_16:54 API
user.home: C:\Users\pdj
user.dir (work dir): C:\PICUS
user.name: pdj
java.io.tmpdir: C:\Users\pdj\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.231-b11 class 52.0 arch 64
app data folder: C:\Users\pdj\AppData\Roaming\Sikulix
executing jar: C:\PICUS\sikulix.jar
*** classpath dump sikulix
  0: file:/C:/PICUS/sikulix.jar
*** classpath dump end
* show environment end
[DEBUG]startUp: IDE: *** leaving start
[39 debug] Sikulix: starting IDE
[1794 debug] RunTime:* final cleanup at System.exit() *
[1865 debug] FileManager: deleteFileOrFolder:
C:\Users\pdj\AppData\Local\Temp\Sikulix_526423691

C:\PICUS>pause

-- 
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 #687987]: Sikulix script execution is not starting from commandline

2020-01-14 Thread Padam Jain
Question #687987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687987

Status: Needs information => Open

Padam Jain gave more information on the question:
Windows 10 64 bit

-- 
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 #687987]: Sikulix script execution is not starting from commandline

2020-01-14 Thread Padam Jain
Question #687987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687987

Padam Jain gave more information on the question:
Full log is here :
C:\PICUS\PICUS.sikulix>java -jar C:\PICUS\PICUS.sikulix\sikulix.jar -r -v 
C:\PICUS\PICUS.sikulix\mainTest
[DEBUG]startUp: IDE: Running: C:\PICUS\PICUS.sikulix\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\pdj\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: 
C:\Users\pdj\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: 
C:\Users\pdj\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[191 debug] Options: loadOptions: Options file: 
C:\Users\pdj\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
[201 debug] RunTime:temp folder ok: 
C:\Users\pdj\AppData\Local\Temp\Sikulix_137095438
Options: *** options dump
Options: testing =
Options: OptionsFile = 
C:\Users\pdj\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
* show environment for 2.0.1-2019-11-22_16:54 API
user.home: C:\Users\pdj
user.dir (work dir): C:\PICUS\PICUS.sikulix
user.name: pdj
java.io.tmpdir: C:\Users\pdj\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.231-b11 class 52.0 arch 64
app data folder: C:\Users\pdj\AppData\Roaming\Sikulix
executing jar: C:\PICUS\PICUS.sikulix\sikulix.jar
*** classpath dump sikulix
  0: file:/C:/PICUS/PICUS.sikulix/sikulix.jar
*** classpath dump end
* show environment end
[DEBUG]startUp: IDE: *** leaving start
[36 debug] Sikulix: starting IDE
[1743 debug] RunTime:* final cleanup at System.exit() *
[1783 debug] FileManager: deleteFileOrFolder:
C:\Users\pdj\AppData\Local\Temp\Sikulix_137095438

C:\PICUS\PICUS.sikulix>pause
Press any key to continue . . .

-- 
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 #687987]: Sikulix script execution is not starting from commandline

2020-01-14 Thread Padam Jain
Question #687987 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687987

Padam Jain gave more information on the question:
More info : No runner added can be seen in log fiels on console.

-- 
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 #687987]: Sikulix script execution is not starting from commandline

2020-01-14 Thread Padam Jain
New question #687987 on Sikuli:
https://answers.launchpad.net/sikuli/+question/687987

Hi,

I am having problems in starting Sikulix script execution when using command 
line.
Sikulix version : 2.0.1
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

Everything is ok when i use IDE but below are the errors when used from command 
line :
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

[DEBUG]startUp: IDE: *** leaving start
[47 debug] Sikulix: starting IDE
[1902 debug] RunTime:* final cleanup at System.exit() *

-- 
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 #687900]: Can i create jar file with multiple python files inside

2020-01-10 Thread Padam Jain
New question #687900 on Sikuli:
https://answers.launchpad.net/sikuli/+question/687900

Hi,

I am preparing a test suite and hence i have multiple python files to test 
different features of my application.
there is a main python file which start test runner.
I would like to run this on my jenkins server so i need a jar file to run it 
from command line.

Is it possible to preapre a jar file with multiple python files inside ?

-- 
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] [Bug 1859082] [NEW] Sikuli IDE is stuck while taking screenshot

2020-01-09 Thread Padam Jain
Public bug reported:

Hi,

I am using Sikuli version 2.0.1 on my windows 10 VM (64 bit).
java version is 1.8.0_231.

When i am trying to capture screen, my IDE is getting stuck.

When i run the existing project, i get below error :
[error] script [ Project ] stopped with error in line 1
[error] java.lang.ExceptionInInitializerError ( 
java.lang.ExceptionInInitializerError )
[error] --- Traceback --- error source first
line: module ( function ) statement 
1: main (   ) click("1574860276791.png")
[error] --- Traceback --- end --

** Affects: sikuli
 Importance: Undecided
 Status: New

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

Title:
  Sikuli IDE is stuck while taking screenshot

Status in Sikuli:
  New

Bug description:
  Hi,

  I am using Sikuli version 2.0.1 on my windows 10 VM (64 bit).
  java version is 1.8.0_231.

  When i am trying to capture screen, my IDE is getting stuck.

  When i run the existing project, i get below error :
  [error] script [ Project ] stopped with error in line 1
  [error] java.lang.ExceptionInInitializerError ( 
java.lang.ExceptionInInitializerError )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  1: main (   ) click("1574860276791.png")
  [error] --- Traceback --- end --

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

___
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 #687309]: HTMLTestRunner : Comparing output from the reference.

2019-12-20 Thread Padam Jain
Question #687309 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/687309

Summary changed to:
HTMLTestRunner : Comparing output from the reference.

Description changed to:
Hi,

I'm using HTMLTestRunner to publish the output in html using sikulix and python.
Is it possible to get the screen shots of both the image i am referring to and 
the image which is captured.

i would like to have a comparison of why the image comparison is failed
in my report.

Regards.

-- 
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 #687309]: HTML output with screen shot

2019-12-19 Thread Padam Jain
New question #687309 on Sikuli:
https://answers.launchpad.net/sikuli/+question/687309

Hi,

I'm using HTMLTestRunner to publish the output in html using sikulix and python.
Is it possible to get the screen shot when the test is failed. 

Regards.

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