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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
PicoRuby for IoT: Connecting to the Cloud with MQTT
yuuu
2
430
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
220
Vibe NLP for Applied NLP
inesmontani
PRO
0
430
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
6.5k
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
「Linuxサーバー構築標準教科書」を読んでみた #ツナギメオフライン.7
akase244
0
1.4k
感情を設計する
ichimichi
5
1.5k
10年分の技術的負債、完済へ ― Claude Code主導のAI駆動開発でスポーツブルを丸ごとリプレイスした話
takuya_houshima
0
2.5k
Liberating Ruby's Parser from Lexer Hacks
ydah
2
1.1k
GitHubCopilotCLIをはじめよう.pdf
htkym
0
140
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
190
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
270
Featured
See All Featured
The Limits of Empathy - UXLibs8
cassininazir
1
300
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Context Engineering - Making Every Token Count
addyosmani
9
830
Become a Pro
speakerdeck
PRO
31
5.9k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Testing 201, or: Great Expectations
jmmastey
46
8.1k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
Darren the Foodie - Storyboard
khoart
PRO
3
3.3k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
94
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Accessibility Awareness
sabderemane
0
100
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 • プログラムの実行、スクリーンショット取得など
ご清聴ありがとうございました