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 compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp
How to find a window is minimized or not
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
What are the views available in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?
how will you load the test cases in ddt?
What are some test assets and related extensions of qtp?
what is the mail use of frame work(with detail). architecture for keyword driven frame work
How to test background color and dynamic images during run time can you put the check point for moving objects?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
what is the latest version of QTP? Main difference between 9.2 and 10 version
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)