Ask a Question

Automating core applications list in Control Panel

SOLVED
mkaronga
Occasional Contributor

Automating core applications list in Control Panel

In our organisation, we are currently trying to automate the programs and features core applications list. We need to be able to check that after a device has been built, all core applications have been properly applied and have the correct version. Currently when you record a test it is looking as the list as a container and not as individual applications. Is there a workaround for this?

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: Automating core applications list in Control Panel

Hi,

 

Either split obtained string and extract version number from it, or get the same information but using pure code without opening Programs and Features window. E.g.

https://stackoverflow.com/questions/48125979/how-to-get-only-those-software-list-which-are-in-progra...

https://www.vbsedit.com/scripts/apps/user/scr_226.asp

https://www.devhut.net/2013/10/23/determine-installed-version-of-any-ms-office-program-vbscript/

https://www.google.com/search?q=vbscript+windows+programs+Features+get+version

 

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
================================

View solution in original post

9 REPLIES 9
Marsha_R
Community Hero

Re: Automating core applications list in Control Panel

What language is your application under test written in?


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
mkaronga
Occasional Contributor

Re: Automating core applications list in Control Panel

We are not using a a scripting language we are recording keyword tests and we have found a solution for now but it only records the application in full rather that the application and its version.

Marsha_R
Community Hero

Re: Automating core applications list in Control Panel

Good to know that you are using keyword tests, but what I was asked is what language the application you are trying to test is written in.  There are different setup steps for getting TestComplete to recognize all your objects depending on what your developers are using, .Net or C++, and so on.


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
mkaronga
Occasional Contributor

Re: Automating core applications list in Control Panel

Hi sorry, it reads our keyword scripts in JavaScript.

Marsha_R
Community Hero

Re: Automating core applications list in Control Panel

What is the application are you trying to test?  Is it a webpage or a desktop application?  What language is that written in?


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
mkaronga
Occasional Contributor

Re: Automating core applications list in Control Panel

The applications to be verified are found on the desktop in programs and features. This is desktop testing we are currently doing. We just need to verify that the application is listed and has the correct version. By application it can be any application listed. This is written in javascript.

AlexKaras
Community Hero

Re: Automating core applications list in Control Panel

Hi,

 

it only records the application in full rather that the application and its version.

Can you provide a screenshot of what you've managed to get?

Any problem to split the obtained information to name and version parts?

 

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
================================
mkaronga
Occasional Contributor

Re: Automating core applications list in Control Panel

Yes so what we managed to do is we changed the project settings using the following filepath:

Tools > Default project properties > project > open applications > MSAA and then clicked on the first check box which was against the asterisk (*). This has enabled us to select each application individually however we would like to split it even further into application name and then the applications version.

 

I have also linked the screenshot from TestComplete.

 

If you have any pointers on how to do this that would be great 🙂

 

AlexKaras
Community Hero

Re: Automating core applications list in Control Panel

Hi,

 

Either split obtained string and extract version number from it, or get the same information but using pure code without opening Programs and Features window. E.g.

https://stackoverflow.com/questions/48125979/how-to-get-only-those-software-list-which-are-in-progra...

https://www.vbsedit.com/scripts/apps/user/scr_226.asp

https://www.devhut.net/2013/10/23/determine-installed-version-of-any-ms-office-program-vbscript/

https://www.google.com/search?q=vbscript+windows+programs+Features+get+version

 

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
================================

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: