Forum Discussion

djhenrya's avatar
djhenrya
New Contributor
13 years ago

Testcomplete 9 : dotNET is undefined.

Hi,



I get " 'dotNET' is undefined" error.

1. I have installed the related .net on the computer.

2. all plugins are installed.

3. I have tried reinstalling the program.



The computer is running windows xp. it has .net componenets installed (1.1,2,3,3.5,4).

Visual studio 2005 is installed.



I would also like to note that Code Completion does not show assemblies when I try to use it. It used to show available assmblies after I typed 'dotNET["' , but now it doesn't.



I have another computer running windows 7 and testcomplete demo which has the feature working.

2 Replies

  • Hi Henry,



    This issue typically happens if the .NET Framework is installed after TestComplete, or if some .NET Framework updates are installed via Windows Update on a TestComplete computer. In this case, reinstalling TestComplete resolves the problem:

    - uninstall TestComplete;

    - delete the "C:\Program Files\SmartBear\TestComplete 9" folder if it was left on the disk (correct the path appropriately);

    - restart the computer;

    - install TestComplete anew.



    Also, if you're using a 32-bit Windows version, make sure that Preferred architecture of the assembly hosting process is set to 32-bit or The same as the operating system (not 64-bit).



    Please let me know whether this helps.
  • djhenrya's avatar
    djhenrya
    New Contributor
    Hi Helen,



    Your guidance helped, and now I am able to load the DLL using the dotNET object.



    Thanks.