ARIA-ATのNVDA操作自動化調査メモ
aria-atの仕組み
手元で試す
NVDAの音声の設定で、「音声エンジン」を「Capture Speech」に切り替える
英語のバグった音声になるけど、気にしない
上記のnvda-at-automationリポジトリの、Serverディレクトリでgo build ./main/main.go && ./main.exeする
別ターミナルでTest-NetConnection 127.0.0.1 -Port 3031してTcpTestSucceeded: TrueならOK
chromedriverを取ってきて、./chromedriver.exe --port=4444で実行
別ターミナルでcurl.exe http://127.0.0.1:4444/statusしてready: trueならOK
兄弟にaria-atを配置し、ni && nr buildしておく
aria-at-automation-harnessでniし、以下のコマンドを実行
一度エラーが出たらgoのat-driverを再起動する必要がある
NVDA+Sで消音にしているとエラーになる
日本語出力だとエラーになるので、言語を英語にしておく必要がある
余計なログがたくさん出てくるので、jqでフィルターする
code:command
node bin/host.js run-plan --plan-workingdir ../aria-at/build/tests/aria/test-case "{reference/**,test-*-nvda.*}" --web-driver-url=http://127.0.0.1:4444 --at-driver-url=ws://127.0.0.1:3031/session --reference-hostname=127.0.0.1 --web-driver-browser=chrome | jq -f ../extract-result.jq | Out-File -Encoding utf8 ../summary.json