[Sikuli-driver] [Bug 904602] [NEW] Unable to Find Text from the Region/ Drop Down Menu

2011-12-14 Thread Sachin
Public bug reported:

I have confined the Drop Down Menu to the Region, like Region (x1, y1, x2, y2);
Drop Down Menu Contains List of Virtual Machines with Variable Length and 
Prefixed with Same First 02 Words Like below

Virt Machine General
Virt Machine Delphi
Virt Machine Fortran
.. 

I Want to Click over Item "Virt Machine FORTRAN" . I have Set the Search String 
= "Virt Machine Fortran"  and to be clicked once its found. 
Region.find (String) is Failing with Error "FindFailed: can not find Virt 
Machine Fortran on the screen.
Line ?, in File ?
at org.sikuli.script.Region.handleFindFailed(Region.java:420)

If i cut down the Length of String to be Searched to "Virt Machine"  ,
Its clicking over "Virt Machine General", the behavior I'm not looking
for.

Any Plans to gets this Fix Done in the Next Drop of Sikuli??? I'm aware
about Bug # 710586 , which addresses relative native of find(). The OCR
Functionality for Search Text has to be improved to large extent.

Thank ,
Sachin

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

Title:
  Unable to Find Text from the Region/ Drop Down Menu

Status in Sikuli:
  New

Bug description:
  I have confined the Drop Down Menu to the Region, like Region (x1, y1, x2, 
y2);
  Drop Down Menu Contains List of Virtual Machines with Variable Length and 
Prefixed with Same First 02 Words Like below

  Virt Machine General
  Virt Machine Delphi
  Virt Machine Fortran
  .. 

  I Want to Click over Item "Virt Machine FORTRAN" . I have Set the Search 
String = "Virt Machine Fortran"  and to be clicked once its found. 
  Region.find (String) is Failing with Error "FindFailed: can not find Virt 
Machine Fortran on the screen.
  Line ?, in File ?
at org.sikuli.script.Region.handleFindFailed(Region.java:420)

  If i cut down the Length of String to be Searched to "Virt Machine"  ,
  Its clicking over "Virt Machine General", the behavior I'm not looking
  for.

  Any Plans to gets this Fix Done in the Next Drop of Sikuli??? I'm
  aware about Bug # 710586 , which addresses relative native of find().
  The OCR Functionality for Search Text has to be improved to large
  extent.

  Thank ,
  Sachin

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/904602/+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 #181616]: Reading from EXCEL in MAC Operating System

2011-12-14 Thread Santhosh Motamarry
Question #181616 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181616

Santhosh Motamarry posted a new comment:
hey can please answer my question

-- 
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 #180908]: Mac: Cannot focus Firefox 8.0.1

2011-12-14 Thread Sleek
Question #180908 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180908

Status: Needs information => Solved

Sleek confirmed that the question is solved:
I did not change anything but it started working again.. No idea why..
I'll mark this as solved as its not a Sikuli issue.

-- 
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 #181831]: Selenium and Sikuli conflict??

2011-12-14 Thread Min-cheng HUANG
Question #181831 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181831

Description changed to:
Hello,

Currently, I am running my testing by combining Selenium and Sikuli.
But, recently, I am facing the some problems that seems to be conflict
between Selenium and Sikuli.

Usually, I use Selenium to open browser, direct to other pages, and
close browser. And, I use Sikuli to do the action, such as click or
verify Image.

The problem is that, the whole process seems to be stuck and waiting for
Selenium. For example, I use Sikuli to finish verifying image, and
Selenium is going to close browser. And, the whole browser just stuck
there.

At first, I thought it would be Selenium Issue. But, an interesting
thing happened. When I minimized the browser, the whole process suddenly
continued to work. So, this makes me to think that, maybe, Sikuli is
still controlling something or verifying something.

So, I am wondering whether Sikuli still holds some resources which will
affect the work of Selenium.

Environment:
OS: windows server 2008
Browser: Firefox 8, 
Jar: Selenium server 2.14, Sikuli 1.03

Also, I would like to ask whether Remote Desktop Connection will affect
the work of Sikuli which is running on the remote machine.

Thanks a lot for any kindly help, and sorry for the unclear question.

PS: the same code seems to work fine in the WIN7 environment

-- 
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 #181907]: Delete value from field on Mac

2011-12-14 Thread Robert Gormley
New question #181907 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181907

Saw a posted reply for Windows with the solution being:
type(Key.BACKSPACE) or type(Key.DELETE)

Neither one of these options works for me. I'm simply trying to write a 
clean-up script. The script returns the "system under test" back to a default 
state after the test run. The key for me is that the application is being run 
on a Mac and the two methods above don't seem to work. I have Sikuli focus the 
cursor on the field and the value is highlighted but then the methods above 
don't delete out the existing text. How can I get this work?

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 #181907]: Delete value from field on Mac

2011-12-14 Thread Robert Gormley
Question #181907 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181907

Description changed to:
Saw a posted reply for Windows with the solution being:
type(Key.BACKSPACE) or type(Key.DELETE)

Neither one of these options works for me. I'm simply trying to write a
clean-up script. The script returns the "system under test" back to a
default state after the test run. The key for me is that the application
is being run on a Mac and the two methods above don't seem to work. I
have Sikuli focus the cursor on the field and the value is highlighted
but then the methods above don't delete out the existing text. How can I
get this to work?

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 #181852]: if statements inside for loop

2011-12-14 Thread Calle Rundgren
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852

Calle Rundgren proposed the following answer:
You need to indent the code inside the if-statement.

Example:

if exists("img1.png")
click("img1.png")

This is the proper way to use if-statements in python. Everything who is
indented inside the statement will be included.

-- 
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 #181867]: Which fonts are supported by SIKULI search engine.

2011-12-14 Thread Rado
New question #181867 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181867

I need to search by text not images and I want to know which fonts are 
supported by SIKULI search engine.
Is it possible to add fonts?


-- 
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 #181852]: if statements inside for loop

2011-12-14 Thread Mikeldi Latorre
Question #181852 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181852

Status: Open => Answered

Mikeldi Latorre proposed the following answer:
why don't you try to program in more than one line??? You'll have you
code much more legible:

for entry in myListFixed:
while exists(Pattern("1322634310829.png").similar(0.90).targetOffset(-2,1), 
0):
click("DDCCY.png")
type(Key.DOWN)
type("c", KEY_CTRL)
click("img-1.png")
exists("Coumry.png")
doubleClick("Coumry-1.png")
type("v", KEY_CTRL)
if exists("Gen-1.png"):
click("GenP.png")
click("OpenPage-2.png")
click("Administrato.png")

-- 
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 #181862]: How to write at the end of a Excel sheet

2011-12-14 Thread Prateek Sahu
New question #181862 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181862

I am using xlwt to write in excel sheet.

For this I have created a function.

I am calling this function many times in my program I want that this function 
should first detect last row then it should start writing from next row..


I am using python for scripting
What should I do???

-- 
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 #179989]: App.open failed

2011-12-14 Thread Launchpad Janitor
Question #179989 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179989

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 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 #180302]: How to add settings to the IDE's process environment (os.environ[key])

2011-12-14 Thread Launchpad Janitor
Question #180302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/180302

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 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 #181761]: Tool to get x/y Coordimates of screen

2011-12-14 Thread Mikeldi Latorre
Question #181761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181761

Status: Open => Answered

Mikeldi Latorre proposed the following answer:
I haven't test it, but with a simple search (Google is your Friend) I
found Point Position (http://www.snapfiles.com/get/pointpos.html)

-- 
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 #181761]: Tool to get x/y Coordimates of screen

2011-12-14 Thread Prateek Sahu
Question #181761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181761

Status: Needs information => Open

Prateek Sahu gave more information on the question:
i am using Windows XP.

-- 
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 #181855]: Can we run sikuli script in background

2011-12-14 Thread KRP
New question #181855 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181855

is there ay option to run the sikuli script in background without interupting 
the PC work where sikuli is running?

-- 
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 #181761]: Tool to get x/y Coordimates of screen

2011-12-14 Thread Mikeldi Latorre
Question #181761 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/181761

Status: Open => Needs information

Mikeldi Latorre requested more information:
what OS are you using???

-- 
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 #181852]: if statements inside for loop

2011-12-14 Thread KRP
New question #181852 on Sikuli:
https://answers.launchpad.net/sikuli/+question/181852

When used the if construct inside for loop getting the below error
no viable alternative at input 'if'"

for entry in myListFixed:
  
   while exists(Pattern("1322634310829.png").similar(0.90).targetOffset(-2,1), 
0):(click("DDCCY.png"),
(type(Key.DOWN), type("c", KEY_CTRL)),
click("img-1.png"),
exists("Coumry.png"),
doubleClick("Coumry-1.png"),
type("v", KEY_CTRL),
if exists("Gen-1.png"):(click("GenP.png"),
click("OpenPage-2.png"),
 click("Administrato.png"),), 
)

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