I have recorded a test using qtp to download a file in an


Browser("MFA Work Queue Manager").Page("MFA Work Queue
Manager").Link("Rules Maintenance").Click
Browser("MFA Work Queue Manager").Page("Rule
Maintenance").WebEdit("txtSearch").Set "PmtType"
Browser("MFA Work Queue Manager").Page("Rule
Browser("MFA Work Queue Manager").Page("Rule
Browser("MFA Work Queue Manager").Dialog("File
Browser("MFA Work Queue Manager").Page("Rule
Dialog("Save As").WinButton("Save").Click
Dialog("Save As_2").WinButton("Yes").Click


When running this test it gives an error at line no. 5 as
Save button object is not identified by it's parent object.

This code I ran 4 times after recording at it was working
fine but 5th time onwords, it starts giving me the above
problem. I used exist property option, Check Property
option but none of this changes work at all.

Kindly help...

I have recorded a test using qtp to download a file in an application. Code: Browser("M..

Answer / kamakshya prasad

See, there are 2 "save" buttons in your script.
when you are running the script, QTP getting confused due
to the existance of 2 SAVE button, unable to identify them
properly. so they will be distinguished in 3 three way
i) Index value proerty
ii)creation time property
iii)Location property

Use any one of these property, i think it will work


Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More QTP Interview Questions

1)what is the quality process in QTP? 2)how to add the .tsr file in qtp through scripting?

1 Answers   L&T,

what are all the fileds present in object repository?

0 Answers   Wipro,

If the objects hierarchy is changing from build to build, then how you will handle that condition?

0 Answers  

can we call a test in another test? how? explain with one example?

1 Answers   iFocus,


2 Answers   IGT,

How do you test DLL files using automation Tool QTP?

0 Answers   Qwest,

How to test login page by using QTP

6 Answers  

What is Descriptive Programing? In which cases, we will go for descriptive programing?

2 Answers   CTS,

hi radhaka plz tell me clearly to handle the earrors with out isng recovery scnerio this is sreenivas from delhi

2 Answers  

give me the code for check point for validating application

1 Answers  

What is the difference between Datadriven and Parameterization?

8 Answers   Ordain Solutions,

Diff b/w Health care domain and Banking Domain?

0 Answers