Forum Discussion
Hi hrothrock,
Does TestComplete bring this error? Do you see the TC logo on the error dialog?
Is it possible that you run the function that has some parameters? For example, your code is inside a function like this:
function test(a, b) var aCon, RecSet; aCon = ADO.CreateADOConnection(); aCon.ConnectionString = "Data Source=remoteDesktopAddress, portNumber;Initial Catalog=NameOfDatabase;user id=SQLuserName;password=SQLPassword"; aCon.Open(); }
If you have the parameters in the function, you cannot run a routine via right-click.
Could you please check this?
Tanya, I have no parameters in my function. I have tried this (accidentally) in the past and the option to run the function is disabled. I am not sure what program other than TestComplete would be returning the error but I guess it's possible?
Thanks.
- TanyaYatskovska6 years ago
Alumni
Hi hrothrock,
Thanks for checking this. It sounds like this question requires a deeper investigation. Could you please zip your project and send it to the TestComplete Support Team? They will analyze the project and come back to you with the solution.