Skip to main content
October 27, 2021
Question

How to locate elements without name with appian selenium api library?

  • October 27, 2021
  • 1 reply
  • 0 views

Hello, I am using the appian selenium api library for my tests and my problem is: How can I locate a textbox that does not have a name? I am currently using:

fixture.populateFieldWithValue("", "");  but I don't know how to use if the element doesn't have name. ¿There are a way to use xpath us selenium? ¿There are another option that i can use?

    1 reply

    acaciob0002
    October 27, 2021

    Hi there,

    If you dont have labels in the field that you want to interact, the only option is to use indexes. You can try something like that:

    tempoFixture.populateFieldWith("[26]", "THIS IS A VALUE");

    Regards,

    Acacio B