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 to use reporter.report event in qtp ?
What is the short cut keys for the following?
What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.
If the objects hierarchy is changing from build to build, then how you will handle that condition?
Explain about datafile/verification of date file when file is not available in local system?
What are the Disadvantages of shared object repository?
Explain different recording modes?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What are the challenges you faced during you entire life automation ?
If I change the object name in one action will it be updated in all the actions? Or not?
hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me
who QTP recognizes the object stored in object repository?
which type of testing process are you following in ur company? how to recognize a qtp page?
Explain step generator in qtp?
Why is action split used by qtp?