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
110
0
Share
Gnomeとdogtail
Masami Ichikawa
August 22, 2010
More Decks by Masami Ichikawa
See All by Masami Ichikawa
cgroupsとプロセス生成・終了処理
masami256
1
1.3k
Linux の Debug 機能
masami256
0
110
Linux Namespaces
masami256
0
76
slub: alloc and free
masami256
0
97
SLUB data structures
masami256
0
120
SystemV IPC
masami256
0
130
Linux Namespace
masami256
0
87
とある帽子の大蛇料理Ⅱ
masami256
0
95
x86 とコンテキストスイッチ
masami256
0
290
Other Decks in Programming
See All in Programming
LM Linkで(非力な!)ノートPCでローカルLLM
seosoft
0
500
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
22
13k
飯MCP
yusukebe
0
510
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
Making the RBS Parser Faster
soutaro
0
280
感情を設計する
ichimichi
5
1.5k
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
1
130
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
270
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
420
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
5k
ふりがな Deep Dive try! Swift Tokyo 2026
watura
0
210
AI時代のPhpStorm最新事情 #phpcon_odawara
yusuke
0
190
Featured
See All Featured
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Bash Introduction
62gerente
615
210k
Exploring anti-patterns in Rails
aemeredith
3
320
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Building AI with AI
inesmontani
PRO
1
900
BBQ
matthewcrist
89
10k
The SEO Collaboration Effect
kristinabergwall1
0
420
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
SEO for Brand Visibility & Recognition
aleyda
0
4.5k
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 • プログラムの実行、スクリーンショット取得など
ご清聴ありがとうございました