dblclick method not working when running tests via Network Suite
I have recorded several TestComplete tests for our desktop application. Anytime I playback a test using the format of a command line prompt that directly calls the project suite (as shown below), it works great
start "<title>" /wait "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\Bin\TestComplete.exe" "<project file path>.pjs" /r /p:<project name> /exit /SilentMode
As I mentioned in another recent post I made, however, we are starting to set things up so that a master workstation parcels out the tests to slaves and so now i'm using this format of the command line prompt
start "<title>" /wait "C:\Program Files (x86)\SmartBear\TestComplete 14\x64\Bin\TestComplete.exe" "<project file path>.pjs" /r /p:<project name> /t:"NetworkSuite|Jobs|Job1|Task1" /exit /SilentMode.
Task1 points to the exact same project name used in the former example. Now, while most of the steps in the test run fine, anything step that was recorded using the DblClick method (to double click on and select a tab or table entry) fails. For some situations where the double click action isn't 100% necessary I might be able to get away with changing the DblClick method to the Clicktab("tabname") as that format doesn't seem to have an issue. For example, this works to select something on the screen:
Call Aliases.MyProduct.HwndSource_AppWindow.AppWindow.tcBottom.ClickTab("DocType")
but this way would fail using the Mapped Name of the tab:
Call Aliases.MyProduct.HwndSource_AppWindow.AppWindow.tcBottom.ti_doctype.DblClick(90, 15)
and would put this error in the log:
“There was an attempt to perform an action at point (90, 15) which is transparent or out of the window bounds.”
There are other places in my application that absolutely have to be double clicked and I don't know how I going to get around this issue for those spots.
Has anyone ever dealt with this type of behavior in TestComplete/TestExecute?
I mention the solution to this in my other post called "A Tale Of Two Slaves"