Forum Discussion
Hi
It is not going to work, sorry
First of all, I have Visual Studio 2019 and also 2017 and none of these 2 will run the project at all because of the line that says Connect.TC["Visiable"] = true; that code will only run by maximum in Visual Studio 2013.
Error: Cannot implicitly convert type 'bool' to 'AutomatedQA.script.var.VarDelegate'
I was curious why, so I reversed engineer the assembly AutomatedQA.TestComplete.CSConnectedApp.dll
Within few minutes, I figured out why ConnectedApps have been obsolete and no longer supported for the last 6 years. It is just a pure mess how they were marshelling the types.
As I said earlier, I do not recommend the use of ConnectedApps and I am sorry if that answer is useless again to you.
My recommendation is for you to use the TestComplete TypeLibrary for 64 bit and use the Integration Object to execute the tests
// Obtains ITestCompleteCOMManager
// TestComplete.ITestCompleteCOMManager TestCompleteManager = (TestComplete.ITestCompleteCOMManager)TestCompleteObject;
// // Obtains Integration object
// TestComplete.ItcIntegration IntegrationObject = TestCompleteManager.Integration;
// // We have a reference to the integration object.
// // Now we can use its methods and properties to automate TestComplete.
// // Loads the project suite
// IntegrationObject.OpenProjectSuite("C:\\TCTests\\Valenca.pjs");
and go from there...
Cheers
-Lino
Thank you, but its not the answer.
I want to know why i cant use edit Keys method. Why i got acess violation.
Related Content
- 10 years ago
- 7 years ago
Recent Discussions
- 16 minutes ago
- 18 hours ago