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 / siva
The Answer given by "Guest" is acceptable...
The scenario is- the window name is dynamically getting
changed, solution could be
you can use "Regular expression" method....
First you open the Repository and check the window property
as "Type" and for that "type" property value-chenge the
constant to a regular expression. I think you know the
process......if not follow this, at the bottom of the
repository window
you find two edit boxes namely...CONSTANT and PARAMETER.
right beside at the CONSTANT Edit box you find a small Icon
kind of thing and click that, set the regular expression
check box on (tick on that).
if it doesn't work...
then go to the ADD/REMMOVE OBJECTS, where you can look for
a property called "href" then give the property value as
the window URL (http:/********) then try..
if this also doesn't work...
you can go for another method to make the QTP to identify
the destination page rather than the window..
I can not type all that
u just try these two methods they don't-then mail me at
sivaprasadnunna79@yahoo.co.in I will help you
all the best.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.
What are the advantages of Object Repository?
after click on compose mail how can we attached a file in qtp with vbscript code
if our qtp vb Script may be Currepted then What we want do?
How to start recording using quicktest professional?
How to suppress warnings from the test results page?
What are the differences between qtp and winrunner?
how will you load the test cases in ddt?
1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?
What are the different types of recovery operation?
What are the different types of qtp test assets and their extensions?
please give me the code for doing retesting of gmail login page using functions so the function has to give the value
What is qtpro? What is quick test pro? What is a quick test professional?
Are Shared ORs read-only?