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 |
What is Environment Variable and when we apply this in QTP?
What are the features supported by UFT?
How to find duplicates in an array and remove them efficiently?
Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance
How will you enchance the script?
Can we use index on view?
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
How can we conduct U-I Testing by using QTP??????
VB - Script Training in MUMBAI.
Does QTP work in UNIX environment
5 Answers BirlaSoft, C1 India,
where do you store the test result?
What is the difference betweent test and component?