NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read a particular software version installed

Solved!
Go to solution

How to read a particular software version installed inside TestStand?

 

I wanted to read a particular tool version installed on the machine to log inside my test report.

0 Kudos
Message 1 of 6
(2,996 Views)

Do you pull this from the registry?  Add/Remove Programs?  Where can you get this info?

 

You can use additional results to log the actual version.  Or you can put in in the Report Text of a step.  Just depends on what you are going for exactly.

 

Does it impact the pass/fail status of the test?  If so then a String Value Test would probably be the best.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 6
(2,985 Views)

I there any dos command which we can execute and read the result in TestStand?

0 Kudos
Message 3 of 6
(2,976 Views)

I am testing a tool which is installer. I wanted to run tests for this tool and wanted to log the version currently installed on the PC as an tool version I am executing tests for.

 

I got on dos command which can read the installed version. But I am not sure how I can read the command response in TestStand.

 

0 Kudos
Message 4 of 6
(2,975 Views)
Solution
Accepted by topic author joshisagarr

https://forums.ni.com/t5/Community-Documents/Display-and-execute-command-lines-from-within-a-TestSta...

 

Try this. It should get you pointed in the right direction.

 

Hope it helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 6
(2,964 Views)
Solution
Accepted by topic author joshisagarr

Here is the DOS command to read a particular version of the Software

 

wmic product where "Name like '%App Name%'" get Name, Version

0 Kudos
Message 6 of 6
(2,928 Views)