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 u test a frame in a web page using QTP?
what is the framework followed by ur company in qtp
What is the extention of Virtualobject
How do client side image and server side image work?
I m trying to automate one vb desktop application in that there is vblist vbcombobox many other vb tools are there ,when i m trying to find some unique property to identify the object (take example of vbcombobox ) I cannot find any unique property, all the combobox belong to same nativeclass same name no ids are available ,only the distinct property is there x and y coordinates so i m using some code like this "vbbutton "nativeclass:=ThunderRT6CommandButton","x:=304","y :=443").exist(2)" but i dont find them reliable .Can anyone suggest me some other way to identify those objects with some unique property or is there any way to register our own property .I m using descriptive programming to write the code .Thanks in advance
What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?
Have you used xml check point in your project?
can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process
what is Compile Module in QTP? what exactly it contains Functions or Actions?
QTP -object reposistory spy tool is not able to spy the pop up message appearing in the application, so how is that i can handle such run time pop ups in QTP by code???
pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?
What are the environment variables?