cancel
Showing results for 
Search instead for 
Did you mean: 

Mobile.Device.OSInfo.ProductVersion throws Object required error

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
Community Hero

Re: Mobile.Device.OSInfo.ProductVersion throws Object required error

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

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

Highlighted
Community Hero

Re: Mobile.Device.OSInfo.ProductVersion throws Object required error

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 Expert Group]
____
[Community Expert Group] members 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. Postings made by [Community Expert Group] members
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.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win