Forum Discussion

HD's avatar
HD
Contributor
10 years ago

Testing installer (msi) with TestComplete

Hi,



I am trying to write installer UI automation test using TestComplete. But TestComplete does not recognises the installer.



this msi installer is created using InstallAware. Some of the topics on this suggessted to map msiexec process, but I don't see it on the object browser.



Can someone please help me with the steps that are needed to make it work.

4 Replies

  • HD's avatar
    HD
    Contributor
    Thanks Tanya,



    I actually found the issue.



    I run the installer with elevated priviliges, thats why it does not show up in the object browser.



    Once I started TestComplete as Admin problem was solved.
  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi,

     


    What is the class name of the installer window? You need to use this name to map it (if it's possible).


    Also, you can try adding the class to the list of accepted windows of MSAA or UI Automation. Refer to the "Improving Object Recognition" article for details.


     

  • HD's avatar
    HD
    Contributor
    Hi Tanya,



    How can I get the class name for the install process?



    Installer's MSI file is just a wrapper for the actual install application within. So when MSI is run using msiexec it launches an .exe application.



    Problem is that I am not able to see this on object browser, so there is no way to map it.