QTP does not able to open a popup window via Link
I searched a similar problem posted and couldn't find any.
I will appreciate any help from you.
The situation is a several problems regarding a popup window.
I'll try to write it as simple as possible...
>> I have a web application with links.
clicking a link opens a Browser Window (POP UP window of the Class Browser).
First Question: I try to add it to the repository using the Add Objects, it recognizes it as a Browser but does not add the Browser parent, only the Childs, into a different browser parent in the OR.
Second Question: I record myself clicking on the Link...During the recording, clicking the link triggers a "BEEP" sound and no window pops up.
If I click the link without recording, the window pops up.
Please help me dealing with that...
Thank you again,
Wish you a great day.
Re: QTP does not able to open a popup window via Link
you can use descriptive programmin to overcome this. Use creationtime:=1 for the second browser property
>> found an answer
I looked again in the forum (Changed the word to seaerch) and found the command that make this window to be opened by the QTP too:
Setting.WebPackage("ReplayType") = 2 'Mouse
According to the QTP Help, this command Indicates how mouse operations should be run. The value can be one of the following:
1 - Runs mouse operations using browser events.
2 - Runs mouse operations using the mouse.
Thank you all,
Have a great day!