Forum Discussion
It would be helpful to see a code snip and an error screen shot. Is the issue limited to finding and starting an instance of the tested application? I have resolved issues like this where the app installer behaves differently for newer operating systems. In such cases I had to check for the OS type and handle the tested app accordingly. For example some apps will install in Program Files in one OS and Program Files (x86) in another.
Another option is to write code to search the file system or registry and alter the tested app path accordingly. I also have code for this.
This is how you would access OS version information. This could be used to change the behavior of you TestedApp search.
var osName = Sys.OSInfo.Name;
var osVersion = Sys.OSInfo.Version;
var osBitness = Sys.OSInfo.FullName;
OS Name: Win11 0.00 8:13:02:678 Message
OS Version: 10.0 Build 22631 0.00 8:13:02:678 Message
OS Full Name: Microsoft Windows 11 Enterprise, 64-bit 0.00 8:13:02:678 Message
Sorry I keep editing this....
I run code in the On Start Test Event to verify, log things and conditionally perform actions as needed.
- hkonakanchi11 months agoOccasional Contributor
All my test applications are invoked through UI action where they are launched by clicking on a launcher application which itself is invoked by TestedApp["launcher"]run() . They do not change thrie path, but believe something is causing this behaviour where it runs successfully on prior versions