how to uninstall program

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
Posts: 1
Joined: Sun Mar 01, 2015 1:51 pm

how to uninstall program

Post by pini4404 » Sun Mar 01, 2015 1:58 pm

i recored the install of X application and record the main test (functionality) and like to record the uninstall of this program.
i try to do it by give the path "appwiz.cpl" and simply record it ("right click on the app and next next and finish...") it work when i test it, but when i test it with many other application the ranorex wont recognize this spacific application.
so my question is if any other way to uninstall a program?

thank you.


User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: how to uninstall program

Post by Support Team » Mon Mar 02, 2015 4:42 pm

Hi pini4404,

The problem here is that the position of the application you want to uninstall can change within the table of applications. You therefore need to adapt the path to exclude the rownumber.
For example:
/form[@accessiblename='Programs and Features']//container[@accessiblename='Shell Folder View']/table[@accessiblename='Folder View']/row/cell[@text='YOURAPPLICATION']

Markus (S)