How to handle Multiple DatePicker that use same info


#1

Hi Guys.

I, triying to click into 6 fields that use datepickers, but all of them has the same Class.

calendar_today

image

I’m trying to control clicks over these datepickers.

When I run the test, I always got cick in the first Control, but no que rest of steps in my code.

Can anyone help to find another way to control the click action in different elements that shere same info.

Regards


#2

you will have to find unique xpaths. class attribute is not a good options. you could try to find the From date picker in relation with Due Date.
Please share the html source code to help you out more. Use Katalon Smart xpath identifier