3 Replies Last post: Sep 17, 2008 6:42 PM by Michael C Ford  
Michael C Ford Beginner 25 posts since
Jun 12, 2008
Currently Being Moderated

Sep 17, 2008 6:43 PM

[Solved]Build a loop based on a window being present.

I am in trouble and I hope one of you can help
I am building the test in Python but the language does not matter much.

here is my problem.
I run my test and sometime a window pops up that states "System Buzy, Please try again"
this is caused by an asynchronous process that my be running at times.
if this window is displayed then I need to run most of the test again, if it's not displayed then the test is complete and I only need to run my exit commands.

So how do I test for a window and not fail ?
can I somehow select the window and have it be more of an if then a fail ?
because as I said, if the window is not shown then the test passed.

I am thinking what I may need to do is use storeAllWindowNames ( variableName )
then loop the names and if I find the error window, select the window and if it states the system is buzy
  restart the whole test.
 
  is there a better way ?
 
Thanks in advance for any help you can give me.
Michael C

Tarun Master 380 posts since
Apr 28, 2008
Currently Being Moderated
2. Sep 17, 2008 5:05 AM in response to: Michael C Ford
Re: Build a loop based on a window being present.

I  have never come across this situation, did you try your own suggestion? Were you successful in your approach?

 

~ Tarun K

My Blog

More Like This

  • Retrieving data ...