I'm currently using an Excel spreadsheet to store my data for my regression pack when calling the data in testcafe. This was not able to be typed into the field using .typetext as this was a number. I then tried to convert into a string but got the following value: 44416.
How do I allow Testcafe to take in this date from excel and type it into a field?
How about if my date format is 8/20/2021 in excel? Testcafe doesn't seem to like this
The "text" argument is expected to be a non-empty string, but it was undefined.
Browser: Chrome 92.0.4515.131 / Windows 10
85 | .click(Selector('a').withText(data.SupervisorName)) 86 | 87 | await t 88 | .click(staffMembers.startDateField) 89 | .pressKey('delete delete delete delete delete delete delete delete delete delete delete')
90 | .typeText(staffMembers.startDateField, data.StartDate)