← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #179954]: JAVA: Can we schedule automation script

 

Question #179954 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/179954

    Status: Needs information => Open

Dileep Sarkar gave more information on the question:
HI RAI,
  I am using window xp profession service pack 3 . I run scipt simply right click runas JUNIT TEST

Please find the below code to run through scheduler 
@Test
public void TS_Login_09() throws Exception 
{
blnFail = true;
nota = "";
try
{
SOMETHING CODE
if (screen.exists("Images/Login/xxxxxx_xxxxxxx.png")== null)
{
SOMTHING CODE}
else
{
SOMETHING CODE	
}
}
catch (Exception e) 
{
SOMETHING CODE
}
		
finally 
{
exec_status.reportTestCaseResult("TS_Login_Demo_09", resultado, nota);
}
}

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.