You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Static Text Test Cases


Interface
Feature tested Steps Expected Result


1. Click the link Page opened toplevel
Objects
getName
getDescription
getRole......
getAttributes
getCharacterCount
2. Start AT-poke Name/Location/ Parent/ Role/ State/Title should be displayed on AT-poke window
AccessibleText Interface


addSelection

3. In AT-poke, set selection via input the offset of selection start and end position
Selected text's background will be changed to blue
setSelection

4. In AT-poke, change selection via change the offset of selection start or end position
Selected text range is changed
getSelection
5. In AT-poke, get Selection just set The startOffset and the endOffset of the Selection should display on the AT-poke window
removeSelection 6. In AT-poke, remove selection #1
Selection background resumed to white
getOffsetAtPoint
getText
getTextBeforeOffset
getTextAfterOffset
getTextAtOffset
7. In AT-poke, get the offset of a special point
8. Get Text via input the offset in AT-poke
AT-poke can display the text correctly
setCaretOffset
**9. In AT-poke, setCaretOffset

getCaretOffset
10. In AT-poke, getCaretOffset

AccessibleEditableText Interface(maybe does not have this interface, but how to copy/paste static text string??)
copyText
pasteText
11. In AT-poke, copy text from  and paste(composer)
operation results are correct
Events

12. Start simple-at, move caret via keyboard
Output of terminal : text_caret_moved event

13. Select text string via drag mouse or repeat step3,4,5,6 and watch the output of simple-at instead of at-poke
Output of terminal : text_selection_changed event


Maintained by Mindy Liu
Last modified 2002-06-28