GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Test Automation
Go To First  |  Previous Question  |  Next Question 
 Test Automation  |  Question 136 of 137    Print  
Identifying HTML Elements with same name
In an HTML page, if there are three checkboxes and all are having same names internally and externally, then while recording how it would be distinguished?


  
Total Answers and Comments: 2 Last Update: August 22, 2009     Asked by: darshanp 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: ashishks
 
You can use xpath or class name associated with check box or label associated with checkbox to identifiy same name elements.

Above answer was rated as good by the following members:
markfir
July 15, 2009 05:56:52   #1  
InkThink Member Since: April 2009   Contribution: 1    

RE: Identifying HTML Elements with same name
We should add some other property(through object identification) which uniquely identifies each checkbox. If there are no other properties which uniquely identify the object and the number of items is fixed I guess you can use index .
 
Is this answer useful? Yes | No
August 21, 2009 09:06:31   #2  
ashishks Member Since: December 2008   Contribution: 73    

RE: Identifying HTML Elements with same name
You can use xpath or class name associated with check box or label associated with checkbox to identifiy same name elements.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    

 Related Questions

In an HTML page, if there are three checkboxes and all are having same names internally and externally, then while recording how it would be distinguished? 
Latest Answer : You can use xpath or class name associated with check box or label associated with checkbox to identifiy same name elements. ...
Read Answers (2) | Asked by : darshanp


 Sponsored Links

 
Related Articles

Identifying SQA Issues

Identifying SQA Issues Software Quality Assurance is a good practice that every large scale business should employ IT related businesses have never hesitated to use SQA to ensure that the application they will release for their users or sell to their customers will live up to their expectations Iden
 

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
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Client-Server Testing Technology

Client Server Testing Technology Client Server Software Client server software requires specific forms of testing to prevent or predict catastrophic errors Servers go down records lock I O Input Output errors and lost messages can really cut into the benefits of adopting this network technology Test
 

JavaScript Elements and Embed Objects

JavaScript Elements and Embed Objects In this JavaScript tutorial you will learn about browser objects elements and embed properties of elements object length type embed object properties of embed object along with syntax and examples mosgoogle center elements object The elements object is used in J
 

UML Elements : Use Case Diagram

UML Elements Use Case Diagram In the Unified Modeling Language a use case diagram is a subset of the behavior diagrams The Unified Modeling Language will utilize the use case diagram as a graphical system which symbolizes use cases mosgoogle center It must be noted that UML will not define the stand
 

UML Elements : Sequence Diagram

UML Elements Sequence Diagram In the Unified Modeling Language the sequence diagram is the name that has been given to the Message Sequence Chart The sequence diagram will be responsible for showing various processes or elements that exist together simultaneously and it will often be represented by
 

UML Elements : State Diagram

UML Elements State Diagram The state diagram is used as a symbol for finite state machines It may also be used to represent state transition tables Of the 13 diagrams available in UML 2 0 the state diagram has some of the most variations In addition to coming in different forms it may also use vario
 

UML Elements : Class Diagram

UML Elements UML 2 0 is comprised of a total of 13 diagrams If you wish to understand these diagrams they should be organized based on a hierarchy For UML a diagram is an element which must define which things should be modeled in a system mosgoogle center Introduction to Class Diagram In this arti
 

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