0 Replies Latest reply on May 31, 2018 1:23 AM by Mauretania David

    How to get the ID of the dom element in BrowserClick in a Web Browser Driven (AJAX) project?

    Mauretania David
      Share This:

      Hi,

       

      "    BrowserClick("//input[@id='signin-button']", BUTTON_Left, "Click, INPUT, id=signin-button (#1)");    "

       

      We are using WBD (Ajax) project to monitor a wesbite. However, when an error occurs, it only shows : "UI Element not found". The goal is to extract the the name of the button and use it to identify the elements.

       

      In the code snippet above, I would like to get the value "signin-button" then somehow set a condition that if the sign in fails, the button name will appear saying the error was experienced at that step.

       

      Would gladly appreciate any input. Thank you.