| || |
runnings scripts in a multithreaded fashion
i want to check for two error images that are displayed in application if a problem is there with input items, but i dont want to use exist stmt's coz the error's may will be present most of the times and this will waste time as 20 secs it will wait checking existense for each error image..and the time cannot be less than 20 sec for checking existense.. so i want the error messages to be checked in a multithreaded fashion so that only if an error image is displayed the needful stmts will be executed..
Re: runnings scripts in a multithreaded fashion
The exist method doesn't wait 20 seconds if it finds the object it's looking for.
If 20 secs is too long to wait, you can use
which will only wait 5 secs for object to appear.