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 QTP batch testing tool?
can anyone tell me from where i can download qtp demo or crack version
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?
Explain QTP using different development techniques ?
Write a QTP script to print all the link names displayed in a web page
Which property do you use to retrieve or assign data into a cell in a Data Table object?
Hi all, I am New to QTP . I am Now in critical situtaion. I want to know How to create our own object respository for our application. please say the answer with example.
Hi, I am trying to automate the web application for generating Reports.I am facing issue with IE while running the script. After 4 report IE crashes.I am using QTP 9.5 with IE version 7. Can anubody give me solution for this issue. Thanks in advance-Jyotsna
setroproperty and getroproperty difference
how to identify an object which is not in the object repository identification can be done using descriptive programming.
What are the recording modes in qtp?