Page 1 of 1

how to uninstall program

Posted: Sun Mar 01, 2015 1:58 pm
by pini4404
hi.
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.

P.A

Re: how to uninstall program

Posted: Mon Mar 02, 2015 4:42 pm
by Support Team
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']

Regards,
Markus (S)