Re: [Sikuli-driver] [Question #634289]: Drag and drop issue with Mac

2017-05-30 Thread vivek
Question #634289 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/634289

vivek posted a new comment:
Hi Ashok,

I am able to find buttons, Unfortunately finding any textboxes is not
required in any of my scenarios.

Do you have any idea about drag and drop with java 8 and sikuli.

Regards,
Vviek

-- 
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 #637031]: Unable to run sikuli script with robo class from main script

2017-05-30 Thread Test App
New question #637031 on Sikuli:
https://answers.launchpad.net/sikuli/+question/637031

Hi


I have created some automation scripts with robo class and then i am trying to 
call theese scripts from the main script . But Sikuli gives an error saying 
Unable to find keywords

This is my main script#

import Script 1

This is my Sikuli script with robo class#

from sikuli import*
runScript("""
robot
*** Variables ***
${USERNAME}   demo
${PASSWORD}   mode
${TESTSITE}   http://test.sikuli.de
*** Settings ***
Library   ./inline/LoginLibrary
Test Setuplaunch application
Test Teardown stop application
*** Test Cases ***
TC-18 :Validate  tab for a new case
Create patient

""")

class LoginLibrary(object):
  def launch_application(self):
  #write code to launch app
 doubleClick("1495488947167.png")
 wait(10)
 if exists ("home.png"):
  print("PASS:App launch sucessfull")
 else:
  print("FAIL:App launch unsucessfull")

def Create_patient(self):
click("1495488977291.png")
wait(5)
if exists("namefield.png"):
print("PASS:Enter name of new patient")
type("")
else:
print("FAIL:field is not available")

However this test case runs file when i run it as a standalone without caling 
it from the main script

But i want to run multiple cases one after the other . Hence i want to create a 
main script and run that main script

Please help

-- 
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 #637031]: Unable to run sikuli script with robo class from main script

2017-05-30 Thread masuo
Question #637031 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/637031

Status: Open => Answered

masuo proposed the following answer:
I can not understand the meaning of "main script" you are talking about.
So I will explain how to use RobotFramework generally. 

When we use RobotFramework to run multiple cases one after the
other,write that cases in "*** Test Cases ***" section.

*** Test Cases ***
Test Case Name 01 
Keyword01
Keyword02

Test Case Name 02
Keyword03
Keyword04

-- 
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 1694102] Re: [1.1.1] macOS: popFile() hangs --- fixed 1.1.2 2017-05-28

2017-05-30 Thread Ryan
oooh, looks like it was a bug.   I guess this means I should try to give
1.1.2 a shot ;)

Thanks for fixing!

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

Title:
  [1.1.1] macOS: popFile() hangs --- fixed 1.1.2 2017-05-28

Status in Sikuli:
  Fix Committed

Bug description:
  Hello,

  I am running a test script on macOS where I choose a location of a
  folder and sikuli stores the variable for use later in the script.  I
  am running into an issue where sikuli will correctly run the script
  the 1st time I run it after starting the IDE, but a 2nd run will see
  sikuli hide the IDE window (like normal when it runs scripts), but
  nothing happens.  I can see that the process is active in Activity
  Monitor, but I need to force quit the app to use it further.

  Sometimes, sikuli hangs on the 1st run of the script.

  I am using Sikuli 1.1.1 2017-03-30 (I did just upgrade from the
  2017-03-15 build by deleting the sikuli app and the 'App Support'
  folder and installing the new version fresh)

  macOS Sierra 10.12.5

  JDK 1.8

  Here is my script:

  from sikuli import *   <--I have this line here because I am wanting
  to call this function via another sikuli script

  def SDKLocation():
 Location = popFile("choose")
 Location = Location + "/_build/bin/release/"
 popup(Location)

  SDKLocation()


  I have noticed that if I remove the '  + "/_build/bin/release/" ' bit
  that the script seems to run more (about 3 or 4 times) before hanging
  on the next run.

  Am I do something that would cause this behavior?  Or is this a bug?

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1694102/+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 #634573]: How to call same image multiple times

2017-05-30 Thread JayG
Question #634573 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/634573

JayG posted a new comment:
For my simple testing i just assigned the image as a variable

i  = (xyz.png)

find (i)
step 1 
step 2 
step 3
find (i)


Seems to work for what I need.

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