How can we use XML in QTP?



How can we use XML in QTP?..

Answer / kondalu

friend xml used in checkpoint(xml chekpoint) and
environment used in xml as the two actions in
1.internal
2.external

in qtp 8.2 test option selected in settings and go to
environment as divided into 2 types userdefined and build
click on userdefined varibles
add a value a and 10(internal)(1)
add a value b and 20(internal)(2)
1 and 2 are internal actions
click on xml point in saved with(.xml )extension
saved in xml as the select in desired location after
finishing automatical 1 and 2 statement are changed in
external


check points used in xml as
insert checkpoint(recording may or may not) xml check point
is enabled
notepad open
xml code
eg:
<myqualification>
<name>kondalrao</name>
<job>testengineer</job>
</myqualification> this xml as created

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Interviwer asked, How many years exper.. on QTP? I said, total 2 yrs exp in manual and QTP. QTP only current project arround 3 months. then interviewer ask , HOW BOLD YOU QTP? What you say?

1 Answers  


Discuss quicktest professional environment?

0 Answers  


How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me

5 Answers   Livetek, Virtusa,


what is output parameters in qtp?explain? 2)

2 Answers   Span Infotech, TCS,


How to modify the text checkpoint?

0 Answers  






Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 Answers  


The xls contain data. how to get number of columns form the sheet?

4 Answers   Virtusa,


in my system object spy show the web application as a window based propeties ex:winedit like that and also not recording scripts also so what should i do

2 Answers  


How does qtp identify objects in the application?

0 Answers  


can somebody send the script to write a multiplication table in notepad through qtp

3 Answers   AppLabs,


suppose u hav a dialog or window which contains 10 buttons with same name & value. now how to check each button? i.e. how qtp indetifies these objects separately?

2 Answers  


How to capture screenshots of Exceptions/Errors during run- time?

12 Answers   Ordain Solutions,


Categories