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
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
if our qtp vb Script may be Currepted then What we want do?
What are the different types of recording modes in qtp? Which will be used when?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
Will down time for server and content maintenance/upgrades be allowed? how much?
HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?
Explain the use of action split in qtp?
What is expert view and keyword view?
Diff b/w Health care domain and Banking Domain?
Explain quicktest professional testing process?
I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?
how to use the QTP choose the data from oracle? e.g. i input the identity card NO. this will be add new record in the database ,and now i want get this record's prime key.
Hi How to retrieve data from web element line by line?
Explain the concept of object repository?