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
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
What is the use of text output value in quicktest professional?
what is the diff between manual test plan document and automation test plan doc.can u explain indetail.
We stored into the objects OR and then write the scripting
How can i check items sorted or not in a weblist ? Give me the script for this...
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
how to convert 100 into hundred repees only and viceversa
What is synchronization? What are the ways you can synchronize?
How to run a test using quicktest professional (qtp)?
What is difference between shared and local object repository?
HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...
Explain types of descriptive programming?
what is vmodel?advantages and disadvantages of vmodel?
How QA specialist can identify when programmatic descriptions are useful?
Why is action split used by qtp?