TESTAR_dev icon indicating copy to clipboard operation
TESTAR_dev copied to clipboard

DateTimePicker is not actionable by TESTAR

Open digiofficerobin opened this issue 3 years ago • 2 comments

TESTAR version 2.3.5

Steps to reproduce:

  1. Start TESTAR on SUT (see attachment)

SUT_datetimepickers.zip 2022-01-07_17-10-55 2022-01-07_17-16-35

What goes wrong?

Notice that TESTAR doesn't detect the DateTimePicker control.

De console log gives this message: DEBUG: Forcing ESC action in preActionSelection : Actions derivation seems to be EMPTY !

How should it expect to work? The DateTimePicker control should be actionable and generate testcases.

digiofficerobin avatar Jan 07 '22 16:01 digiofficerobin

Did we fix this on a call already?

pekkakaho avatar May 24 '22 09:05 pekkakaho

Using Inspect.exe:

  • The DateTimePicker is recognized as a UIA_PaneControlTypeId, which means a UIAPane TESTAR widget role. This widget pane is not clickable by default.
  • It also contains a Window API property that indicates that the element is a pane drop down LegacyIAccessible.Role: drop down (0x2F). A possible solution is to automatically derive a click action in the right bounds of a UIAPane, if the widget also contains this "drop down" value in the UIATags.UIALegacyIAccessibleRole, but this Tag is not set in the StateFetcher by default. For this reason, this will require not only configuration but development.

image

ferpasri avatar Dec 21 '22 17:12 ferpasri