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
When and why to use descriptive programming?
How many ways is to parameterize the value?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
What is the XML file architecture ?
Hi, how can we check or avoid the memory leakage in QTP9.2?
What is the script for database check point, bitmapchek point, regular expression ?
can u explain relative path architecture framework in qtp?
How can you pass value one action to another action?
what is the difference betn QTP 8.0 AND PREVIOUS VERSION
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
Can we write winrunner language i.e TSL in QTP tool?
1.How do u prepare the test suits in QC? 2.How do u convert requirements to test plan in QC?
can i change the runtime properties of an object ? How can i check if a parameter exists in database ?
What is the basic concept of quicktest professional (qtp)?
Which functionalities of QTP used in banking project? pls any say answer?