Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Gnomeとdogtail
Search
Masami Ichikawa
August 22, 2010
Programming
0
44
Gnomeとdogtail
Masami Ichikawa
August 22, 2010
Tweet
Share
More Decks by Masami Ichikawa
See All by Masami Ichikawa
cgroupsとプロセス生成・終了処理
masami256
1
890
Linux の Debug 機能
masami256
0
44
Linux Namespaces
masami256
0
21
slub: alloc and free
masami256
0
35
SLUB data structures
masami256
0
53
SystemV IPC
masami256
0
75
Linux Namespace
masami256
0
30
とある帽子の大蛇料理Ⅱ
masami256
0
35
x86 とコンテキストスイッチ
masami256
0
140
Other Decks in Programming
See All in Programming
決断するための勇気、そのためのBacklog / Courage to make decisions, Backlog for that.
seike460
PRO
4
1.9k
Ruby製社内ツールのGo移行
bgpat
2
260
Open Source Swiftc Workshop
kitasuke
1
180
TCAの Shared Stateって どういう仕組みになってんの?
yimajo
0
330
htmx is fun!
codehex
2
190
自動テスト実行結果の目的を整理する / Organizing objectives of automated test results
twada
PRO
10
2.1k
マイ隙間家具OSSたちのご紹介
karupanerura
2
150
WasmOS: Wasmを実行する自作Microkernel
riru
0
370
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
2.2k
ドメイン・ファーストで考える問題解決に役立つモデル設計 / Domain First Model Design
suzushin54
1
1.4k
DocC Tutorial と TCA におけるテスト機能の紹介
kalupas226
1
330
Enhancing Applications with Accessibility API
kishikawakatsumi
3
900
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
23
1.9k
Raft: Consensus for Rubyists
vanstee
130
6.2k
Robots, Beer and Maslow
schacon
PRO
154
7.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
5
1.4k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
Debugging Ruby Performance
tmm1
68
11k
Imperfection Machines: The Place of Print at Facebook
scottboms
257
12k
Into the Great Unknown - MozCon
thekraken
10
830
Facilitating Awesome Meetings
lara
39
5.5k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
225
51k
How to Ace a Technical Interview
jacobian
272
22k
Build your cross-platform service in a week with App Engine
jlugia
223
17k
Transcript
Gnome と dogtail 2010/08/22 カーネル/ VM 探検隊 @masami256
What is the dogtail? • 元々は Redhat で開発されたテストツール • GUI
の操作を自動化 • 実装は Python で書かれてる • スクリプトも Python で書く • 操作のキャプチャ・リプレイ可能
Base Technology • AT-SPI を利用 • Assistive Technology Service Provider
Interface • Gnome プロジェクト発祥
AT-SPI Browser
AT-SPI Browser
Dogtail Internal pyatspy dogtail
Dogtail Internal •
[email protected]
• click, check などのアクションの定義と実行 •
[email protected]
• UI を構成する各要素を取得して保持 • 要素の内容の取得・変更もする • コンボボックスの選択内容を取得したり、テキスト ボックスに文字を書き込むなど
Dogtail Internal •
[email protected]
• フォーカスに関するクラス • Window や Application
にフォーカスを移したり、 フォーカスのある要素に対してアクションを実行な ど • WARNING: Here There be Dragons (TM)
Dogtail Internal •
[email protected]
• テストクラスの本体 •
[email protected]
• テスト対象のプロセス起動、停止などを実行など
• rawinput.py • マウス・キーボードのイベントを取得し、イベント を登録する • utils.py • プログラムの実行、スクリーンショット取得など
ご清聴ありがとうございました