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

we have 5 default properties we want add more Default property in Object Repository how to add the property

2 Answers   Nous,


how to identify the user defind varibles? plz tell me

1 Answers  


How can we parameterize our test, values in flat file. Ex:- Values in notepad, with that values i want to parameterize the test.

3 Answers   Ordain Solutions,


what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?

4 Answers   BirlaSoft,


how to merge object repositories in qtp for n different applications

1 Answers  


write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..

0 Answers  


Hi, I Install QTP 9.2 in windows Vista. but it is not supporting IE. it is supporting only windows based application. could I change any setting in Vista for supporting IE.. ?? thanks in advance...

2 Answers  


How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  


What is iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?

1 Answers  


Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma

0 Answers  


How to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help

1 Answers  


Categories