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 you can find length of array in qtp?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
what is the difference btn risks & Therads in the Test plan documentation?
w is active screen
actually how many hours per one day we will work on automation(qtp) in real time
i need qtp tutorial. pls send it to sridhar.k151@g mail.com
We have 10 page.In first page we 2 popup and next page we 3 popup window......(windows name is different)how can we handle the all the popups without using recovery scenario
When you open QTP, how many sheets you can see?
where we save the scripts created in one project?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
Tell me the situations where we will use Data Driven?
How to make Shared object repository in qtp 9.1 and 9.2?