GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 673 of 684    Print  
How to make QTP understand the difference with same type of objects
Suppose there are 10 of check boxes in a page and i have to choose the 6th one, how to do that through script?


  
Total Answers and Comments: 2 Last Update: February 15, 2009     Asked by: geekarijit 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: researchingmiddleware
 
Use the Ordinal identifiers (index) property...each of the objects will have a different index value

Above answer was rated as good by the following members:
naglaxmi, sivagarlapati, mathan_vel, sonushah24
October 08, 2008 09:21:49   #1  
researchingmiddleware Member Since: October 2008   Contribution: 1    

RE: How to make QTP understand the difference with same type of objects
Use the Ordinal identifiers (index) property...each of the objects will have a different index value
 
Is this answer useful? Yes | NoAnswer is useful 4   Answer is not useful 0Overall Rating: +4    
February 14, 2009 01:26:16   #2  
priyankvyas Member Since: December 2008   Contribution: 12    

RE: How to make QTP understand the difference with same type of objects

QTP identifies the object in following manner-


1) First with mandatory and assistive property. If these are not sufficient
then "Ordinal Identifier"

2) By using "Smart Identification".


In your case you have different object of same type. First they have
different names so object will be identified easily.

If there are more than one object with the same name than use "Ordinal
Identifier - Index".

With "Index" property object will be identified.


 
Is this answer useful? Yes | No

 Related Questions

Operates stand-alone, or integrated into Mercury Business Process Testing and Mercury Quality Center. Introduces next-generation “zero-configuration” Keyword Driven testing technology in QuickTest 
Latest Answer : Object spy is used in QTP for Descriptive Programming. to Identify the Object properties ...

Latest Answer : Object Repository is a place where Object's logical name store along with physical properties .and when this possible when we set the repository. There are two type of repository (1) Per action (2) Shared object repository I would say share object ...

Latest Answer : By Using Object Identification method - "Ordinal Identification", we can handle the dynamic objects. ...

Latest Answer : Actions are three types: 1. Non - Reusable : These Actions are used in the Test itself. We Can't use it outside the test.2. Reusable : These are the reusable actions, we can use it outside of the test.3. External : These are the reusable actions, ...

Latest Answer : Per_Action Repository : It can be used within the test itself.Shared Repository : These can be used in any test. It is placed in central repository. by associating the shared repository, we can use. ...

How to do the scripting.  Is there any inbuilt functions in QTP as in QTP-S.  Whatz the difference between them?  how to handle script issues? 

Latest Answer : I will agree with both Kalpana and Vidya Sagar and I will add some more,Output values are used for as input to other tests ware as check points are only comparing also used within the test only. ...

3 types of recording modes in QTP.1.norma 2.analog mode 3.low level recording mode.pls describe where we use them exactly.. 
Latest Answer : There are three types of regarding modes available in QTP 1.Normal:     Script is generated based on the properties of the object which is default one.Note:   Usually we use Normal regarding mode only...where the mouse movements r not required there ...
Read Answers (7) | Asked by : latha

I am using the QTPlus Repositories Merge Utility to merge all my different repositories into a single one. After having merged some repositories, I notice that, from the test, you can't see the web objects that were merged into the reposotory.If you open the merged repository in the Merge Utility, the web objects appear there.Has anyone encountered this problem? Am I missing something obvious? Does anyone have a solution?Thanks in advance.
Read Answers (2) | Asked by : Shaun

Latest Answer : Corresponding Addins are added for the Activex Control to be identified ...
Read Answers (2) | Asked by : Srinivas reddy


 Sponsored Links

 
Related Articles

SQA Software and Tools

SQA Software and Tools In quality assurance it is always important to get all the help we could get In other industries developers could easily check the products manually and discard those that do not meet the standard The length and the width of the product are checked to maintain standardization
 

Business Network Virtual Communication Tools

Business Network Virtual Communication Tools Since ages the Business community heavily relied on face to face communication for building Business relationships Face to face communications formed the basis for trust in a relationship An individual’ s appearance or the physical appearance of
 

C++ Objects and Classes

C Objects and Classes An Overview about Objects and Classes In object oriented programming language C the data and functions procedures to manipulate the data are bundled together as a self contained unit called an object A class is an extended concept similar to that of structure in C programming l
 

JavaScript Objects

JavaScript Objects Object oriented Programming in an important aspect of JavaScript It is possible to use built in objects available in JavaScript It is also possible for a JavaScript programmer to define his own objects and variable types In this JavaScript tutorial you will learn how to make use
 

What are Data Access Tools

Data access is the process of entering a database to store or retrieve data. Data Access Tools are end user oriented tools that allow users to build structured query language (SQL) queries by pointing and clicking on the list of table and fields in the data warehouse. Thorough computing history, t
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

SQL Management Objects

The object model for SQL Server 2005 is the SQL Management Objects or SMO. This model is simple in conception and usage and is based on .NET Framework managed code. It is the primary tool for developing databases management applications using the .NET framework or the SQL server management studio op
 

Testing and Integration

Once the software is complete, it will go though rigorous testing before its actual integration.  In this article we will take a look at different types of software testing and also different types of integration. With the diversity of business setting and software development models, it al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

SAP and Microsoft tools for Customer Service

World’s largest car dealer to use SAP and Microsoft tools for Customer Service Inchcape, the London-based largest car dealer in the world, is making itself much strong now by improving its customer services arising from major SAP and Microsoft implementations. The company has also vowed to
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape