Forum Discussion

Oferv's avatar
Oferv
Super Contributor
13 years ago

Uninstall an app from control panel

Hi,



is there an easy way of working with the control panel.

i'm trying to remove an app from the control panel-->add/remove programs and i was wondering if there's an easy way doing so.



Thanks

1 Reply

  • irina_lukina's avatar
    irina_lukina
    Super Contributor

    Hi Ofer,


    I'd recommend that you refer to the How To section of our web site to obtain the script (http://smartbear.com/support/viewarticle/9051/) that lets you uninstall the needed packages programmatically without accessing the Control Panel window.


    One more resource that may help is the http://www.viddler.com/explore/mrfalafel/videos/37/ video that explains how to use TestComplete's MSAA feature.


    If you need to access the elements of the Add or Remove Programs window directly from your test, please do the following:

    1. Open the TestComplete project's properties. For this purpose, select Tools | Current Project Properties from TestComplete's main menu.

    2. Expand the Open Applications section in the tree on the left.

    3. Select the MSAA item on the left.

    4. Click the Add button and enter the DirectUIHWND text to the ensuing item.

    5. Select the check box on the left of the added item.

    6. Select the UI Automation item on the left and repeat steps 4 and 5.

    7. Click the Save all button.


    This should help :)