Contributions
Re: object not
Hi Thanks for the reply. I took these screenshots one after the other, without closing the dialog box. I eventually just set "Stop on Error" off and manually click the button. It means I must man the test, but at least I can get my work done. Thanks for the suggestion, I'll use it and give feedback.1.3KViews0likes1Commentobject not
I'm trying to run a test and I have this situation where a button will not get clicked because TestComplete says it's not visible on the screen. I have checked it in the Object Browser, and it's visible, but when I check it on the NameMapping screen, it's shown as not visible. Is there any way I can resolve this? Attached are screenshots. Thanks.1.4KViews0likes3CommentsEnter current licence in software
Hi We have an active node-locked licence for TestComplete. We need to enter the licence information onto TestComplete, however there are no options to do that. We have options to either activate a new licence or deactivate the current one. What I'd like to know is, can we deactivate, then reactivate the licence? Or should we uninstall and reinstall TestComplete and enter the licence information from scratch? Thanks.728Views0likes1CommentRe: Error Message: Can not create TestComplete object
Figured it out. Either: Right click on Hello.exe > Properties > Run as Administrator; or Right click on Visual Studio's Shortcut > Properties > Run as Administator. Here's an article detailing how to run projects as Administrator. https://inphamousdevelopment.wordpress.com/2010/10/17/allowing-your-visual-studio-project-to-run-as-administrator/1.8KViews0likes0CommentsRe: TestComplete looking for nonexistent file and folder when running Connected App
Figured it out. Either: Right click on Hello.exe > Properties > Run as Administrator; or Right click on Visual Studio's Shortcut > Properties > Run as Administator. Here's an article detailing how to run projects as Administrator. https://inphamousdevelopment.wordpress.com/2010/10/17/allowing-your-visual-studio-project-to-run-as-administrator/923Views0likes0CommentsTestComplete looking for nonexistent file and folder when running Connected App
Hi I'm trying to run the C# Connected App sample, Hello. I'm just confirming that the connected app feature works before I commit development time to developing my own app for the software I'm testing at work. When I try to run the sample, I get an error saying "Can Not Create TestComplete Object". Then this dialog screen comes up, it is looking for a folder and file that doesn't exist on my computer. I'm not sure itf this is related to my earlier query, however it's impeding my ability to create a test suite using C#. Attached is the aforementioned dialog, and I've highlighted the folder it's looking for. Is there any guidance on how I can resolve this issue? Thanks. IMolSolved943Views0likes1CommentRe: Error Message: Can not create TestComplete object
I got the error from the Visual Studio error handler: System.Exception was unhandled Message=Can not create TestComplete object. Source=AutomatedQA.script StackTrace: at AutomatedQA.script.var.GetObjectAlternative(String Name, String AlternativeName) at AutomatedQA.TestComplete.Connect.TBaseTCClass.GetTestCompleteIntegration() in D:\Builds\TC11.3\Src\TC\ConnectedApp\dotNet\CSConnectedApp\ConnectedApps.cs:line 29 at AutomatedQA.TestComplete.Connect.IntegrationClass.Init() in D:\Builds\TC11.3\Src\TC\ConnectedApp\dotNet\CSConnectedApp\ConnectedApps.cs:line 52 at AutomatedQA.script.var.get_Item(String name, var[] args) at AutomatedQA.TestComplete.Connect.RunTest(String LogName, String ProjectName, String SuiteName) in D:\Builds\TC11.3\Src\TC\ConnectedApp\dotNet\CSConnectedApp\ConnectedApps.cs:line 533 at Hello.Form1.button1_Click(Object sender, EventArgs e) in c:\Users\Public\Documents\TestComplete 11 Samples\Desktop\Connected Applications\Hello\C#\Form1.cs:line 109 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) at Hello.Form1.Main() in c:\Users\Public\Documents\TestComplete 11 Samples\Desktop\Connected Applications\Hello\C#\Form1.cs:line 104 at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() InnerException: Which folder isD:\Builds\TC11.3\Src\TC\ConnectedApp\dotNet\CSConnectedApp\ConnectedApps.cs, or where can I perhpas change where it's looking for this file? Thanks. IMol1.8KViews0likes0CommentsError Message: Can not create TestComplete object
Hi I've opened one of the C# samples, Hello, because I'm creating a Connect Application. However, when I click on the execute button, I get this error message: System.Exception: Can not create TestComplete object. at AutomatedQA.script.var.GetObjectAlternative(String Name, String AlternativeName) at AutomatedQA.TestComplete.Connect.TBaseTCClass.GetTestCompleteIntegration() at AutomatedQA.TestComplete.Connect.IntegrationClass.Init() at AutomatedQA.script.var.get_Item(String name, var[] args) at AutomatedQA.TestComplete.Connect.RunTest(String LogName, String ProjectName, String SuiteName) at TC_CS_Tester.Form1.button1_Click(Object sender, EventArgs e) This is the problem line: TestClass.RunTest("TestLog", "Hello_C#_C#Script", Application.StartupPath + "\\..\\..\\TCProject\\Hello.pjs"); I'm using TestComplete 11.30.2298.7 on Windows 8.1. I've tried it on both Visual Studio Express and Community 2013. I've tried it with TestComplete open and closed. I've also tried it in administrator mode, but to no avail. This also happens with every other sample project. Is there a setting I'm missing? I've also attached the messagebox that comes up when I click Execute. Thanks. IpelengSolved1.8KViews0likes2Comments