Micro Focus QTP (UFT) Forums

Full Version: How to select the check box from the table (only scripts, no recording)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ,
How to select the Check box from the table(it is a dinamic table), when i give the unique property value in the code it says ur application is the object more than one time. But i am taking unique value only.

conside 5 row are present with the personel name.
i am taking the Nmae of the second person.[/align]


Code:
------
Code:
Browser("name:=Chordiant Unified Desktop").Page("title:=Chordiant Unified Desktop").WebElement("innerhtml:=V_INT_41_Chargeback").Click

Result:
-------
The "[ WebElement ]" object's description matches more than one of the objects currently displayed in your application. Add additional properties to the object description in order to uniquely identify the object.
HI Maheswaran,

Please follow the below steps.
1) Click on the specified cell in the table.
2) Use child object concept (As the cell will convert to Check box when you click on the cell in table).
3) Now check on the check box.

Let me know if you need any more info.
Hi,

Use some other property like name or use multipe properties. This may solve your problem..
Code:
Browser(name:=B).Page(title:=P).webcheckbox("name:=name", "inner html:=inner html").Set "ON"
Thanks,