jeudi 25 février 2021

How Do I validate Dynamic date changes in UI using Selenium Java

I have a dropdown with various Time Dimensions like Previous year, Previous Quarter, Previous - day, month, week, Custom date range etc. Based on the dropdown option I choose, the date format is represented as below: The below is for Previous Quarter

Date Range:10/01/2020 00:00:00(CST) - 12/31/2020 23:59:59(CST)

How Can I validate the date changes using Selenium Java with a reusable method for all the options.

Thanks in advance

Aucun commentaire:

Enregistrer un commentaire