Skip to main content
shivik3980
New Participant
May 31, 2024 5:03 PM UTC
Question

Appian application using Selenium/ Java - Facing Issue with Drop down value selection and Date Selector [Picker]

I am facing issue in identifying the objects using Selenium/Java on sample Appian application available at Community edition site as below:

Similar issue I am facing in working project screens for one of the clients.

1. Multiple - Dropdown: The dropdown values are not defined as Static. The <div> id has changed whenever page is getting reloaded.

2. Date Selector: The <div> id has changed whenever page is getting reloaded. sendKeys () method is also not working since the field was changing dynamically.

3 replies

davidj137213
Brainy
Jun 3, 2024 8:26 AM UTC

How do you reference the dropdown? Use the label text when referencing it and test again..

Participating Frequently
Jun 5, 2024 5:02 PM UTC

Hi David,

The label text is getting changed automatically based on the user selection in the dropdown. I tried with id also. However, it is not working.

Kindly help.

davidj137213
Brainy
Jun 5, 2024 8:43 PM UTC

coud you please add you script?

I use this expression when working with dropdowns. 

| populate field|FIELD| with value |VALUE|