JFWTechnical (The bloated Jaws For Windows Test Script)
Latest version: 20060418
Author: Michael Curran
Contents
Features
JFW Technical is a set of scripts built around the Jaws vertual buffer
that allows a scripter to explorer the application they are scripting for
and find out very detailed information that Jaws can retrieve from it.
The different categories of information are:
-
Window information:
Navigate the application by windows and find out about the name, text, coordinates, class, type, control ID,
handle, style bits etc of each window.
-
MSAA object info:
Navigate the application using MSAA objects and their simple elements and find out name, value, description, state, state text, role, role text, coordinates etc of each object or simple element.
-
NavModule info:
Navigate, and find out info about, the application using the current JFW navigation module. This is used for Java applications. This is still not complete yet.
-
Screen text information:
Navigate the application textually with movements such as nextCharacter, nextWord, next line, nextSentence, nextChunk, nextParagraph, nextField etc and find out info such as current character, font, point size, attributes, word, line, chunk, field etc.
Restriction (window, real window, app window, none) can be set at the press of a link.
-
Application info:
Find out info like current application name, file path, version info etc. Also amount and types of windows for this application.
-
Jaws general info:
Find out info such as Jaws paths, language, version etc.
-
Jaws auth info:
Find out authorisation scheme, serial number etc.
-
Jaws synth info:
Find out the names and drivers of all available synthesizers, find out the available voices, available rate range, pitch range, volume range for the current synthesizer.
-
Jaws cursors info:
Find out what cursor is active, and where all the cursors are currently positioned on the screen.
-
System info:
Info such as system date, time, language, how long since Windows was started, whether the clipboard contains data.
To any advanced scripter, there's nothing special about getting this info, but JFWTechnical can present it all there for you when you want it. No more writing test scripts in all of your applications.
JFWTechnical's main interface will remind people very much of a web page in Internet Explorer thanks to the Jaws vertual buffer.
Installation
JFWTechnical can be installed by copying the files found in the scripts directory in this archive to your jaws settings directory.
Then you will need to open default.jss in Script manager and at the top you need to add the line:
use "JFWTechnicalLoader.jsb"
Save/compile the file. Now you will need to open default.jkm in a text editor and assign a key to call startJFWTechnical.
For example:
control+shift+j=startJFWTechnical
Then save and close the file.
To use JFWTechnical, simply go in to the application of your choice, move one of your cursors to where you would like to start, and press the key you mapped to start JFWTechnical.
And off you go.
Download
Download JFWTechnical 20060418-1
Documentation
If you find any bugs or have any suggestions on how to make this better, please email me. My address can be found in the readme for jfwtechnical.