Appium Test, Change value for a DatePicker #31329
Replies: 1 comment
-
Found a solution for my self :) var childDatePicker = FindUIElement("ChildDatePicker"); |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Trying to find a sample on have you set the date for DatePicker on IOS .
suggestion from Copilot not working.
var pickerWheels = driver.FindElements(By.ClassName("XCUIElementTypePickerWheel"));
pickerWheels[0].SendKeys("28"); // Day
pickerWheels[1].SendKeys("July"); // Month (use localized name if needed)
pickerWheels[2].SendKeys("2023"); // Year
//Joacim
Beta Was this translation helpful? Give feedback.
All reactions