Menu Layout button on Appian Selenium

How to click on the above Menu Layout Button? using the Appian Selenium 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    Hi  ,

    Identify a Unique XPath/CSS Selector for the Menu Layout Button.

    Check the following Selenium code if you are trying to test or using RPA:

    WebDriver driver = AppianObjectRepository.getWebDriver();
    
    WebElement menuButton = driver.findElement(By.xpath("//button[contains(@class, 'Button---secondary') and contains(@class, 'Button---small') and contains(@class, 'Button---with_icon')]"));
    menuButton.click();
    

    If it's RPA, then you can refer this link - Browser Java Module

    Note: The above code is just for reference, identify exact relative xpath !!!

Reply
  • 0
    Certified Associate Developer

    Hi  ,

    Identify a Unique XPath/CSS Selector for the Menu Layout Button.

    Check the following Selenium code if you are trying to test or using RPA:

    WebDriver driver = AppianObjectRepository.getWebDriver();
    
    WebElement menuButton = driver.findElement(By.xpath("//button[contains(@class, 'Button---secondary') and contains(@class, 'Button---small') and contains(@class, 'Button---with_icon')]"));
    menuButton.click();
    

    If it's RPA, then you can refer this link - Browser Java Module

    Note: The above code is just for reference, identify exact relative xpath !!!

Children
No Data