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?
Answers were Sorted based on User's Feedback
Answer / badri
open the xml file in notepad and change the value and again
upload the xml file.
or
we can create internal environment value, and call in qtp
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / lital
I Badri, thanks for your answer, but I actually meant, how
do I do it automatically in QTP and not manually by opening
the xml via notepad...
Thanks anyway, Lital.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sushma
Environment("Designation") = "Student"
msgbox Environment("Designation")
| Is This Answer Correct ? | 0 Yes | 3 No |
Can any one explain about environment variables with examples?
how can we retrieve ten rows from the data table using loop concept?
what is the difference between link and hyper link?
How to swap two numbers by using parameter passing method byref in a fucntion and return the result to outside of the function?
Why we have to split actions in a test?
why require regression testing?
Could you please explain me about QTP framework.
What is the extension of the qtp local repository?
Hybrid framework supports Descriptive programming. Is it true?
Differences between QTP & Winrunner?
How to use the object spy in quicktest professional 8.0 version?
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me