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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Masami Ichikawa
August 22, 2010
Programming
0
110
Gnomeとdogtail
Masami Ichikawa
August 22, 2010
Tweet
Share
More Decks by Masami Ichikawa
See All by Masami Ichikawa
cgroupsとプロセス生成・終了処理
masami256
1
1.3k
Linux の Debug 機能
masami256
0
110
Linux Namespaces
masami256
0
75
slub: alloc and free
masami256
0
97
SLUB data structures
masami256
0
120
SystemV IPC
masami256
0
130
Linux Namespace
masami256
0
84
とある帽子の大蛇料理Ⅱ
masami256
0
93
x86 とコンテキストスイッチ
masami256
0
290
Other Decks in Programming
See All in Programming
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.9k
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
AI Assistants for Your Angular Solutions
manfredsteyer
PRO
0
150
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
310
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
8.2k
Ruby and LLM Ecosystem 2nd
koic
1
1k
Docコメントで始める簡単ガードレール
keisukeikeda
1
130
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.3k
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
0
290
Claude Code Skill入門
mayahoney
0
400
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
150
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
480
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
43k
Test your architecture with Archunit
thirion
1
2.2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
160
We Have a Design System, Now What?
morganepeng
55
8k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Rails Girls Zürich Keynote
gr2m
96
14k
Technical Leadership for Architectural Decision Making
baasie
3
300
Building the Perfect Custom Keyboard
takai
2
710
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
90
Discover your Explorer Soul
emna__ayadi
2
1.1k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
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 • プログラムの実行、スクリーンショット取得など
ご清聴ありがとうございました