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 types of properties that quick test learns while recording?
What is difference between Recording time object identification and Run time (Execution) time.
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
When you open QTP, how many sheets you can see?
What is data driver in qtp? Where we use it?
What are metrics and matrix?
How the smart identification is used in real time?Please explain with an example
There is an excel file of 1 to 100 sheets how you will iterate through it?
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How to create a standard checkpoint ?
What is the basic concept of qtp?
images are dynamically changes how to compare two images with out using the bitmap
To which environments does quicktest professional (qtp) supports?
How do know the number of browsers opened?
how to test Web application using QTP software