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 |
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
If a button named "CLICK" is recorded in low level recording mode , what will be the values stored for "name" property of that button in object repository ?
how you update scripts in qtp?
Tell me the QTP Advantages and Disadvatages ?
what is ODC and GDC?
can u tell me the the cost of automation tool QTP ?
write the regular expression for date format of mm/dd/yy?
10 Answers CTS, HCL,
if i have 10 actions and out of 10 actions last 3 actions i renamed will my script exicute sucesfuly r not? changed actions where i can see?
hai, i completed my b.tech in 2010 with 62.3%. i having knowledge on manual testing and Qtp. i want Relavent experience in testing.watever may be d salary i dont bother..I just want to gain knowledge. i dont have good communication skills.
What is QTP’s model for test creation?
in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this
Pls let me know how to find out creation time and index for the web application in descriptive programming?