Contributions
Code Completion on Dev machine, No Code Completion on Lab machine
Hello, Does anyone have a workflow that would allow for using a NameMapping file with code completion data stored in the file(in source control) used for development machines, but the same NameMapping synced to a lab test machine without code completion data? I was presuming we can simply select Do Not Store Code Completion Data on the lab machine. My only thought is that someone could potentially make a fix to the NameMapping file on the lab machine and check that back into source control and then the code completion data will be lost. Unless there is a way to regenerate it on the development machine? Just curious. Thanks, Mark532Views0likes0CommentsRe: Cannot load data for ActiveX Objects.
I am in the process of waiting for the plug-in to allow ActiveX to be used. We use JScript and ActiveX for several of its object, one of them being the Scripting.Dictionary. When I looked through the TestComplete Help for an alternative or workaround(so I could avoid using the plug-in), the Help suggests using the ActiveX Dictionary, even though support has been dropped. Is there an alternative? Just curious.2.9KViews0likes0CommentsRe: TC9 does not release all refs to process or objects after end of test run.
Hugo, Did SmartBear get any solution to you? Just curious. The problem with the SmartBear forums, is that the support staff ask for project files and error logs to be sent to them, but we never hear back whether or not they found a fix or not. We have seen similar behavior to yours on our project, but if this thread is like any other thread that support responds to, the rest of the forum will not see what the solution is unless you happen to post it. Just curious. Thanks, Mark1.9KViews0likes0CommentsMultiple NameMapping files?
We have a 32bit version and a 64 bit version of our product. The difference in the objects were great enough we chose to create two different namemapping files. We created a 32bit subfolder inside the NameMapping folder thinking that we could move the 32 bit name map up to the NameMapping folder levelusing a script before launching TC from command line. It seems that the 32bit namemapping file is being picked up on the 64bit machines? How does TestComplete search for the namemapping file? Just reading the directory, or in our case the subdirectory in the order which the nodes appear? Do we have to actually store a second namemapping file outside of the NameMapping folder? Thanks, Mark22KViews0likes2CommentsRe: Failure to recopngnize object previously recognized
Hi Harlan, I had reported a problem with WaitNamedChild. It broke from TestComplete 8 to TestComplete 9 for me so was hanging when waiting for a child. They supplied a patch, but it was I believe specifically for WaitNamedChild. Have you reported a bug?2KViews0likes0CommentsA recursive call to the "OnUnexpectedWindow" event handler has been detected
The dialog stating: A recursive call to the "OnUnepectedWindow" event handler has been detected. If your code does not exit from the recursion properly, a stack overflow error will occur and TestComplete..... Do you want to continue the script execution. Has anyone seen this warning? Is there a way to avoid it? Any thoughts on what is causing it? It appeared after upgrading from TC8 to TC9. Thanks24KViews0likes4CommentsRe: Process Tree is not refreshing automatically in TestComplete 9
More related information. If we set a breakpoint at the point where we use WaitNamedChild, the Object Browser actually has been populated with the object were are looking for, but the NameMapping file does not seem to think it is available. I right clicked in the NameMapping file on the expected object and "Highlight On Screen" was grayed out, but in the Object Browser, I was able to highlight the object. Has anyone else seen this?Thanks1.5KViews0likes0CommentsRe: Process Tree is not refreshing automatically in TestComplete 9
It seems that this problem is mainly occuring when we use WaitNamedChild().exists in an If statment.It is a problem beyond just dialogs. If we add the Sys.Refresh() before the if(object.WaitNamedChild("name", 0).exists statement, things work fine. We would rather not go through the code adding Sys.Refresh() all over when they have not been needed in previous versions of TC. Is there a global preference in TC9we are not setting or something to cause object refreshes automatically? Thanks, Mark1.5KViews0likes0CommentsProcess Tree is not refreshing automatically in TestComplete 9
From the experience running our tests in TC7 and TC8, it seemed that when the tests executed a menu selection such as File->Open, the process tree was automatically refreshed, and the Open dialog could be found by the next statement in our test script. In TestComplete 9, we are noticing that the dialog is no longer found until we add the statement Sys.Refresh(); The tests have not changed for two versions of TC. Is the behavior different in TC9? Did I have a setting in the properties that caused TC 7 and 8 to automatically refresh the process tree in Windows? I really do not want to go through hundreds of lines of code adding Sys.Refresh statements for dialogs that suddenly cannot be seen. As far as I know, I upgraded the NameMapping correctly from the previous TC8 project file. Thanks for any suggestions. Mark24KViews0likes5CommentsHttp request to download Google Doc spreadsheet
Using JavaScript, I am trying to access a Google Docs spreadsheet using XMLHttpRequest() but am having trouble. Is this possible with TC 8? I've been able to get XML from another website with our data conditions using ActiveXObject("Microsoft.XMLHTTP"), and then putting that into a DOM and parsing. I'd rather not use ActiveX. Can we use XMLHttpRequest? Has anyone else been able to use JavaScript in TestComplete to download data from Google Docs spreadsheet via URL? Ideally, I'd like the spreadsheet to be either csv or Json. Thanks, Mark23KViews0likes1Comment