How do I identify an active/current window in QTP?Is there something like Window("Current Window") as in Rational Robot?The idea is to handle all possible windows that might be invoked in a flow similar to handling an exception.

Showing Answers 1 - 1 of 1 Answers

lahari1259

  • Oct 9th, 2007
 

If the properties other than the name of the window are same u can use a regular expression for the name of the window and put it in a loop.

Do While Window(*).Exists

  -----operation to be performed------

End Do

   

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions