← Back to team overview

sikuli-driver team mailing list archive

[Bug 1408020] Re: java implementation of wait method not working

 

** Changed in: sikuli
       Status: Invalid => In Progress

** Changed in: sikuli
   Importance: Undecided => Medium

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

** Changed in: sikuli
    Milestone: None => 2.0.0

** Summary changed:

- java implementation of wait method not working
+ [1.0.1] Screen.all().wait(image) not working

** Description changed:

  Sikuli Version: 1.1.0-SNAPSHOT
  Operating System: Windows 7 32-bit
  
- The Screen().wait method does not appear to work regardless of the
+ The Screen.all().wait method does not appear to work regardless of the
  timeout i set within the java implementation.
  
  Every time i use it i get the FindFailed exception.
  
  Code snippet below:
  
- Screen s = new Screen();
- 		try {
- 			s.wait("src/test/resources/Images/games/ramesses/ramesses_topleft.PNG", 30);
- 		} catch (FindFailed e) {
- 			// TODO Auto-generated catch block
- 			e.printStackTrace();
- 		}
+ Screen s = Screen.all();
+   try {
+    s.wait("src/test/resources/Images/games/ramesses/ramesses_topleft.PNG", 30);
+   } catch (FindFailed e) {
+    // TODO Auto-generated catch block
+    e.printStackTrace();
+   }

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1408020

Title:
  [1.0.1] Screen.all().wait(image) not working

Status in Sikuli:
  In Progress

Bug description:
  Sikuli Version: 1.1.0-SNAPSHOT
  Operating System: Windows 7 32-bit

  The Screen.all().wait method does not appear to work regardless of the
  timeout i set within the java implementation.

  Every time i use it i get the FindFailed exception.

  Code snippet below:

  Screen s = Screen.all();
    try {
     s.wait("src/test/resources/Images/games/ramesses/ramesses_topleft.PNG", 30);
    } catch (FindFailed e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
    }

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1408020/+subscriptions


References