Contributions
Re: automation on installmate
In the NameMapping for the process and the wndCaption, you can assign those values to a project variable. When your test kicks off, you can then build the string to set the properties to the proper values through the project variables. It's been working for us for a while.903Views1like0CommentsConcurrent Tasks
Installation Details: TestComplete 9.0 (Latest release) and TestExecute 9.0, Windows XP x86 and x64 I've got some virtual machines set up, that are identical except that they're running different bit depths of the operating systems. I'm running the tests we've written against both "flavors" of the operating system. When I run the tests sequentially, everything runs just fine (i.e.: Test A x86, Test A x64, TestB x86, TestB x64, etc). If I try to run the tests concurrently (Test A x86 and x64, TestB x86 and x64, etc) one of the slaves exhibits some form of synchronization issue or initialization issue and the tests stop executing. When I've got the tests configured for sequential runs, each test item in the project is one of the network suite tasks, and when the tests are configured for concurrent runs, the test items are the Network Suite jobs. Is anyone else seeing this type of behaviour or does anyone have any ideas about how I might configure my project differently to perform the concurrent testing? Thanks, Will9KViews0likes1CommentScripts "know" if they're part of a Distributed Test?
I know this may be an odd question, but is there a property or function that a script could examine to determine if it is running as part of a NetworkSuite or a distributed job? There are parts of my script I'd like to be able to execute if it's not running as a network suite, and I don't want to have to rely on someone else setting a project suite variable to jump around that functionality. Thanks!8.5KViews0likes1CommentRe: email's are not getting sent. URGENT !!!!
It could be that no error is being raised by the VB engine, but the call to Message.Send is returning something. You could also try checking the value of the Sent property or the TimeSent Property on the Message object to see if the Exchange server has picked up on your message.633Views0likes0CommentsRe: Suppress TestedApp Execution Log?
I ended up doing it in JScript, and I wanted to know if the application execution failed for some odd reason. Here's what I did: function GeneralEvents_OnLogMessage(Sender, LogParams) { if (aqString.Find(LogParams.Str,"started")>=0) { LogParams.Locked=true; } }662Views0likes0CommentsSuppress TestedApp Execution Log?
When you run a tested app from the TestedApps collection, a message is added to the log like this: The application "C:\Program Files\FooTech\foobar.exe" started. Is there any way to prevent or suppress this logging, besides executing the executable through the WShell object? I'd like to keep the application in the TestedApps collection, as I've got NameMapping for the application and want to pull data from the application for use in other testing. Thanks!18KViews0likes3CommentsCode Associations with User Forms
I have created a set of user forms, along with a script unit to control the events on the forms (button clicks and form loads). I want to use these forms in multiple projects. When I import the forms and run my project, the event associations are gone, and I get errors in the log similar to the following: Type Message Time Priority Has Picture Link Unable to execute the "OnShow" event of the "Root_0AA8315E_7F1E_44C7_9CC8_9A3C7AF4B163" object. The "RunConfig_OnShow" method cannot be found or it has an invalid number of parameters. 11:50:22 0 If I re-associate the event, it breaks the event associations with projects I've configured before. How can I prevent having to reconfigure the form every time, or having to re-associate my events for each project, while maintaining the common code location for all the projects? Thanks for your help, Will26KViews0likes1CommentRe: Rebooting Host System in Network Suite
I've worked around this issue, but it would be nice if we could query the host machine to determine the state of the machine (starting up, shutting down, available, unavailable) so we could determine if the host machine is available to execute tests. I've seen the NetworkSuite.Hosts.Verify function, and it doesn't provide enough information. It says that the host is available when the host is in a "shutting down" state.1KViews0likes0Comments