sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20294
Re: [Question #234633]: Want to run multiple test script
Question #234633 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/234633
Eugene S proposed the following answer:
One more option is to run the sequence from command line (cmd). For
example:
@echo off
cls
echo +++ Testing Scripts Launcher ver 0.0.1
echo +++ START
call C:\Sikuli\runScript.cmd -r C:\Sikuli\Tests\testFlows\Test1.sikuli
call C:\Sikuli\runScript.cmd -r C:\Sikuli\Tests\testFlows\Test2.sikuli
.
.
.
You might also include some environment configuration commands. For
example, check that all Internet Explorer(or any other application)
windows are closed before starting the next scenario.
call:closeIE
:closeIE
echo Checking if Internet Explorer is running
tasklist /FI "IMAGENAME eq iexplore.exe" 2>NUL | find /I /N "iexplore.exe">NUL
if "%ERRORLEVEL%"=="0" echo iexplore.exe is running. Killing... & taskkill /F /IM iexplore.exe
) else (
echo iexplore.exe is NOT running
goto:eof
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.