how to retrieve the xml file data through qtp. can anybody
send script for this..

Answer Posted / aiswaryan

eg: giving input in the google search dialog box thro xml
data.
<Environment>
<Variable>
<Name>googlesearchfor</Name>
<Value>bike</Value>
</Variable>
</Environment>
add the above xml file in Test -> setting -> environmetn ->
userdefined.
go to keyword view of your recorded script (already
recorded). click the drop down button in the 'value' column
and select the environment parameter from the list.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the standard timing delay for web based application in qtp?

587


What is method name to compare two XML files.

1537


write script for bitmap image?

1540


Which environments does qtp support?

680


What is the difference between per-action and shared?

592






Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.

1712


How will we compare the texts in the two word files using QTP writing the script in Descriptive Programming. Thanks

1546


What is throw Object?

1560


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1423


Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.

1516


Can anyone pls tell me in realtime (descriptive programming) how will the properties of the object be given to the test team. R they given in an excel sheet and is the same sheet also given to the development team and by whom is this given? Thanks a lot.

1564


Explain the parameter in qtp?

580


Without using gui map editor we can recognize the application in winrunner ?

607


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

576


How do you create regression test packs?

610