blob: 4a5de2d2542589ea5efe7235db81e15d44ee8081 [file] [log] [blame]
This tests the value of stringValue for a single file- and multiple files-<input type="file"> control.
Default value (no files selected):
accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: (None)
accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: (None)
Drag and drop a single file:
accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: file1.txt
accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: file1.txt
Drag and drop two files:
accessibilityController.accessibleElementById("singleFileUpload").stringValue: AXValue: (None)
accessibilityController.accessibleElementById("multipleFileUpload").stringValue: AXValue: 2 files