TypeError: Sys.WaitBrowser is not a function - Caused by DIsabled Extension
I had something odd happen, and I was able to resolve it, but I am not sure why it occurred. So, I thought I would share it with others who may run across the same issue, since I was not able to find any information in the forums. I restarted my computer, after fully closing out of TestComplete. After I opening TestComplete and my Project file, when I ran a test I had run earlier I got a "TypeError: Sys.WaitBrowser is not a function" dialog as shown here: This particular function has not been changed in years, so it was puzzling why it suddenly stopped working and would not identify my open browser window. Turns out, somehow in the restart of TestComplete or my computer that the Web Module was disabled. After an hour of wasted time, I finally figured out that was the issue. To resolve, go to File --> Install Extensions --> Enable the Web module... This occurred in Version:15.49.6.7 x64641Views4likes2CommentsSelecting an item from List box based on the name using
Hello, I am fairly new to Test Complete and just learning, can someone show me using my example I provided here on selecting the specific item (see screenshot) from the web List box that I show highlighted in the Element screen ? What is the best method to use to search and select (click) the item as the current item in the menu? I would also like once I get the basic to search the item in the list box that I have stored in the patient variable where I would get from another screen (another script test/keyword test) so I can look for it. Here are two methods I found;page.NativeWebObject.FindandaqObject.CheckProperty but not sure which is best to use in this case.If you know something better and please if you can provide it with this example. I would also like once I get the basic to search the item in the list box, I would like to reuse the patient variable where I would get from another screen (another script test/keyword test) and apply it to the search item on the list. Can someone show me how to apply it in JavaScript using the sample I provided? ELEMENT SCREEN: SPY TOOL:Solved592Views2likes2CommentsRemove the "improve your test performance" in test log
Hello, After the latest TestComplete update, the testlogs now show the message "Improve your test performance". In those logs TestComplete tells us that we can move our xPath selectors to increase the performance. We are aware of this but do not want to do this. Is there a way to deactivate these messages as we now only get warnings about performance? Kind regards, Luuk1.9KViews2likes7Commentsproblem with dotNet.System_IO.File.WriteAllText
Hi folks, I'm using methoddotNet.System_IO.File.WriteAllText to write some data to CSV. The thing is it started to fail with below JavaScript error... It definitely worked before. But I'm not quite sure, when it started to fail, because it's in a part of code, which is used only occasionally (to create new ref. data). Of course, I'm aware that I can use aqFile.WriteToTextFile function. But it creates a file with BOM, which I need to avoid. Therefore, I was using above dotNet method (as suggested here). Any idea what's wrong with my code? Thanks.36Views1like2CommentsIssue with Visible/VisibleOnScreen detection
I have a script where I want to assert an object is no longer visible on screen after an action. Both of these scripts pass when the object is humanly visible on screen: aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "Visible", cmpEqual, true); aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "VisibleOnScreen", cmpEqual, true); When the object becomes humanly invisible on the the screen, these scripts fail: aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "Visible", cmpEqual, false); aqObject.CheckProperty(Aliases.browser.pageDashboard.headerRelatedMessages, "VisibleOnScreen", cmpEqual, false); This seems like it would be a very common use case so I assume I am just doing something wrong but not sure what..Solved378Views1like3CommentsHow to reinstall test complete on your machine once uninstalled
Hi community I have been having numerous issues with test completes latest version and i was advised to uninstall if the issues persists. I have uninstalled test complete but now i have lost my way. How can I reinstall test complete on my machine? Kind Regards, TinaSolved7.2KViews1like18CommentsTestComplete and TestExecute does not support Chrome version 113
On wednesday May 3rd I reported a problem with TestComplete and TestExecute could not connect to Chrome version 113.0.5672.64 Case #00549796 Response from Support: "As a temporary solution, we suggest using a different browser such as Firefox instead of Chrome or Edge." As have been said by another member: We must test with the browsers most of our customers are using. As we are a large company that has high focus on security we have to use the newest version the browsers. SmartBear with TestComplete is still only supporting up to Chrome version 99. What is happening at SmartBear ? Customers are expecting more from a large company as SmartBear.356Views1like2CommentsWeb Testing running javascript code from page: can not access to members
Hello! I am testing a web app in Edge. When I start the web app by myself in Edge, open the developer tools with F12 and go to the console, there I can call a member called 'allShapes'. The result is an array of shape objects that the application displays, containing additional information I need to check in my tests. Following the instructions in https://support.smartbear.com/testcomplete/docs/app-testing/web/common-tasks/javascript.html#HowTo, I tried the following: var shapes0 = pageObj.contentDocument.Script.allShapes; var shapes1 = pageObj.contentDocument.Script.eval("allShapes;"); var shapes2 = pageObj.contentDocument.Script.$get("allShapes"); var shapes3 = pageObj.contentDocument.Script.eval("window.allShapes;"); var shapes4 = pageObj.contentDocument.Script.window.allShapes; var shapes5 = pageObj.contentDocument.Script.window.$get("allShapes"); Unfortunately, all the shapes* variables are undefined. When I look in the debugger, the contentDocument and Script objects are defined, however, allShapes and other members and methods I see in Edge's console are not visible. What can be the reason for this? What am I doing wrong? Thank you very much for your time! PS: Using TestComplete 15.31.374.7.The application in question is written with Angular.777Views1like4CommentsTC "Log Message" with "Code Expression"
Hi, a log entry with Log.Message works very easy. ... If (Project.Variables.ExtendedDebug = "true")Then Call Log.Message("Debug: " + Project.Variables.ExtendedDebug + ";" + "ProjectSuite.ConfigPath: " + ProjectSuite.ConfigPath + ";") ... but if I use Log Message with "Code Expression" then only an empty line appears in the log. Is this normal or do I have a thinking error?Solved1.3KViews1like5Comments