| || |
Capture Msgbox details into the object repository
In a script I am trying to print a message using a msgbox command in QTP.
so after executing the script it will pop-up a messagebox with a message as "hi".With a OK button.
So what I need is I want to capture that messagebox window using the object repository(means how can I learn that messagebox pop-up window using object repository).So that when I run the script it should click the OK button present on the messagebox window.
Re: Capture Msgbox details into the object repository
I don't think this will work as the msgbox command iterupts QTP
Re: Capture Msgbox details into the object reposit
You can close message box automatically like this.
CreateObject("WScript.Shell").Popup "Text on the message box", 3, "Message box Title" 'holds for 3 seconds