Unable to run sikuli script with robo class from main script
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://
*** Settings ***
Library ./inline/
Test Setup launch application
Test Teardown stop application
*** Test Cases ***
TC-18 :Validate tab for a new case
Create patient
""")
class LoginLibrary(
def launch_
#write code to launch app
doubleClic
wait(10)
if exists ("home.png"):
else:
def Create_
click(
wait(5)
if exists(
type("")
else:
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: