Contributions
Run Routine with parameters by command line
Hi! I have this command line to execute my test "C:\SmartBear\TestExecute 9\Bin\TestExecute.exe" "C:\....\Automated_Tests\TestComplete\PARClient_ProjectSuite\PARClient_Project\PARClient_Project.mds" /r /e /SilentMode /p:PARClient_Project /u:ProductionOk /rt:TestProductionOk /exportlog:C:\IntegracionContinua\SAESPARAutomatedTests\Logs\AutomatedTestsLogs.mht But the routine TestProductionOk has three parameters, how I can pass them?6.6KViews0likes1Comment- 558Views0likes0Comments
Problem with aqJScriptParser.dll (TestExecute 9 under Windows XP (Embedded))
I have a project made in TestComplete / TextExecute 8 that runs in Windows 7 (Full) and in Windows XP (Embedded) successfully Then I migrate the project to TestComplete / TestExecute 9, and runs succcessfuly in Windows 7, but in the same version of Windows XP Embedded the execution fails with the error: “TestExecute has encountered a problem in module aqJscriptParser.dll and needs to close. We are sorry for the inconvenience” I have the logs attached here.7.7KViews0likes2Comments- 2.2KViews0likes0Comments
Re: Error iterating the items of an object
No, you're wrong. FindAllChildren method should receive arrays, not strings. See Help http://support.smartbear.com/viewarticle/31663/ In fact, my code works correctly. The problem is not in the method FindAllChildren, is to access in subitems of object[0].Items2.2KViews0likes0CommentsProperty of the objects
What property should be used to differentiate severaltextboxs that are visible, but some are in the active window and other behind, but still visible. I just want to get the objects in the active windows, as a popup. I have tried with: Visible, VisibleOnScreen but both are TRUE, and Focus is only for a textbox with the focus.9.2KViews0likes2CommentsRe: Error iterating the items of an object
I tried that, but only works to return the objects from the method FindAllChildren, but then doesn't works to iterate inside the items of these object. I have this code function GetContextMenuStrip() { var propertyNames = new Array ("FullName"); var propertyValues = new Array("*ContextMenuStrip*"); var objects = Sys.Process("XXXXXXXX").FindAllChildren(propertyNames, propertyValues, 100, true); (WHERE XXXXXX is the name of the process of my application) objects = (new VBArray(objects)).toArray(); var object = objects[0]; (IT WORKS UP TP THIS LINE) var array = (new VBArray(object.items())).toArray(); (IN THIS LINE FAILS) var a = array[0]; } The error is the showed in the image.2.2KViews0likes0CommentsError iterating the items of an object
I use the method FindAllChildren to get a "ContextMenuStrip" object, and I got it correctly. Then I need to iterate inside of the subcontrols of this object. Verifying the object in RAM memory using the Inspect Tool, I can see that the object exists and has the propety "Items" and the size of this array is 2. But when I put the object.Items[0] the test fails. What is the way to index the Items property? P.D My code is in JscriptSolved11KViews0likes7Comments