Forum Discussion

ashokkumareds's avatar
ashokkumareds
Contributor
11 years ago

Testcomplete fails to identify 'NewCheckListBox' objects of inno setup installers

Hi,

I am automating a win32 application whose installer was earlier an InstallShield.

Now our tem is migrating to InnoSetup opensource. Testcomplete is not able to identify few objects ex:NewCheckListBox.



i tried object mapping this control to ListView and TreeView of Win32, no luck.

Can this be achieved in testcomplete by means or am i going wrong some place.

Please suggest. Any help is appreciated.



Thank you.

3 Replies

  • Hi Tanya,



    Thank you for the response. we tried the MSAA but it did not work.



    Today we tried to map this object to "Win32 List box" and surprisingly it is exposing the properties & methods.



    1. The "wItems", "wItemCount", "ClickItem(name/index)" etc.. are available now.

    2. Each list item (which is a Checkbox  object) can be selected/deselected using "SelectItem(objItem, true/false) of the 'NewCheckListBox' object.



    Thank you.



    Regards,

    Ashok

  • Hi Ashok,


     


    The Object Mapping will work only if the NewCheckListBox control is inherited from the one you mapped to. You can try using the MSAA or UI Automation technology to recognize the control. For this, you need to add the control's class name to the corresponding Tools | Current Project Settings... | Open Application settings.