clicking on subitem of sysListView control
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
clicking on subitem of sysListView control
In our desktop application there is a sysListView control. In that control there are checkboxes. I want to click on checkbox.
How to do this.
I tried clickItem, CheckItem methods. But not able to click on subitem. Please refer to attached image.
Could you please guide me in this?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you please provide screenshot of object properties and methods with the help of object spy? Name and Mappedname will help.
Mrunal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Swati,
Please attach object properties screenshot also.
Mrunal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Swati,
Try with using
WItem.Click()
refer this link :- https://support.smartbear.com/viewarticle/68276/
Mrunal
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Mrunal for your help.
Actually I have tried using wItem but it gives error as object required.
Also I tried using wchecked but TestComplete doesn't returns state of the checkbox. It gives error as 'the list view items has no checkboxes'.
I tried like this.
log.message Aliases.SisXV.dlgManageLayouts.SysListView32_ManageLayouts.wChecked(1)
or
Call Aliases.SisXV.dlgManageLayouts.SysListView32_ManageLayouts.wItem(1, 1).Click
If you have any example please share with me. I have gone through Smart Bear documentation on this but not getting how to use wItem for my object.
Thanks and Regards,
Swati
