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
write a script to verify the image path(src property) of the images which are in web pages.
Explain building blocks of the bpt framework ?
How to find operating system information using the qtp script?
What are the differences between qtp and winrunner?
How to build scripts that access data from external sources?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
Hi iam shankar here, right now iam working on manual testing. i want to switch over automation tool qtp, right now iam taking training class outside on qtp, please let me know the cost of QTP tool for full version, wether it's an annual subscription or monthly subscription.
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
Where we can use the synchronization?
How to check which add-ins are associated with a test in qtp?
assume i have few url link how will i dynamically call then using descriptive programming?
QTP script is not working on other's machine..
Hi friends did any budy attend accenture system test for qtp? if any budy pls drop questions.not only accenture any other mnc company which you attended system test(QTP)?it may helpful to others also
Hi Friends, How many types of Data Bases available in market... What is the diff. while using Syabase and Oracle in a Project... ? and what is the main diff. of Syabase and Oracle databases... ? Thanx in advance..
Explain how qtp identifies object?