[Sikuli-driver] [Question #236173]: Adding Performance Testing Transactions to Scripts

2013-09-23 Thread Selven Govindsamy
New question #236173 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236173

Hi,

We would like to add a transaction to our automation scripts that record the 
time taken from the start to the end of the script. We want to use this for 
basic performance testing.

eg

StartTransaction();
<<>>
EndTransaction();

Output("Time Taken was " +transactiontime())

Thanks in advance!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236173]: Adding Performance Testing Transactions to Scripts

2013-09-23 Thread RaiMan
Question #236173 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236173

Linked to bug: #1229100
https://bugs.launchpad.net/bugs/1229100
"[request] want time profiling support"

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 1229100] [NEW] [request] want time profiling support

2013-09-23 Thread RaiMan
Public bug reported:

Hi,

We would like to add a transaction to our automation scripts that record
the time taken from the start to the end of the script. We want to use
this for basic performance testing.

eg

StartTransaction();
<<>>
EndTransaction();

Output("Time Taken was " +transactiontime())

Thanks in advance!

** 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/1229100

Title:
  [request] want time profiling support

Status in Sikuli:
  New

Bug description:
  Hi,

  We would like to add a transaction to our automation scripts that
  record the time taken from the start to the end of the script. We want
  to use this for basic performance testing.

  eg

  StartTransaction();
  <<>>
  EndTransaction();

  Output("Time Taken was " +transactiontime())

  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1229100/+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


[Sikuli-driver] [Bug 1229100] Re: [request] want time profiling support

2013-09-23 Thread RaiMan
--- version 1.1 will have:

Debug t1 = Debug.startTimer(message)
// more code
long t1Time = t1.end()
//t1Time is elapsed time in milliseconds

--- and will produce log messages:
[profile] TStart: message-text
... more
[profile] TEnd (x.nnn secs): message text

(optionally with time stamp in the profile tag)

This allows to have as many timers in parallel as you need/want.

** Changed in: sikuli
   Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 1.1.0

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

Title:
  [request] want time profiling support

Status in Sikuli:
  Fix Committed

Bug description:
  Hi,

  We would like to add a transaction to our automation scripts that
  record the time taken from the start to the end of the script. We want
  to use this for basic performance testing.

  eg

  StartTransaction();
  <<>>
  EndTransaction();

  Output("Time Taken was " +transactiontime())

  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1229100/+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


[Sikuli-driver] [Bug 1224863] Re: [1.0.1] click() on Region/Location outside screen gives Null pointer exception --- should be more explanatory

2013-09-23 Thread RaiMan
** Changed in: sikuli
   Status: New => Fix Committed

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 1.1.0

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

Title:
  [1.0.1] click() on Region/Location outside screen gives Null pointer
  exception --- should be more explanatory

Status in Sikuli:
  Fix Committed

Bug description:
  1 - Version of SIKULI : X-1.0.1
  2 - Operating system : Windows XP Pro SP3
  3 - Procedure to reproduce the bug: The Null Pointer Exception was raised in 
this line of my code

self.clickFunction_dict[action.lower()](reg)

  where:
self.clickFunction_dict = {"left" : click, "right" : rightClick, 
"double" : doubleClick}
action = "left"
reg is a region object created before.

  This function has worked many thousands times before to crash
  yesterday.

  4 - I recently passed to SIKULI X-1.0.1. I never encountered this
  problem with SIKULI X-1.0-rc3.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1224863/+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


[Sikuli-driver] [Bug 1225871] Re: [request] Want an installer again for Windows instead of using command line setup

2013-09-23 Thread RaiMan
** Changed in: sikuli
   Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
 Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
Milestone: None => 1.1.0

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

Title:
  [request] Want an installer again for Windows instead of using command
  line setup

Status in Sikuli:
  In Progress

Bug description:
  I remmember that when installing Sikuli-X-1.0rc3 (r905), there is a 
executable file named Sikuli-X-1.0rc3 (r905)-win32.exe.
  It's convenient for users of Windows to install Sikuli, especailly for those 
who don't have much knowledge of computer.
  The way using windows command window to install (e.g. Sikuli 1.0.1) makes 
them confused.
  So why not continue to use this way when installing new Sikuli in Windows?
  If it's possible, I think more people will like Sikuli.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1225871/+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 #236173]: Adding Performance Testing Transactions to Scripts

2013-09-23 Thread RaiMan
Question #236173 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236173

Status: Open => Answered

RaiMan proposed the following answer:
see related bug

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #235763]: Status of bug #1225871 changed to 'In Progress' in Sikuli

2013-09-23 Thread RaiMan
Bug #1225871 status changed in Sikuli:

New => In Progress

https://bugs.launchpad.net/sikuli/+bug/1225871
"[request] Want an installer again for Windows instead of using command line 
setup"

This bug is linked to #235763.
[Install] Why not use "install wizard" for installation in Windows
https://answers.launchpad.net/sikuli/+question/235763

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236173]: Status of bug #1229100 changed to 'Fix Committed' in Sikuli

2013-09-23 Thread RaiMan
Bug #1229100 status changed in Sikuli:

New => Fix Committed

https://bugs.launchpad.net/sikuli/+bug/1229100
"[request] want time profiling support"

This bug is linked to #236173.
Adding Performance Testing Transactions to Scripts
https://answers.launchpad.net/sikuli/+question/236173

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: Sikuly 1.01 install hangs

2013-09-23 Thread dinev
New question #236188 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236188

I downloaded the sikuly setup jar file - 17MB(takes few seconds on my 
connection)
I run the install and select IDE installation

A download of 13 MB is stared - it is extremely slow and actually it hangs (at 
one machine at 3% and on another at 24%)

The log says: downloading sikuli-ide-1.0.1.jar  - but no error printed

So I cannot install the latest version. Please provide advice

I have question as well: Can i get all needed jar files instead of downloading 
them run-time. I believe this is much better and reliable way to install the 
tool.

Thanks



-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: Sikuly 1.01 install hangs

2013-09-23 Thread RaiMan
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Status: Open => Answered

RaiMan proposed the following answer:
see faq 2363

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] Sikuli install hangs

2013-09-23 Thread RaiMan
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Summary changed to:
[1.0.1] Sikuli install hangs

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236192]: Find text (OCR) failed after upgrade from 1.0 to 1.0.1

2013-09-23 Thread dinev
New question #236192 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236192

Just upgraded form v1.0 to v1.0.1 and I got error

"FindFailed: FindFailed: Text search currently switched off
  Line 1671, in file Region.java"

I have "Settings.OcrTextSearch = True" set in my tests after upgrade from R3

Did the setting changed?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236188]: [1.0.1] Sikuli install hangs

2013-09-23 Thread dinev
Question #236188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236188

Status: Answered => Solved

dinev confirmed that the question is solved:
Thanks RaiMan,

I was not able to find the faq before posting.(Looking for "installation
hang")

BTW. I waited some time and killed the java processes on both machines
... and repeated the process... done this few times and was able to
install the needed modules. It is a strange issue anyway :-)

N.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236192]: Find text (OCR) failed after upgrade from 1.0 to 1.0.1

2013-09-23 Thread RaiMan
Question #236192 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236192

Status: Open => Needs information

RaiMan requested more information:
Have you run setup with the Tesseract option (option 5)?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236192]: Find text (OCR) failed after upgrade from 1.0 to 1.0.1

2013-09-23 Thread dinev
Question #236192 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236192

Status: Needs information => Open

dinev gave more information on the question:
I tried : It says "Nothing selected" ?!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236192]: Find text (OCR) failed after upgrade from 1.0 to 1.0.1

2013-09-23 Thread RaiMan
Question #236192 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236192

Status: Open => Answered

RaiMan proposed the following answer:
ok, that is still a current inconvenience with setup: it only can be
done together with option 1, 2 or 3.

So sorry: you have to run setup again (preferably with an empty setup
folder)

Since you seem to have problems with the inline download, you should
proceed according to faq 2363.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236196]: Problem with find text

2013-09-23 Thread KaMiNsKy
New question #236196 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236196

from sikuli import *
Settings.OcrTextSearch = True
Settings.OcrTextRead = True
findAll('played')

[error] TextRecognizer: init: tessdata folder not found at 
[error] Region.find(text): text search is now switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] Region.find(text): text search is currently switched off

[error] script [ test ] stopped with error in line 6
[error] FindFailed ( can not find played on the screen. )

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236196]: Problem with find text

2013-09-23 Thread RaiMan
Question #236196 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236196

Status: Open => Answered

RaiMan proposed the following answer:
you must repeat the setup (empty setup folder recommended) and select
option 5 in addition to option 1, 2, 3

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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 #236226]: [1.0.1] how to run Sikuli script without Yellow popup box?

2013-09-23 Thread Andrew
New question #236226 on Sikuli:
https://answers.launchpad.net/sikuli/+question/236226

What is the commandline option for runScript so it doesn't generate the yellow 
pop up box?

I tried "-c" (print all output to commandline) but it still pops the yellow box.

c:\sikulix> runscript -c -r "c:\users\andrew\desktop\set.skl"

Also, is there a way to use runScript in a quite or silent mode, with NO 
console output?

With "-f sikulilogfile" and "-u userlogfile" there should be no need for 
console debug, maybe?

Platform - Windows 7/32, Java 1.7.0 update 40.

Cheers, Andrew | eResearch | University of Western Sydney



-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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