i have a window , initial its name is "NEW CUSTOMER"
i have to enter the details of customer in the test object
fields and after saving the window name is automatically
changing with the customer name .
so how to identify that window after saving.
(i am using descriptive programming.)
Answer Posted / guest
First u take the window name into variable. in the script u
replace the property value with the variable. we can do
this in DP. a variable name (i.e. the property value, which
is changing dynamically, will be in the variable) can be
given as the property value of a property. ex :
browser(xxxx).page("title:=" &variablename).xxxxxx
now it takes what ever the window name/page name is.
i have not written the script properly. i said a way how we
can do this. so analize this n get better solution. i m not
100% clear with this solution ,but in this way we can do
this. correct me if i m wrong.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is a reusable action?
what are the utilities and drivers
what is meant by Implicit and explicit requirements?
what is the hierarchy to use properties in descriptive programming
what function you write to do database testing with the help of qtp?
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
how can i pass a "cript"as a parameter in to a function
How do we analyze the checkpoint results?
in my application,validation message has in japanise language.how to validate this message is appears properly or not
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
diff between qtp versions from 8.5
I am sathish , i want to test the Application of JIL.org ,Mobile Emulator ,by using QTP10.0. I am trying to do testing on that Application , but Child Objects are not identified by the QTP. Please can any one help me
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 standalone database?
Hi ,Can any one pleas explain how to test splash objects using QTP?