Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



If an application name is changing frequently i.e while recording it has name “Window1” and th..

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

If an application name is changing frequently i.e while recording it has name “Window1” and th..

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

If an application name is changing frequently i.e while recording it has name “Window1” and th..

Answer / xyz

Check their property which is not changing dynamically. Set
that property to identify object.

Is This Answer Correct ?    2 Yes 0 No

If an application name is changing frequently i.e while recording it has name “Window1” and th..

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

If an application name is changing frequently i.e while recording it has name “Window1” and th..

Answer / xyz

Use Object Spy.

Is This Answer Correct ?    1 Yes 0 No

If an application name is changing frequently i.e while recording it has name “Window1” and th..

Answer / reddy prasad

e that paricular field as a regular expression

Is This Answer Correct ?    0 Yes 0 No

If an application name is changing frequently i.e while recording it has name “Window1” and th..

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

Post New Answer

More QTP Interview Questions

How you can find length of array in qtp?

0 Answers  


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

0 Answers  


what is the difference btn risks & Therads in the Test plan documentation?

0 Answers   Accenture,


w is active screen

2 Answers   GCI, Wipro,


actually how many hours per one day we will work on automation(qtp) in real time

1 Answers   Synechron,


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

0 Answers  


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

3 Answers   IBM,


When you open QTP, how many sheets you can see?

0 Answers   Wells Fargo,


where we save the scripts created in one project?

6 Answers   IBM,


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

0 Answers  


Tell me the situations where we will use Data Driven?

4 Answers   Ordain Solutions,


How to make Shared object repository in qtp 9.1 and 9.2?

2 Answers  


Categories