ashutosh01Contributor2 years 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 32 years agoWithin 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 rraghvani2 years agoI did tried your way but not working Highlightobject is not highlighting anything.
ashutosh01Contributor to rraghvani2 years agoI did tried your way but not working Highlightobject is not highlighting anything.
Related ContentUnable to find the object Sys.Browser("*")Unable to find objectFind object methods for MobileNot able to handle a dynamic objectFindChild() cannot find correct object.
Recent DiscussionsRunner.Stop(true) stops complete execution, not just the current test caseSolvedScreenshots in Keyword test to document stepsIs it possible to extract data from the cells of a grid which is not getting identified as a tableHow to make objects visible in the object tree?Execute parallel Test with Selenium Server