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 |
how to retreive the xml file data through qtp.can anybody send script for this..
Explain the terms test and business component?
how can u put synchronization point in qtp,wat is exactly synchroniztion why we use it wat is benifit in qtp
13 Answers College School Exams Tests, Mind Tree,
Can you import and export data from XLS and how?
what is the difference between data table and spread sheet?
describe common problems of test automation?
what is L-trim function will do?
What is error handled other than recovery scenario manager?
Hi, i want download attached files in test plan area from QC to local drive in my system using QTP script. Please help me
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format. Hence, if possible, kinldy mail PDF file to my mail-ID: sushmapokhriyal79@gmail.com
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
can somebody send the script to write a multiplication table in notepad through qtp