Get version of running application?
I'm testing an application on iOS. How do I get the relevant version info from the application via my script? The Mobile.Device gives me plenty of information about the current device, but I can't seem to find anyting similar for the actual application under test. Does it exist?
Lars Lund Olsen
Solved! Go to Solution.
I think what you are looking for is this:
In the example from the link above, you would want to use appObj.BundleVersion. This assumes you are trying to get the version of a known app with a known bundle ID.
Also, here is the full list of properties for other info about the app:
Thank you Corey!
Works great 🙂