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 parameterize Object Repository?
1.can we parameterise object repository?how we can do it? 2.there is a name "mallikharjun".i want to get the vowels in it through VBSCRIPT?
Cn u please clarify my doubt Where are micTab and micReturn used.Thanx in Advance
what is the abbrivation of .mtr in action reposirtory?
How many types of OBJECTS are there in QTP?
8 Answers Intel, Inter Globe Technologies,
in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?
How many types of parameters are there in QTP and what are they?
actually how many hours per one day we will work on automation(qtp) in real time
If object is not recognized by qtp but the object is standard object what is your approach?
i don't have any experience in qtp? Can u please tell me What work i have to do?
How many types of run modes are there in qtp?
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.