Hi, I am facing a problem using the Quick Test Program when capture a pop up screen during record a system running.
It is for my final project, hope have somebody can help me and reply me as soon as possible. Thanks so much!
I am capturing the system (web base) whereby when I click on a pick list option in Browser A, the system will pop up a new page (Browser B) displaying the pick list page. Capturing is still proceeding until I select an option form the Browser B and the system return to Browser A.
When I replay my capture, Quick Test cannot recognize the pop up page (Browser B) to perform the actions captured and will just hang there.
So how can I make Quick Test recognize pop up browser/screen and perform my replay?
From your description what you need to do is basically create a function to grab the popup window. Something along the lines of:
varBool = 1
varCounter = 0
Set varHWndList = CreateObject("Scripting.Dictionary")
While (Window("RegExpWndClass:=IEFrame","index:=" & varCounter).Exist And varBool)
varHandle = Window("RegExpWndClass:=IEFrame","index:=" & varCounter).GetROProperty("hWnd")
If (varLastWindow=varHandle) Then
varBool = 0
varCounter = varCounter+1
varLastWindow = varHandle
For varCounter = 0 To varHWndList.Count-1
varHandle = varHWndList.Item(CStr(varCounter))
If Not MainBrowserHandle = varHandle Then
I use most of this for removing popups... with a little bit of customisation i'm fairly sure you will be able to make this sample match your requirement.