Posts: 2
Threads: 1
Joined: Dec 2011
Reputation:
0
12-17-2011, 03:27 PM
I recorded steps for downloading and ran the script, but it is giving warning message stating:
"Cannot find the "Cancel" object's parent "File Download" (class Dialog). Verify that parent properties match an object currently displayed in your application."
Note: I clicked on the "cancel button" on the download pop-up.
I tried the setting given in the forum in object identification but result remains the same. Please help me.
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
12-17-2011, 06:09 PM
It looks like there could be few properties changing for the pop up window during every run.Check for the property that is changing and you may use regular expression for that particular property.
Posts: 2
Threads: 1
Joined: Dec 2011
Reputation:
0
12-17-2011, 06:27 PM
Thank You Ravi,
But please explain me more clearly because I m using QTP for the first time. How can I check properties of pop-ups. I tried it many times by recording different downloads, same problem occurs when I tried to upload bulk users by means of excel sheet beacause we get same type of pop-up there.
Thanks
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
12-18-2011, 10:39 AM
Please use object spy to obtain the properties of pop up dialog box.Check whether the properties that are there in object repository match with that of spy.
To use Object Spy
1. Go to Tools->Object spy.
2. One window named Object Spy will open
3. Then open the application whose object properties or methods you want to see.
4. Then just click on “Pointer image” of object spy window.
5. Click on Object whose object properties or methods you want to see.