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
Is it possible to change the property value at runtime? How it is possible?
Hi,All How to create a link in excel sheet using qtp
What is standalone database?
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
Which scripting language used by quicktest professional?
What is quicktest professional window?
when a test case is written how u test using qtp
What are the features of quick test pro(qtp)?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
Can we create user defined functions in qtp?
which type of testing process are you following in ur company? how to recognize a qtp page?
regular expression in qtp standar check point for months from accepting months from january to december only
What is the extension of qtp local repository?
what is the structure for the data driven framework
Can U Explain about QTP tool from older version to latest version also its differences?