login vsi company logo login vsi company logo 250x40

Not able to run sikuli script within a workload using VSI_ShellExecuteWait

  • vdobhal
  • vdobhal's Avatar Topic Author
01 Apr 2014 13:32 #1707


I am trying to run a batch file (which runs a sikuli script) using the VSI_ShellExecuteWait command in a custom workload. The batch command just executes (as I can see the run.txt getting created at the desktop) but I do not see the sikuli script running. Has anybody tried running the sikuli script before within the workload?

Right now I have just copied the 'Sikuli' folder in the 'C:\' drive of the target system. How can I run the sikuli script from this folder? or do I need to copy it to the %VSI_Userhome% and how can I do that?

Workload snapshot
VSI_ShellExecute("test", "c:\Sikuli\loginvsi.bat", "", "" ,"", "Minimize")

Contents of the batch file
@echo off
runIde.cmd -r random.sikuli > %userprofile%\desktop\run.txt


Please Log in to join the conversation.

01 Apr 2014 16:57 #1708


Try setting the working directory.

VSI_ShellExecute("test", "c:\Sikuli\loginvsi.bat", "", "c:\Sikuli" ,"", "Minimize")

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200