Skip to main content
September 24, 2021
Question

Comments field is not identify Label

  • September 24, 2021
  • 3 replies
  • 0 views

Hi I am using Appian Selenium framework where it uses Labels to identify an element

for ex: for clicking something I use this code fixture.clickOnMenu or fixture.clickOnButton etc

However, I have a Comments field (Paragraph widget). Not sure how to go about adding data to comments field

FYI, I have already tried fixture.WriteText but it failed to identify comments field

    3 replies

    acaciob0002
    September 28, 2021

    Hi [mention:8ef037c5db1e4a61bc1edea8b052b954:e9ed411860ed4f2ba0265705b8793d05]

    I'm not sure in Selenium, but using Cucumber you can try the populate field commands, and if you don't have labels you can try to use index as well.

    Check the sample below:

    tempoFixture.populateFieldWith("Type", "[1],[2]")     --- We are using indexing here[1][2]
    
    tempoFixture.populateFieldWith("LABEL", "VALUE");

    Hope that helps,

    Acacio B

    September 30, 2021

    Thanks..Acacio

    Any idea, how do we populate checkbox in appian selenium API?

    acaciob596205
    Participating Frequently
    September 30, 2021

    Hi there, 

    You can try the code below:

    tempoFixture.clickOnCheckboxOption("LABEL");

    Regards

    Acacio B