TestComplete Running on 64Bit?

Here is a Quick Tip to find out if TestComplete is running on 64 Bit or 32 Bit OS Platform.

If dotNET.System.Environment.Is64BitOperatingSystem = True Then
 Log.Message("64Bit")
Else
 Log.Message("32Bit")
End If

You can access the .NET Framework System.Environment class’s property Is64BitOperatingSystem to find out if the OS Platform is 64 Bit or 32 Bit using the TestComplete dotNET object. The dotNET object allows access to .NET Framework classes as well as custom assemblies through TestComplete.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s