How do I modify a value of an elemnt which is not the first
one in xml file?
My sample XML file is like:
<Environment>
<Variable>
<Name>Name</Name>
<Value>Uday Kumar</Value>
</Variable>
<Variable>
<Name>Designation</Name>
<Value>Senior Software Engineer</Value>
</Variable>
</Environment>
for example, I'd like to change the value 'Senior Software
Engineer' to 'Student' in the second element. How do I do
it in QTP?
Answer Posted / sushma
Environment("Designation") = "Student"
msgbox Environment("Designation")
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How many tabs are available in debug viewer pane?
What is the use of Debug Viewer?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
Explain in brief about the quicktest professional automation object model?
Which scripting language used by quicktest professional (qtp)?
how to create flat file datasubmission in qtp
what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?
If created one virtual object? Next time I changed the window position will it work?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
Differentiate the type of test cases which can be automated and which cannot be automated?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
How do we handle run-time errors?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??