Re: [Sikuli-driver] [Question #690513]: How can I schedule and monitor my sikulix projects

2020-05-06 Thread Jennifer
Question #690513 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690513

Jennifer posted a new comment:
Thanks for your answer @mlawowski. It looks like an interesting product.

-- 
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 #690513]: How can I schedule and monitor my sikulix projects

2020-05-06 Thread Jennifer
New question #690513 on Sikuli:
https://answers.launchpad.net/sikuli/+question/690513

I want to run and monitor my project I prepared with Sikulix on different 
computers. How can I do 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 #306373]: how to map net drive to a remote shared file

2016-07-28 Thread Jennifer Sun
Question #306373 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/306373

Status: Open => Solved

Jennifer Sun confirmed that the question is solved:
I'm sorry to ask this silly question.
I've checked it again and found that I got a wrong format with the remote path, 
while I was troubled with it a whole afternoon.
Now it seems that the problem is solved. 
Thank you very much!!

-- 
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 #306373]: how to map net drive to a remote shared file

2016-07-28 Thread Jennifer Sun
Question #306373 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/306373

Status: Needs information => Open

Jennifer Sun gave more information on the question:
Could you please explain it more detailedly? 
It seems that the problem is not about driveletter,
I could use the "net use" command to a shared file between a virtual machine 
and the host,
but it doesn't work when it comes to a remote shared folder, even in the CMD.
I searched it on Google, sb says the win32wnet module will help, however I 
don't think it can work under Jython environment.
It said the module can't be found.

Thanks a lot.

-- 
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 #306373]: how to map net drive to a remote shared file

2016-07-28 Thread Jennifer Sun
New question #306373 on Sikuli:
https://answers.launchpad.net/sikuli/+question/306373

hi, all

I'd like to use Sikuli to realize an autotest, and I need to visit a remote 
shared file like "\\***\**", so I need to map UNC to a drive letter.

  But I can't use subprocess.popen with 'net use', it says 'The net work name 
cannot be found';
  Also I can't use Win32wnet , cause it seems could only be used on CPython.
  What should I do?

Sincerely 
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 #237259]: Will I be safe using Sikuli as a non-programmer? I don't want to create major computer issues.

2013-10-12 Thread Jennifer Thorpe
New question #237259 on Sikuli:
https://answers.launchpad.net/sikuli/+question/237259

Is it straightforward and safe to use as a non-programmer? 

 I am employed as a data entry person.   I want to use Sikuli to automate data 
entry steps on an MS Access database accessed through a gov't site...there are 
many repetitive keystrokes and drop down boxes in the database that make data 
entry tedious and difficult.   I would like to use Sikuli like a keystroke 
macro for certain movements through the database that are irritating 
...clicking on a down arrow to highlight the search box, typing a letter, 
entering, clicking a checkbox, clicking a button and moving to the next field 
many tab presses away.  This particular database is not user friendly and 
requires switching between keyboard and mouse a lot.  I would prefer to 
primarily use the keyboard.  

I also wish to delete 3000 emails in Outlook (I received a repetitive message 
stating Outlook was closed thousands of times), also tedious by hand.   I am 
planning to use Sikuli from my memory stick (along with a Portable Java) b/c I 
am not permitted to download programs onto my computer at work. 
 
Sikuli.org presents sikuli as visual and intuitive ... able to direct the 
computer via pictures of the screen vs a lot of intricate programming commands. 
  I have no programming experience -  I don't want to create major computer 
troubles out of inexperience and false assumptions.

Thank you.

-- 
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 #234415]: Try/Catch for Error Handling in Sikuli?

2013-08-21 Thread Jennifer Coleman
New question #234415 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234415

I am trying to implement  a try block that will run a workflow, but if some 
error pops up at any point during that workflow take a screenshot of the entire 
screen and exit the script gracefully...

I've tried the try/catch in multiple ways. Its only working for me if the error 
popup happens at the beginning of the workflow. If the error popup occurs at 
some midpoint in the workflow, Sikuli eventually fails with the FindFailed img 
error...

Here are two examples of code I've tried:

 try:
wait(3)
click("1374255931092.png")
type("1374246828238.png", ip)
type(username) 
type(pwd)
click(ok)
wait("1374589171654.png",60)
click("1374602147221.png")
   
click("1374602316521.png")

while not exists("1374602366701.png"):  
  
click("1374247849159.png")

except "ErrorScreenshot.png":
takeScreenShot()
 
print ip, username, pwd
return 0


---
 try:
wait(3)
click("1374255931092.png")
type("1374246828238.png", ip)
type(username) 
type(pwd)
click(ok)
wait("1374589171654.png",60)
click("1374602147221.png")
   
click("1374602316521.png")

while not exists("1374602366701.png"):  
  
click("1374247849159.png")

except FindFailed:
takeScreenShot()
 
print ip, username, pwd
return 0


*** in the except FindFailed case I get a global name not defined error...

Any help is appreciated.

Thanks
Jennifer

-- 
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 #234402]: While not exists Loop Throwing Error When I Have Else Condition at the End

2013-08-21 Thread Jennifer Coleman
Question #234402 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234402

Status: Answered => Solved

Jennifer Coleman confirmed that the question is solved:
Thanks RaiMan, that solved 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


[Sikuli-driver] [Question #234402]: While not exists Loop Throwing Error When I Have Else Condition at the End

2013-08-21 Thread Jennifer Coleman
New question #234402 on Sikuli:
https://answers.launchpad.net/sikuli/+question/234402

I want to do a while loops that says while you don't see an error message, run 
this workflow. Else, if you do see the error message, take a screen shot of the 
entire screen.

When I add the else code in, the IDE throws a weird exception or error.

Here's the code in my script:

while not exists("ErrorScreenshot.png"):  
   click(a)
   rightClick(a)  
   #doubleClick(b)
   click(b)
   doubleClick(Pattern("1374609778702.png").similar(0.57))
   type(username)
   type(pwd)
   click("1374609885172.png")   
   wait("1374609994953.png", 70)
   
   click("1374610198940.png")   
   click("1374699689215.png")
   print username, pwd
   
  else:
   screen = Screen()
   file = screen.capture(screen.getBounds())   
   print("Saved screen as "+file)

Here's the error message i get when I uncomment the else conditon:

[error] script [ *ModifyCredReadFromConfig ]] stopped with error at line 
--unknown--
[error] Could not evaluate error source nor reason. Analyze StackTrace!
[error] IndentationError: ('unindent does not match any outer indentation 
level', 
('C:\\Users\\Sikuli\\AppData\\Local\\Temp\\sikuli-6590832730376844871.py', 40, 
6, ' else:\n'))


Any ideas what is wrong? Is an else condition not allowed with while not exists?

-- 
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 #233740]: Sikuli Is Not Reading entire XML File

2013-08-08 Thread Jennifer Coleman
Question #233740 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233740

Status: Answered => Open

Jennifer Coleman is still having a problem:
Thanks RaiMan!!

That worked, sort of.

The first time I ran the original file i got an ImportError.

File "/Users/colej/Documents/xml.sikuli/xml.py", line 2, in 
from xml.dom import minidom
ImportError: No module named dom !!WHILE IMPORTING!! 


When I removed the code:
from xml.dom import minidom

xmldoc = minidom.parse("/Users/colej/Documents/loginFlex2.xml")

print xmldoc.toxml()

The entire file was returned via command line! :)


Why couldn't Sikuli find the dom module? And will the bug on the message area 
be fixed soon?? :)

-- 
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 #233740]: Sikuli Is Not Reading entire XML File

2013-08-08 Thread Jennifer Coleman
New question #233740 on Sikuli:
https://answers.launchpad.net/sikuli/+question/233740

I'm trying to start file i/o in my program & wanted to get a simple file read 
and print working. But sikuli isn't reading or printing the entire file. 

The file is a short xml file:



https:///vsphere-client/#"; username="r" pwd="v"/>


>>I've tried two ways of coding:

from xml.dom import minidom

xmldoc = minidom.parse("/Users/colej/Documents/loginFlex2.xml")

print xmldoc.toxml()

RESULT:  ?xml version="1.0" ?>

second way
import os
myfile = open("/Users/colej/Documents/loginFlex2.xml")

text = myfile.read()
print(text)

RESULT: 
?xml version="1.0" encoding="UTF-8"?>

[info] Exit code: 0


And ideas on why the ENTIRE file is not being read and printed???

Thank You!



-- 
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 1185559] Re: [1.0] IDE: Mac: Can't open a Sikuli script in file open dialog - script.sikuli not selectable --- workaround

2013-07-19 Thread Jennifer Coleman
I went with the workaround of installing the previous build of Sikuli &
now I can open sikuli source files. However, I no longer have access to
the .py, .html, and .png files that were once in the sikuli directory.
Is this also a bug?

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

Title:
  [1.0] IDE: Mac: Can't open a Sikuli script in file open dialog -
  script.sikuli not selectable --- workaround

Status in Sikuli:
  Fix Committed

Bug description:
  --- fixed in 1.0.1

  *** problem -
  This only happens on installations, that did not have Sikuli X-1.0rc3 
installed before switching to the new version 1.0.0

  On Mac it was once decided by the developers, to hide the folder
  structure using the "this folder is a bundle/package" bit, which shows
  a folder as file in the Finder.

  Currently there is no app available, that registers this filetype, but
  since the IDE on Mac still tries to open files, we have the mentioned
  problem.

  *** workaround ---

  Until I have a fix for that until latest June 21, this is what one can
  do:

  --- option 1:
  download Sikuli X-1.0rc3 from
  
https://launchpad.net/sikuli/sikuli-api/x1.0-rc3/+download/Sikuli-X-1.0rc3%20%28r905%29-osx-10.6.dmg
  and move the app to the /Applications folder.
  This should register the filetypes .sikuli and .skl and the existing folders 
should no longer be folders but bundles (system restart might be necessary) 
with the respective Sikuli file icon.
  It should not be necessary to start the RC3 IDE.
  Now in the 1.0.0 IDE, .sikuli should show up as files and should be 
selectable.
  The RC3 IDE app can be moved to trash afterwards.

  --- option 2:
  If you do not want to download RC3, but have Xcode installed on your system, 
then you can change a folder to a bundle in a Terminal session:
  SetFile -a B path-to-folder/script.sikuli
  Now the scripts are selectable, but do not have nice icons ;-)

  --- option 3:
  If you do not want to neither download RC3 nor Xcode, then you might try to 
use the SetFile command that I have taken from my Xcode 4.6.2 and put in a zip 
file for download at (look readme.txt)
  https://dl.dropboxusercontent.com/u/42895525/Xcode-SetFile.zip
  I swear it is clean ;-) but not tested on systems without Xcode.
  usage: SetFile -a B path-to-folder/script.sikuli

  

  Sikuli 1.0.0

  Mac OSX 10.7.4

  1) Open IDE
  2) File --> Save
  3) File --> Open
  4) Select xxx.sikuli
  5) The open button in the finder window is disabled, therefore you can't open 
the source.

  I can provide a screenshot if you need this.

  I'm running JDK 1.6

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1185559/+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 #232707]: Unable to import module & call method

2013-07-19 Thread Jennifer Coleman
Question #232707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232707

Status: Answered => Solved

Jennifer Coleman confirmed that the question is solved:
Thanks RaiMan, that solved 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 #232707]: Unable to import module & call method

2013-07-19 Thread Jennifer Coleman
Question #232707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232707

Status: Solved => Open

Jennifer Coleman is still having a problem:
Thanks RaiMan! It seems the reload function is what I was missing and
yes this will be building out to something more complicated, but I plan
to use File I/O for the variable inputs.


Separate Question: I ran into the Bug: [1.0] IDE: Mac: Can't open a Sikuli 
script in file open dialog - script.sikuli not selectable --- workaround Edit

I went with the workaround of installing the previous build of Sikuli &
now I can open sikuli source files. However, I no longer have access to
the .py, .html, and .png files that were once in the sikuli directory.
Is this also a bug?

Thank You!!

-- 
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 #232707]: Unable to import module & call method

2013-07-18 Thread Jennifer Coleman
New question #232707 on Sikuli:
https://answers.launchpad.net/sikuli/+question/232707

New to both Sikuli & Python. Any help here would be appreciated.


After importing a module(mod a) to my main script (mod b) , the sikuli compiler 
gives me a error: [error] TypeError ( login() takes exactly 3 arguments (4 
given) )

mod a:

from sikuli import *

class Chrome:

# Variables 
flexClient = r"https://10.60.170.151:9443/vsphere-client/#"; + Key.ENTER
username = "root" + Key.ENTER
pwd = "vmware" + Key.ENTER


def login(self, flexClient, username, pwd):
 do some stuff & log in to Chrome
  return 0


mod b:
import chromeLogin
from chromeLogin import *

chromeObj = Chrome()

chromeObj.login(Chrome.flexClient, Chrome.username, Chrome.pwd)

 
Any suggestions on why the method is defined with 3 parameters, called with 3 
parameters, but sikuli is saying something is wrong?




-- 
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 #232707]: Unable to import module & call method

2013-07-18 Thread Jennifer Coleman
Question #232707 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/232707

Description changed to:
New to both Sikuli & Python. Any help here would be appreciated.


After importing a module(mod a) to my main script (mod b) , the sikuli compiler 
gives me a error: [error] TypeError ( login() takes exactly 3 arguments (4 
given) )

mod a:

from sikuli import *

class Chrome:

# Variables 
flexClient = r"https://12344/vsphere-client/#"; + Key.ENTER
username = "hello" + Key.ENTER
pwd = "hello" + Key.ENTER


def login(self, flexClient, username, pwd):
 do some stuff & log in to Chrome
  return 0


mod b:
import chromeLogin
from chromeLogin import *

chromeObj = Chrome()

chromeObj.login(Chrome.flexClient, Chrome.username, Chrome.pwd)

 
Any suggestions on why the method is defined with 3 parameters, called with 3 
parameters, but sikuli is saying something is wrong?

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