ashutosh01Contributor9 months agoNot able to find object In my script using findall method but it is not working as expected sharing piece of code below: var lockConnectedFlag = 0 Aliases.javaw.stageLockConfigurationTool.scene.topLevelTabPane.labelDiagno...Show More
rraghvaniChampion Level 3Within your code, can you insert Sys.HighlightObject(Advancebutton) var Advancebutton = Action.FindChild(prop3, value3, 100); Sys.HighlightObject(Advancebutton); if (Advancebutton.WaitProperty("Exists", "true", 10000)) { Advancebutton.Click(); } else { Log.Message("Diagnose button is not enabled") } Is it highlighting the correct control? Also, is it necessary to check for Exists? Can you not just do, var Advancebutton = Action.FindChild(prop3, value3, 100) if (Advancebutton.Exists) Advancebutton.Click(); Also, can you use the 'insert/edit code sample' button, and format your code so it's makes it easier for us to read.
ashutosh01Contributor to rraghvani9 months agoI did tried your way but not working Highlightobject is not highlighting anything.
Related ContentNot able to use Find Object and call object method in keyword tests to validate dataUnable to find the object Sys.Browser("*")Object finder not able to find child objects on JavaFx panel in Oxygen XML Editor.Unable to find objectChrome updated, now TC can't find browser
Recent DiscussionsUnbinding a project suite from source controlSolvedJScript Runtime Error "Object doesn't support this property or method"Best way to handle Azure login using TestCompleteUnable to access Navigation menu component sub menusIs it possible to test editing a pdf form in a browser?