Micro Focus QTP (UFT) Forums
How to distinguish two textboxes having same properties in a same cell of a webtable - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: How to distinguish two textboxes having same properties in a same cell of a webtable (/Thread-How-to-distinguish-two-textboxes-having-same-properties-in-a-same-cell-of-a-webtable)



How to distinguish two textboxes having same properties in a same cell of a webtable - blanchedsouza - 06-12-2008

Hi,

If there are two text boxes having all the properties same but having a different color, in a single cell of webtable.
If I am not supposed to add those textboxes as a webedit in object repository. If I have to identify them only from the cell on the basis of the color, what should I do to set value in those text boxes.


RE: How to distinguish two textboxes having same properties in a same cell of a webtable - sreekanth chilam - 06-15-2008

Hi ,

You can use the "ChildItem" method to identify the required editbox from a cell by using Index property of editbox.

Just check it out .......


RE: How to distinguish two textboxes having same properties in a same cell of a webtable - blanchedsouza - 06-17-2008

Thanks sreekanth