Ask a Question

Mobile.Device.OSInfo.ProductVersion throws Object required error

Archana_72
Contributor

Mobile.Device.OSInfo.ProductVersion throws Object required error

Hi,
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?

2 REPLIES 2
Marsha_R
Champion Level 2

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

https://support.smartbear.com/message/?prod=TestComplete

AlexKaras
Champion Level 2

Hi,

 

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.

 

Regards,
  /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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
cancel
Showing results for 
Search instead for 
Did you mean: