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 are the views available in quicktest professional?
Problem with XML checkpoint in QTP ?
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
What is keyword driven framework?
How can you close the second opened browser?
How to use conditional loops in qtp ?
Define object spy ?
Is QTP supports Unix. If yes, then how the test automation is done?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What is the syntax to call one script from another?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
What are the key elements available in test result window?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
How to delete an object from the object repository?
How to create a standard checkpoint ?