larolsen
10 years agoContributor
Get version of running application?
Hi
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?
Best regards
Lars Lund Olsen
I think what you are looking for is this:
http://support.smartbear.com/viewarticle/74508/
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:
http://support.smartbear.com/viewarticle/68466/
-Corey