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...


suppose u hav a 10 dialog or window opened on screen with
same name & value. now how to test each window? i.e. how
qtp indetifies these objects separately?

Answers were Sorted based on User's Feedback



suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / baba fakruddin

Hello mr.Sushil, Understand question clearly. he said
windows or dialog boxes. not browser's and page's, for 10
browsers with same name we should go for ordinal Identifier
(Creation Time).

for windows we should go for Ordinal Identifier(Index).
With index qtp will identify window based on individual
developed code of window or dialog(which window/dialogbox
developed first).

if in same window or dialog we should go for location.

I hope I am correct.

Is This Answer Correct ?    7 Yes 1 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / sushil

the only correct answer:

we will use ordinal identifier in such situation.
since it is browser so creation time will be used.
we can't use other ordinal identifier like index or location
so code for that.
browser(CreationTime:=1).Dialog( )...give as per your
requirment.

Is This Answer Correct ?    4 Yes 3 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / toly

You can get the result by 'Insert -> Output Value -> Text
Output Value' when you recording.

Is This Answer Correct ?    0 Yes 0 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / srinivas374

we can use Regular expressions concept. in qtp.

Is This Answer Correct ?    0 Yes 0 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / kishore

QTp will ideentifie By using index property which will be
uniqe

Is This Answer Correct ?    1 Yes 1 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / nanda

Hi shushil,

I think we give Index number in 9.0. please check it
once. and correct if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test e..

Answer / ravikumar

yes we can give indexnumber......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

I dont know how to configure non standard objects to standard objects in QTP9.2 can i have someone explain me in breify?

3 Answers   TCS, Wipro,


How you handles Pop-up windows which are Dynamically changing in Runtime?

2 Answers  


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?

0 Answers  


list me out the shortcutkeys for some functionlities in the qtp for example to record ,to run ... etc

2 Answers   CTS,


what are the principles of good testing scripts for automation?

1 Answers  


Why qtp the best testing tool?

0 Answers  


i have a window , initial its name is "NEW CUSTOMER" i have to enter the details of customer in the test object fields and after saving the window name is automatically changing with the customer name . so how to identify that window after saving. (i am using descriptive programming.)

5 Answers   Syntel,


Suppose Object name was changed in the application in the second build.I have just modified the name in the Object repository as changes in the Application. Is it possible to accure changes in the script accordingly? If so Suppose I am calling the script through function, Will the changes affect in the script(which is in the function)automatically? If not affected, tell me the solution,How to handle this. How should I change the object property name while using functions

4 Answers   Livetek,


How do we run a test from the 3rd row of the datatable in QTP? Leaving the first two rows we need to test AUT from 3rd row to n'th row.

3 Answers   Virtusa,


Which object model is not supported by QTP? a)COM b)DECOM c)DOM d)DCOM. Pls explain about theese object models?

1 Answers  


how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?

0 Answers  


What the differences are and best practical application of each.

1 Answers  


Categories