Forum Discussion

shiva_ranabhat's avatar
shiva_ranabhat
Contributor
10 years ago

Counter not working in do-while loop?

Hi,   I wanted to delay a webpage until certain element appears OR certain wait-time has passed. Here is my code:   var counter= 0; do{ aqUtils.Delay(100); counter+= 100; obj = pagereport.Na...
  • Ryan_Moran's avatar
    Ryan_Moran
    10 years ago

    Try using WaitAliasChild like so:

     

    Aliases.browser.pageRedOwlReports.formAspnetform.panelReportPanel.WaitAliasChild(cellResourceActivityVolumes,5000).Exists