Forum Discussion

Hala2020's avatar
Hala2020
New Contributor
5 years ago

Identify the installation of application

Hi Buddies,
I have a test case to verify whether an application under test is installed before starting it.

How to achieve by scripting using javascript?

 

Hoping for reply,

 

Thanks,

  • Some ideas:

    - Check filesystem

    - Check Windows Registry

    - Ask Win32 API

    - Check install method

     

    Some questions to answer before making a robust solution:

    - Which kind of app (Windows, Windows 10 app, services application, ...)

    - Fixed install directory or not ?

    - 32 or 64 bits ?

    - Installation method (msi, ...)

     

    How will you do yourself ?

     

     

     

  • BenoitB's avatar
    BenoitB
    Community Hero

    Some ideas:

    - Check filesystem

    - Check Windows Registry

    - Ask Win32 API

    - Check install method

     

    Some questions to answer before making a robust solution:

    - Which kind of app (Windows, Windows 10 app, services application, ...)

    - Fixed install directory or not ?

    - 32 or 64 bits ?

    - Installation method (msi, ...)

     

    How will you do yourself ?

     

     

     

  • Hala2020's avatar
    Hala2020
    New Contributor

    I will try to implement the suggested solution and let you know

    • sonya_m's avatar
      sonya_m
      SmartBear Alumni (Retired)

      Hi Hala2020 any luck with this so far?

      Please share you progress with us and the Community will try to help you out more if need be!