get version text from app
I have an app there the version is changing frequently and i need to get it all the time to check what version it is on right now.
The problem is that the text of the app is on the same white background in NameMaping and i can't change it, because it is one element. (Capture.png)
As well i can take the current version from my DB table. But i can't find the way to insert the variable to the test, because then i pass the login page the version title will dissapear.
Maybe there is a way to insert my variable from DB table into a script so i can get the current version ?
TestComplete v 14.0.308.7
I am new to all of this so i am not sure if i am explaining everything clearly. So if you need any more information just let me know.
Thank you very much.
Hi,
Alternatively, you may try the Version property of the AppInfo object: https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/misc/appinfo/version.html