If an application name is changing frequently i.e while
recording it has name “Window1” and then while running
its “Windows2” in this case how does QTP handle?
Answers were Sorted based on User's Feedback
Answer / jaya
Yes..We can handle such situation using the regular
expressions.Select "window1" in the script.Goto tools and
open the object repository.Select Window1 in the tree that
gets displayed.In the configure value click the constant
value option button and change the value from "window1"
to "window.*" and click the Regular expression
checkbox.click OK.
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / prasad
QTP handle this type situation using "Regular
expressions",like :"Windows.*"("*" indicates 0 to meny
no.s/characters ... in this case 1 2 3 4 5 ........)
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / xyz
Check their property which is not changing dynamically. Set
that property to identify object.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / siva
Best one is regular expression.Regular expression can
easily identifies the objects with dynamic values during
run-time.
1. Go to Object Repository.
2. Select the particular object in the left side and
double click on the property value("Name of the window")
3.Click on regular Expression check box and set as 'window
[0-9]*
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / reddy prasad
e that paricular field as a regular expression
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / aparna
the same thing can be handled using smart
identification..in base filter properties list select some
of the unique properties for the window except the text
property which is changing dynamically..and u can use
GETROPROPERTY and SETTOPROPERTY for the same
| Is This Answer Correct ? | 1 Yes | 3 No |
1.how can we report the QTP test result in a different excel sheet 2.
Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How to export data present in Datatable to an ".xls" file?
After i ran the Test in Batch mode i didn't get any results. Can any one let me know how it can be done?
Hi Guys, I tried to install java add-in for QTP 9.5 after the whole installation but it didn't install but then i also found in documentation saying that winrunner7.6 patch for java plugin would work fine with QTP. But when i tried to install from winrunner7.6 it asks me for the path of winrunner So my question is are we supposed to install winrunner for java add in to work on QTP. Please suggest me
Does quicktest professional is unicode compatible?
Hi any body can tell me the synchranization point syntax thanks in advance
how to identify the user defind varibles? plz tell me
how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad
I have to pass all the test cases into gmail userid and password using functions please give me code thanks have anice and greate day