Re: [Sikuli-driver] [Question #678800]: How to do screen comparison using sikuli ide?

2019-02-27 Thread Asheru
Question #678800 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678800

Status: Open => Answered

Asheru proposed the following answer:
So you want to:
- navigate with browser A
-do some actions
-take a screenshot with sikuli
-store it in a constant like resultBrowserA = myScreenshot.png


- do the same thing for browserB
-resultBrowserB = myScreenshot2.png


compare IF resultBrowserA = resultBrowserB ?

IF you want something similar I guess you can use FInder class from
sikuli. See- http://doc.sikuli.org/finder.html

-- 
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 #678869]: type() functions type incorrect characters

2019-03-01 Thread Asheru
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

Status: Open => Answered

Asheru proposed the following answer:
Try with:

 paste("yourText")

-- 
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 #678800]: How to do screen comparison using sikuli ide?

2019-02-28 Thread Asheru
Question #678800 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678800

Status: Open => Answered

Asheru proposed the following answer:
Personally I don't know exactly but I don't think this is possible from
sikuli. I might be wrong still.

-- 
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 #678542]: Set region inside region

2019-02-13 Thread Asheru
Question #678542 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678542

Status: Open => Answered

Asheru proposed the following answer:
Maybe I don't understand exactly the need for this but why isn't one
region enough? I mean you define the region needed from the screen and
then do your actions in it. You can find in the doc -
http://doc.sikuli.org/region.html, that class Region has some methods
like nearby(),inside(),above(),below() etc. Maybe those can answer your
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


[Sikuli-driver] [Question #678267]: Is is possible to use keyboard actions or to make click on UAC dialogs?

2019-02-01 Thread Asheru
New question #678267 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678267

It is possible to use keybaord actions or to click in a UAC. I want to install 
an app but it shows an pop-up where you have to accept licence agrrement and to 
"next" clicks

-- 
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 #678267]: Is is possible to use keyboard actions or to make click on UAC dialogs?

2019-02-04 Thread Asheru
Question #678267 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678267

Asheru posted a new comment:
I was trying to install an application. I solved it by adding some
parameters to a command. You also need to run the script as an admin.
This combination, run the script as admin + the right arguments for the
install command will not show the UAC. This is the command:

setup.exe /S /v"/qb! /norestart" but it might be particular for my app.


HOWEVER, it seems that there is a workaround for clicking on UAC with
sikuli.

Please see here -> https://stackoverflow.com/questions/42636098/sikulix-
jython-uac-automation

-- 
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 #680261]: Display expected image when test fails in HTML test report

2019-04-15 Thread Asheru
New question #680261 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680261

Hello,

Right now in case of a test failure we show the screenshot in the HtmlTest 
report. Here is a snippet for this:

runner = HagerHtmlTestRunner.HagerHtmlTestRunner(
stream=output, title=HagercadConfig.HAGERCAD_HTML_REPORT_TITLE 
+ " (Language: " + HagercadConfig.HAGERCAD_LANGUAGE_CODE + " ; OS: Win" + 
HagercadConfig.RUNNING_OS_VERSION + ")", 
description=HagercadConfig.HAGERCAD_HTML_REPORT_DESCRIPTION,
dirTestScreenshots=HagercadConfig.HAGERCAD_TEST_REPORTS_FOLDER
)

Is it possible to also display the image that is expected ( so the one that I'm 
using in a constant ) besides the screenshot taken in case of a failure? If it 
is , what's the approach?

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 #680261]: Display expected image when test fails in HTML test report

2019-04-15 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
Yeah, i;m using a custom HTMLTestRunner.

Thanks for the answer, so it is possible. At least I know that investing
time in it will produce the desired result.

-- 
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 #680261]: Display expected image when test fails in HTML test report

2019-04-15 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
One question though, how do I get the image that was not found? I mean
from where do I get the current Findfailed image for example?

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

2019-06-03 Thread Asheru
Question #680996 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680996

Asheru posted a new comment:
@TestMechanic

Hello,

I think the second approach would result also in 80 separated rows in
the html test report but I have to try.

Thanks for answering.

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

2019-05-24 Thread Asheru
Question #680996 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680996

Asheru posted a new comment:
This above would be a test for example

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

2019-05-24 Thread Asheru
Question #680996 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680996

Asheru posted a new comment:
But i have built the script so tests are not hardcoded. They are read
from a csv and there they can be defined depending on the needs.

-- 
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 #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
New question #681984 on Sikuli:
https://answers.launchpad.net/sikuli/+question/681984

Hello,

I'm wondering if Sikuli could possibly change some system environment variables 
at runtime, like windows path for example or others?

While running some tests we are missing some dependencies needed by our app 
that is tested. Those are relying on some system variables and we want to 
eliminate this possibility.

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 #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
Question #681984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681984

Asheru posted a new comment:
Ok I see.

The problem we are having is that we have an app that we are testing a
desktop app with sikuli, TestApp let's say.

One of the modules that this app uses a module called 'pdftk' and this
relies on the presence of it's path in the windows path. While executing
the test in a VM at the point where this module is needed it says that
the path to the 'pdftk' is not found.

--the lib path is added to the end of the Windows path--

Then this could explain why it's not working and the path it's not
found. It's because before starting the script the lib path is added to
windows path.

Could we somehow simply avoid this behaviour in our script easly? Or
it's mandatory for sikulix to run like that

-- 
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 #681984]: Could SIkuli change some environment variables at runtine?

2019-07-12 Thread Asheru
Question #681984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681984

Asheru posted a new comment:
Ok thanks.
But while executing a normal script it does not change anything related to 
that, right?

-- 
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 #681984]: Could SIkuli change some environment variables at runtine?

2019-07-15 Thread Asheru
Question #681984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/681984

Asheru posted a new comment:
Sorry, my bad. I was not clear enough.

To be more specific, the problem is:

We are testing an app(MyTestApp let's call it) and we have a large suite
of tests built with sikulix+python. This are executed on two virtual
machines from TFS.

'MyTestApp' uses a module called 'pdftk' when you open a pdf doc from
this app. The app is adding at installation to windows Path this :
C:\Program Files (x86)\PDFtk\bin, in order for this module to work.

On the VM when sikuli script is trying to open a PDF file the path to PDFTK is 
not found anymore. 
It works locally, no problem. 

I know it should not have any impact no matter how many things you have
in windows PATH, but could it possibly be something from sikuli like
changing something in path variable or something similar that could
affect other paths already present there?

-- 
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 #680261]: Display expected image when test fails in HTML test report

2019-04-16 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
I see. The thing is that I already have a customized framework already
and a pretty straight (not flexbile) architecture for my scripts. I was
thinking that maybe there is something like getLastUsedImage to be
easier for me. I won't invest too much time in it if only the wrapper
could do 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


[Sikuli-driver] [Question #680419]: Sikuli actions or size limit?

2019-04-24 Thread Asheru
New question #680419 on Sikuli:
https://answers.launchpad.net/sikuli/+question/680419

Hello,

Is there a size limit for sikuli script?

Or for example a limit regarding the actions in one test?

I have one test that does a few hundred (400+ actions) . At some point it stops 
while running it on the virtual machine?

I was wondering if one of these above has a limit.

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 #680419]: Sikuli actions or size limit?

2019-04-24 Thread Asheru
Question #680419 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680419

Status: Answered => Solved

Asheru 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 #680261]: Display expected image when test fails in HTML test report --- not a feature

2019-08-21 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
Hello,

Coming back to this. So there is no possibility to link the image that
was not found in the report besides modifying the FindFailed.class at
the Java level? No other 'chances' on sikulix level?

So in case of "FindFailed: expected_image.png" a link for it inside the
report.

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 #680261]: Display expected image when test fails in HTML test report --- not a feature

2019-08-29 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
Thanks for info.

I will give it a try. So basically I can add this anywhere but I have to
call it in the file that handles the HTMLReport, right?

-- 
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 #680261]: Display expected image when test fails in HTML test report --- not a feature

2019-08-26 Thread Asheru
Question #680261 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/680261

Asheru posted a new comment:
No problem.

I can't figure out exactly inside the HtmlReport module how can I get
the image that is not found. From here I can do it but I can't figure
out 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


[Sikuli-driver] [Question #684580]: [1.1.4] Running in headless mode with VNC server

2019-10-02 Thread Asheru
New question #684580 on Sikuli:
https://answers.launchpad.net/sikuli/+question/684580

Hello,

I am updating to 1.1.4 right now. On VMs we are using VNC server to run 
headless. 

Normally there should be no problems running 1.1.4 in headless mode, right?

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


Re: [Sikuli-driver] [Question #684580]: [1.1.4] Running in headless mode with VNC server

2019-10-02 Thread Asheru
Question #684580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684580

Asheru posted a new comment:
Sorry, I have just seen this for 1.1.4

"-- Real Screen needed

The system running SikuliX scripts or any apps using SikuliX features
must have a real screen connected. So called headless systems are not
supported (Java restriction). While using SikuliX features, the screen
should not be in sleep mode nor show a screen saver. It must be in a
state, that a user could work with the system and watch on the screen
what is going on."

The question is now, there is no posibility to run in headless 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


[Sikuli-driver] [Question #685255]: Sikuli execution stuck on VM with old CPU

2019-10-18 Thread Asheru
New question #685255 on Sikuli:
https://answers.launchpad.net/sikuli/+question/685255

Hello,

We are running the tests built with sikuliX inside some VMs through TFS. We 
have a computer now that we want to use for development purposes only. We just 
copied the VMs here but the build is stuck after it executes the command for 
starting the sikulix tests.

I was wondering if it could be the fact that the CPU is old (2009) even tough 
is an I7.

We did this to other computers and it worked fine.

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


Re: [Sikuli-driver] [Question #685255]: Sikuli execution stuck on VM with old CPU

2019-10-24 Thread Asheru
Question #685255 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/685255

Asheru posted a new comment:
it is 1.1.3 since we are using headless mode, we are using this still

It works manually no problems, but started from TFS it's stuck here. I
used -verbose while running the script to see the logs from the jar:

Unloading class HagercadConfig$py 0x0001008fd828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x000100880028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007d7028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadRegionsDe$py 
0x0001007d7828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001008fd028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadRegions$py 
0x000100900028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadStringsDe$py 
0x0001007e3828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007e3028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadStrings$py 
0x0001007e2828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadConfig$py 
0x0001007e0828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadLogger$py 
0x0001007da828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe2$py 
0x0001007e4028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe1$py 
0x0001007dd828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImagesDe$py 
0x0001007e5828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadImages$py 
0x0001007e4828]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadLogger$py 
0x0001007e8028]
2019-10-23T15:55:41.8364280Z [Unloading class HagercadUtilities$py 
0x0001007d9028]
2019-10-23T15:55:43.7368080Z [Loaded HagercadImagesDe2$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadLogger$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.7369079Z [Loaded HagercadUtilities$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadImages$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadConfig$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8299265Z [Loaded HagercadImagesDe$py from 
file:/C:/Sikulix/sikulix.jar]
2019-10-23T15:55:46.8829371Z [Loaded HagercadImagesDe1$py from 
file:/C:/Sikulix/sikulix.jar]

It stays stuck here forever.

-- 
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 #684947]: running multiple tests in paralel

2019-10-11 Thread Asheru
New question #684947 on Sikuli:
https://answers.launchpad.net/sikuli/+question/684947

Hello,

We have a few hundred tests created with sikuli. Running all of them takes 
around 20 hours. 

I was wondering if it's possible to run 2 sessions in parallel on the same 
machine, like 2 threads maybe. I know it's needs a real screen to run the tests 
but maybe there is a workaround somehow. If not we will use 2 computers for 
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 #684947]: running multiple tests in paralel --- not possible

2019-10-11 Thread Asheru
Question #684947 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684947

Asheru posted a new comment:
Ok thanks 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


Re: [Sikuli-driver] [Question #684580]: [1.1.4] Running in headless mode with VNC server

2019-10-03 Thread Asheru
Question #684580 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/684580

Asheru posted a new comment:
OK, thank you.

We will use 1.1.3 still until there is a stable use for headless mode in
1.1.4 since we can only use with the whole configuration the headless
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


[Sikuli-driver] [Question #688334]: Is the last version of Sikulix able to run in headless mode?

2020-01-29 Thread Asheru
New question #688334 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688334

Hello,

Is Sikuli 2.x.x supporting headless mode? We are using Sikuli for a huge amout 
of tests since it's the only way of checking some things but we execute the 
tests on VMs that are running in headless mode and we are tied with 1.1.3 for 
the moment.



-- 
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 #688334]: Is the last version of Sikulix able to run in headless mode?

2020-01-30 Thread Asheru
Question #688334 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688334

Asheru posted a new comment:
"Do you touch any features targeting a screen (Region.find ..., click, type).
If yes, then the above is the only solution." 
-> Yes we are using those features.

"2.0.x refuses to run in headless mode.
You need some fake screen (e.g. xvfb or similar)"
-> Now I think we have thightVNC with mirage driver. I think is related to 
that. Not sure because I did not create the environment.

It should work then. I will comeback here if I will encounter something.

-- 
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 #688863]: Is it possible to update HtmlTestRunner report after each test?

2020-02-18 Thread Asheru
New question #688863 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688863

Hello,

So I am using HTMLTestRunner to generate the report. For example if i have 5 
tests the report will be generated after those 5 tests will execute.

Is it possible to update the report after each test with sikuliX? 

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 #688863]: Is it possible to update HtmlTestRunner report after each test?

2020-02-19 Thread Asheru
Question #688863 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688863

Asheru posted a new comment:
Yeah but the problem is that we run like 80 to 100 tests at once on a VM
through TFS so I was thinking it might not be possible but I decided to
ask.

-- 
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 #688872]: Get build number of .exe file

2020-02-19 Thread Asheru
New question #688872 on Sikuli:
https://answers.launchpad.net/sikuli/+question/688872

Hello,

I want to know if it's possible to get the build number of an .exe file.

I have found some examples but they require win32com package and from what I 
have found it's not working with sikuliX since it's not written fully in python.

Is there any other way?

-- 
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 #688872]: Get build number of .exe file

2020-02-20 Thread Asheru
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872

Asheru posted a new comment:
 **theproc = subprocess.Popen(path_to_GetSetupBuildNumber.py, shell =
True,stdout=subprocess.PIPE, stderr=subprocess.STDOUT)

-- 
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 #688872]: Get build number of .exe file

2020-02-20 Thread Asheru
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872

Asheru posted a new comment:
I found a solution for this. Not the best but simple and quick (works
for me).

So I have a script named "GetSetupBuildNumber.py", that uses win32
package wich normally would not work executed from a sikuli script for
printing the build number. Here is the code:


--from win32api import GetFileVersionInfo, LOWORD, HIWORD

def get_version_number (filename):
  info = GetFileVersionInfo (filename, "\\")
  ms = info['FileVersionMS']
  ls = info['FileVersionLS']
  return HIWORD (ms), LOWORD (ms), HIWORD (ls), LOWORD (ls)

if __name__ == '__main__':
  import os
  filename = os.environ["COMSPEC"]
  print (".".join ([str (i) for i in get_version_number (path_to_file)]))--


Then inside the sikuli script I have a function that looks like this:

--def get_build_number_from_exe_file():
theproc = subprocess.Popen(path_to_file, shell = 
True,stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
tmp = theproc.stdout.read()
theproc.communicate() 
print tmp --


So what It does, it executes a python script that prints the build number in 
the console. Then it is read from the console and stored in 'tmp' variable.

-- 
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 #688872]: Get build number of .exe file

2020-02-20 Thread Asheru
Question #688872 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688872

Asheru posted a new comment:
@Manfred Hampl
Hmm, i wanted to avoid the use of images for this.


@RaiMan
Ok then, it seems I have to to some research.

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