Forum Discussion
HKosova
Alumni
14 years agoHi Sudhir,
To select an item by text or index, use the ClickItem method.
* Have the tested application running and ensure that the target objects are currently available in it.
* Re-record the test with the Tools > Current Project Properties > Name Mapping > Store Code Completion information option set to Full. See Saving Information on Methods and Properties of Mapped Objects for details.
I'd recommend the first approach, because the latter may result in a large size of your Name Mapping ("object repository") file.
To get the total number of combo box items, use the wItemCount property.
How i can get total Items present, Select item by ID, ref or name ?
To select an item by text or index, use the ClickItem method.
There're two ways to view the complete list of test object methods and properties when editing tests:
But it show only few method to select like Exist, RefreshMapingInfo,WaitAliasChild,WaitProperty,ClickItem
* Have the tested application running and ensure that the target objects are currently available in it.
* Re-record the test with the Tools > Current Project Properties > Name Mapping > Store Code Completion information option set to Full. See Saving Information on Methods and Properties of Mapped Objects for details.
I'd recommend the first approach, because the latter may result in a large size of your Name Mapping ("object repository") file.