← Back to team overview

sikuli-driver team mailing list archive

[Bug 1228536] Re: Not able to run xxx.Sikuli Script by command

 

Hello,

I have tried below given command :
%SIKULI_HOME%\sikuli-ide.cmd --r focus.sikuli

Now the SIKULI GUI window will be opened and "focus.sikuli" will be loaded to the Sikuli GUI.
But it is not executing the script automatically.

Please Help Me OUT.

Thanks in advance.

Regards,
Brijesh

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

Title:
  Not able to run xxx.Sikuli Script by command

Status in Sikuli:
  New

Bug description:
  Hello,

  I am using sikuli 1.000.

  i am not able to run the sikuli script by command.

  i have copied Sikuli in the E drive. Ex:  E:\Sikuli-IDE-1.0.0-Win64

  I have added new vaiable in the environment. Ex:
   
  SIKULI_HOME : E:\Sikuli-IDE-1.0.0-Win64

  also i have added the information the path variable.
  Ex:  E:\Sikuli-IDE-1.0.0-Win64\sikuli-ide.cmd

  Steps which i used to run sikuli script:

  1. Open Command prompt and change the location to sikuli script:
  Ex:    "E:\Sikuli"
  2. enter the following command 
  3. %SIKULI_HOME%\sikuli-ide.cmd -r focus.sikuli

  Result: It will open SIKULI GUI window, but the focus.sikuli script
  will not bee loaded.

  Expected: The focus.sikuli script should run after running the
  command.

  Please help me out.

  
  The content of  focus.sikuli are:

  App.focus("Notepad++")
  wait(3)
  print "The notepad++ window has been focused"

  Regards,
  Brijesh

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1228536/+subscriptions


References