sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45529
[Question #663312]: how can to control FindFailed
New question #663312 on Sikuli:
https://answers.launchpad.net/sikuli/+question/663312
Can you help me control using throws FinFailed when action screen.click (sikuliapi 1.1.1 sikuli core 1.2.0)
because i see if case failed this case always passed.
so I don't want using throw FindFailed in function, how can please help me. :(
----
try {
waitU.sleep(2500);
String english = path_image_os + "/selectlanguage/english.png"; // Wrong path image
sikulix.click(english);
} catch (FindFailed failed) {
failed.printStackTrace();
}
-----
Assert.assertTrue(verifyThePopup.verifyImageExists(selectLanguagePage.getImageEnglish()));
selectLanguagePage.selectEnglish();
thanks
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.