Forum Discussion

Shivani21's avatar
Shivani21
Occasional Contributor
8 months ago

If code for element exists results in failure

Hello, I am trying to do following code: if Aliases.browser.Page("https://devtradewatch/tradewatch/Orders/viewOrdList.do",.FindElement("#colTD_0").Exists:     Log.Message("Records are available, nt...
  • Shivani21's avatar
    Shivani21
    8 months ago

    Thank you for the suggestion. That would definitely help me for better representation of code and understanding as well.

    I could make it work by using WaitElement instead of FindElement.

    Thanks!