Skip to main content
August 12, 2021
Question

Is there a way to use xpaths on Appian Selenium API

  • August 12, 2021
  • 3 replies
  • 0 views

Is there a way we can use xpath expressions on Appian Selenium api without initializing webdriver class?

    3 replies

    danny.verb
    August 12, 2021

    What is it you're trying to achieve? Is this specific to Appian RPA? If so, opening a browser using the low-code action with initiate the web driver and closing the browser will close it.

    August 13, 2021

    Hi...Thanks for reverting back.

    I am building an automation script using selenium API. While automating I found some components on UI do not have any Labels in order to get them automated.

    So thought of leveraging Webdriver functions. I want to know if there is anyway we can use xpath syntax on Appian Selenium api?

    acaciob0002
    August 13, 2021

    Hey there, 

    Im not sure about Selenium, but in Cucumber you can use index instead xpath. Please check some examples below:

    tempoFixture.populateFieldWith("[51]", getRandomName(20));
    tempoFixture.clickOnCheckboxOption("[1]");

    Hope that help.

    Acacio B