Trying to open the File Explorer to then browse to an executable to check its digital signature
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trying to open the File Explorer to then browse to an executable to check its digital signature
Hello there!
I want to verify the digital signature of an executable file (an installer) via TestComplete, but even though all the windows can be seen on the Object Browser (and thus can be mapped and manipulated via aliases), I'm stuck before that: how best to:
- Open the File Browser
- Go to the proper location (copy/paste of path on address bar I guess)
- Select (via "ClickR()" I would think) the expected installer to open the popup menu which has the Properties option.
I pasted as example WinSCP installer's Properties window.
I am totally stuck at opening the File Browser. I managed to open it (button on botom menu) but I simply cannot seem to paste the path of the executable on the address bar (will no allow SetText).
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may find these references useful
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
Hi,
I would do it via API excluding UI and File Explorer.
For example:
https://stackoverflow.com/questions/19052030/vbscript-read-digital-signature-of-file
https://www.vbforums.com/showthread.php?630167-RESOLVED-Determine-if-file-is-digitally-signed
https://www.google.com/search?q=powershell+check+file+digital+signature
/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
Thanks, but they are not what I want.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The powershell solution is sure interesting, but insufficient for the checks I want to do (just check for it to be valid is not enough).
I ended up doing it the old fashioned way: opened File Explorer, browsed (since I could not paste the path on the address bar) to the installer location, opened Properties dialog and checked everything I needed.
Thanks anyway for the suggestions!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good to know that the problem has been solved.
> since I could not paste the path on the address bar
This command
explorer c:\windows
opens Windows Explorer at C:\Windows folder.
So you may call
explorer <path to tested installer>
to exclude navigation in explorer and improve performance and reliability.
/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
================================
