Ask a Question

Mobile.Device.OSInfo.ProductVersion throws Object required error


Mobile.Device.OSInfo.ProductVersion throws Object required error

We have migrated our scripts from testcomplete 12 to TestComplete 14.2.
All our scripts executed fine in older version with device iPad mini iOS version 11.
Now following script line thows object required error:
DeviceVersion = Mobile.Device.OSInfo.ProductVersion
Device used: Ipadmini ios 12.3.1
Can anyone please help me to solve this error?

Champion Level 2

You should contact Support directly with this question.  Here's the link:

Champion Level 2



In addition to what was suggested by Marsha, you may try to set a breakpoint at the problematic line and Evaluate it part by part in order to figure-out what clause erors out.

I.e. first evaluate Mobile.Device, then Mobile.Device.OSInfo and finally the whole Mobile.Device.OSInfo.ProductVersion line.


> We have migrated [...] to TestComplete 14.2.

OK, the latest released version is 14.10.1042, so the root of your problem might be because of using some sort of TC Beta version.


  /Alex [Community Champion]
[Community Champions] 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 Champions]
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 Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
Showing results for 
Search instead for 
Did you mean: