DatePicker
Tosca XScan scans the DatePicker and identifies it as Text. You can input, verify, or buffer DatePicker values in your TestCase.
Steering a DatePicker depends on your use case. Tosca can handle your Value in the following ways:
-
Parse your Value in the format you defined in Project->Settings->TBox->Dynamic Temporal Expressions.
-
Pass your Value unchanged to the system under test.
To steer a DatePicker, follow these steps:
-
For the Value, enter a date.
-
For the DataType, select Date to have Tosca parse your date. Alternatively, select String to pass your Value unchanged.
![]() |
This example inserts a date in the format MM.dd.yy, the date format in your Settings. Your application receives 08.14.25, not 14.08.2025.
Input a parsed date into a DatePicker |
![]() |
This example takes the date and passes it along unchanged. Tosca doesn't parse or change to another format. Your application receives 14.08.2025 exactly as you entered in Tosca.
Input a date exactly as entered |