Forum Discussion

lwashington's avatar
14 years ago

Could not convert variant of type (Null) into type (Integer)

Test Complete 8.7

WPF Thick Client with Telerik WPF controls



When trying to save a test, I'm getting an "Could not convert variant of type (Null) into type (Integer)" when selecting a combobox



What does this error means and do I have to go to my settings to enable a feature?

**** See attachment

1 Reply

  • Hi LaTricia,



    To help us investigate the problem, please follow the steps below:



    1. Download AQtime Standard, which is our free profiling tool, from our web site:

    http://downloads.smartbear.com/AQtimeStdx86.exe



    2. Install AQtime.



    3. Start AQtime with the -NotOpenApp command-line argument. For example, you can use the following command line:

    "C:\Program Files\SmartBear\AQtime 7\Bin\AQtime.exe" -NotOpenApp


    4. From AQtime's main menu, select File | New Project From Module....



    5. In the Open File dialog, select the TestComplete.exe file and click Open.



    6. Take a look at the AQtime toolbar - there is a combo box with a list of profilers. Open it and select Tracing | Exception Trace Profiler.



    7. Select the Options | Options... main menu command. The Options dialog will appear.



    8. Select the Profiling Time | Event View | General category.



    9. Under the Debug Events group, select the Generate dump on exception check box and specify the Dump folder.



    10. Under the Exceptions group, set Depth shown to 100. Close the Options dialog.



    11. Click the Run toolbar button (the green arrow) or press F5 to start the profiling.

    AQtime will start TestComplete and trace all errors that will occur in TestComplete until it's closed.



    12. Reproduce the problem in TestComplete.



    13. After the problem occurs, right-click somewhere within the Event View panel (it is opened by default at the bottom of AQtime's window) and select Save All....



    14. Save the panel's contents to an HTML file.



    15. Open a support ticket and send our Support Team the generated HTML file and the dump (.dmp) files from the Dump folder.



    Thanks in advance.