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 |
hai, i am doing QTP by own. So, i am confident in checkpts,synchronization, data driven test, recovery scenarioe manager etc. but actually i don't know how all these we wil implement while we r writting code manually. when we r doing practice, while recording code is automatically generated but in real time i heard that we have to write the script.But i don't know how it is? How to write descriptive prog.? plz. tel me what r the basic things we have to know? explain how to write descriptive prog.? explain me with an example pls.......
How will internal and external links be validated and updated? how often?
Give me Example for Generic Functions in QTP Framework....Anybody please answer me..Thanks in Advance
if you have the same application screen with 7 drop down boxes and approximately 70 values how do you test with QTP?
what is object and child object.. explain ..if possible give some example for better understanding ..
Explain different type of event trigger option.
what type of automation is follwed in the project?
I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?
How you test the object which is dynamically changes its location?
How can I replace all the text from the QTP script with some other text. Is there any replace all function in QTP Any one can help me
X=10,Y=20 you need to swap the numbers without using a third variable?
Hi, How to give drop down values as input [Variable] from data table in QTP? If u know share with me.