← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680728]: Is there any wait until available in Sikuli

 

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

Abilashkar gave more information on the question:
private Pattern waitForMoment;
private Region window;
screenWithloading =new Pattern(TestProperties.path("screenWithLoading.PNG"));
screenWithoutLoading = new Pattern(TestProperties.path("FSMScreen.PNG"));

window = getDriver().wait(screenWithloading );
		waitForMoment = new Pattern(TestProperties.path("WaitForMomentsImage.PNG"));
		window.waitVanish(waitForMoment);

window = getDriver().wait(screenWithoutLoading );
		window.click(typeBtn);

here on above code its not waiting till the image is getting vanished

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.