Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to use reporter.report event in qtp ?

1038


What is the short cut keys for the following?

1126


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

2202


If the objects hierarchy is changing from build to build, then how you will handle that condition?

1053


Explain about datafile/verification of date file when file is not available in local system?

2738


What are the Disadvantages of shared object repository?

1134


Explain different recording modes?

1034


Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

2840


What are the challenges you faced during you entire life automation ?

1519


If I change the object name in one action will it be updated in all the actions? Or not?

1070


hi to all, i need a code.. in flight application 1.i need to login first then i need to insert 3 new orders... 2.i have to log out 3.i have to login again with different user 4.need to insert 2 new orders 5.then need to log out 6.then again login with different user 7.3 new orders create and log out 8.but we hv to do this using data table and actions please help me

2293


who QTP recognizes the object stored in object repository?

2099


which type of testing process are you following in ur company? how to recognize a qtp page?

1790


Explain step generator in qtp?

1109


Why is action split used by qtp?

995