cancel
Showing results for 
Search instead for 
Did you mean: 

TC 12.6 does not compile in VS 2017

SOLVED
Occasional Contributor

TC 12.6 does not compile in VS 2017

Test Complete 12.42 does not compile with VS 2017 version

We are currently using TestComplete V9.3.1 with Visual Studio 2013 & 4.5.2 DotNet Version. This is used to automate test cases for a desktop based application that uses client-server model.

 

We have planned to migrate to Visual Studio 2017 with 4.7.1 DotNet Version & also understood that TC 12.42 does support the Visual Studio 2017 integration. We tried to test the version for compatibility before upgrade & failed.

 

Steps followed:

1. Created a test machine with Win 7 64-bit Client

2. Upgraded VS from 2013 to 2017

3. Upgraded TC from 9.3.1 to 12.42

4. Ran compilation that failed.

 

We use TC dlls in our solution (C#)

1. AutomatedQA.script.dll

2. AutomatedQA.TestComplete.CSConnectedApp.dll

 

Errors:

 

1. Cannot convert type 'AutomatedQA.script.var.VarDelegate' to 'bool'

2. Cannot convert type 'AutomatedQA.script.var.VarDelegate' to 'int'

3. Cannot apply indexing with [] to an expression of type 'var.VarDelegate'

4. Cannot implicitly convert type 'AutomatedQA.script.var.VarDelegate' to 'AutomatedQA.script.var'

 

Appreciate your quick response on this to facilitate us in taking right TC version for migration.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: TC 12.6 does not compile in VS 2017

Starting in later versions, the connected application implementation for TestComplete was deprecated.  So, compiling objects into Visual Studio as you are doing MIGHT not work any more.  There is a new product called TestLeft that has taken over that particular functionality.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

1 REPLY 1
Highlighted
Community Hero

Re: TC 12.6 does not compile in VS 2017

Starting in later versions, the connected application implementation for TestComplete was deprecated.  So, compiling objects into Visual Studio as you are doing MIGHT not work any more.  There is a new product called TestLeft that has taken over that particular functionality.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post