Skip to main content
New Participant
Oct 27, 2021 7:10 AM UTC
Question

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

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
    Participating Frequently
    Oct 27, 2021 11:19 PM UTC

    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