Micro Focus QTP (UFT) Forums
HTML input element names - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: HTML input element names (/Thread-HTML-input-element-names)



HTML input element names - flexdev - 05-12-2012

Hi -

I'm getting this new error on my HTML page I'm testing:

The object was found, but Smart Identification was necessary to identify it.

Object
Page Page

Step:
Code:
Browser("Browser".Page("Page").WebEdit("meetingId")

The HTML page I'm testing consists of several forms; one on top of the other. Each form has its own submit button.

The part I'm thinking may be the problem is that several <input> elements have name="meetingId" or "meetingid" (across forms). Is this bad form? Could this be the root of the problem I'm seeing?

Thanks for any helpful tips.


RE: HTML input element names - falvi - 05-25-2012

you should try and explore some properties using Object Spy, that are unique to this webedit, and when you add the object in Object repository, there is a green '+' sign, through there, you can add those unique properties to this object's identification. e.g. abs_x, abs_y, html id, or any other property, if there are multiple elements with same properties, then use the index identifier..