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


Please Help Members By Posting Answers For Below Questions

Explain the benefits of quick test pro(qtp)?

572


What are the steps involved in recovery scenario wizard?

530


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


How to use output values in qtp ?

557


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3443






How to change the priorities of the recovery scenario properties?

595


How you are developing the script? Using record and play back or manual?

633


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

1287


What is Associate Repository in QTP 9.2 ?

603


How do we analyze the checkpoint results?

587


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

1586


When to use shared and local object repository?

636


What is the synchronization point in qtp?

565


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1399


Which functionalities of QTP used in banking project? pls any say answer?

1448