Replies: 1 comment
-
Yes, that's fairly easy. Try something similar to the approach starting here but instead use date calculated in JavaScript |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I wanted to ask for help. I am trying to automate a test case, where the user needs to pick a date from the calendar date picker. Given the circumstances of the test case and given that I want it to be relaunchable any day, I think the best approach might be to generate todays date with JS, then get the separate values for day, month and year and input them into the selector. The selector looks like this:
id: "dateSelector2024-05-29"
Is this somehow possible? Would you be so kind and show me the right direction? Any help is appreciated. Thanks!
EDIT: So I can create a js file in my project, create the date there and use it as the file's output, which I can then use in maestro test yaml file, am I correct?
Beta Was this translation helpful? Give feedback.
All reactions