How to check whether a software is available or not in our machine using testcomplete tool.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2021
12:05 AM
09-09-2021
12:05 AM
How to check whether a software is available or not in our machine using testcomplete tool.
Hi,
I need some information/javascript code to check whether a software is available or not in my machine in automate manner.
If I run the test- it has to check in control panel whether the given software is available or not.
If available- it has to print - yes it's available.
Thanks in advance.
I need some information/javascript code to check whether a software is available or not in my machine in automate manner.
If I run the test- it has to check in control panel whether the given software is available or not.
If available- it has to print - yes it's available.
Thanks in advance.
3 REPLIES 3
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2021
10:04 AM
09-09-2021
10:04 AM
You can use this method to look for the program file in the folder for the start menu.
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqfilesystem/exists.html
Marsha_R
[Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2021
02:29 AM
09-10-2021
02:29 AM
Hi,
The actual check (and, thus, the code) depends on your tested application. It might be just a check of some folder, as it was suggested by Marsha; or it might be a query to WMI; or some other flag that indicates whether or not the tested application is installed in the system.
Regards,
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
/Alex [Community Hero]
____
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2021
05:38 AM
09-14-2021
05:38 AM
Thank you Marsha and Alex!
@Shiva_Kumar could you mark the best reply as a solution here? This will be very helpful for all TestComplete Community members.
Sonya Mihaljova
Community and Education Specialist
