Forum Discussion

wellington_mach's avatar
wellington_mach
New Contributor
12 years ago

setting the SysListview32 checkbox when listitems' checkbox is not addressable

My challenge is I need to be able to a ddress and check the boxes associated with a row OR uncheck.



sysListView32.ClickItem(15, 0);  sysListView32.SelectItem(15, 0); only works to highlight the row but not check the box



CheckItem gives the error "The list view items have no check-boxes"

 Please the images with the gui and syslistview object properties from TC

2 Replies

  • jkrolczy's avatar
    jkrolczy
    Super Contributor
    An action I always I do to try to figure these kinds of roadblocks is to

    do a quick script recording. 



    Start the script recorder and perform the action(s) you are trying to do.

    Stop the recording and see what script code TestComplete generates.



    This will at least give you an idea of something to go by and highly possible

    to give you the solution you are looking for.



    JamesK