Suche senden
Hochladen
Automate the Swing application testing
•
Als KEY, PDF herunterladen
•
3 gefällt mir
•
1,160 views
Kazuhiro Eguchi
Folgen
Bildung
Technologie
Kunst & Fotos
Melden
Teilen
Melden
Teilen
1 von 21
Jetzt herunterladen
Empfohlen
FEST-SwingでFestival!
FEST-SwingでFestival!
You Osaki
Basic swing
Basic swing
bharathi120789
11basic Swing
11basic Swing
Adil Jafri
Fitc whats new in es6 for web devs
Fitc whats new in es6 for web devs
FITC
import java.awt.Color;import java.awt.Insets;import java.awt.Con.pdf
import java.awt.Color;import java.awt.Insets;import java.awt.Con.pdf
venkt12345
What's New in ES6 for Web Devs
What's New in ES6 for Web Devs
Rami Sayar
OOP Lecture 7-JTextField,JTextArea,JPassword,JButton.pptx
OOP Lecture 7-JTextField,JTextArea,JPassword,JButton.pptx
Tanzila Kehkashan
Androidの本当にあった怖い話
Androidの本当にあった怖い話
Yusuke Yamamoto
Empfohlen
FEST-SwingでFestival!
FEST-SwingでFestival!
You Osaki
Basic swing
Basic swing
bharathi120789
11basic Swing
11basic Swing
Adil Jafri
Fitc whats new in es6 for web devs
Fitc whats new in es6 for web devs
FITC
import java.awt.Color;import java.awt.Insets;import java.awt.Con.pdf
import java.awt.Color;import java.awt.Insets;import java.awt.Con.pdf
venkt12345
What's New in ES6 for Web Devs
What's New in ES6 for Web Devs
Rami Sayar
OOP Lecture 7-JTextField,JTextArea,JPassword,JButton.pptx
OOP Lecture 7-JTextField,JTextArea,JPassword,JButton.pptx
Tanzila Kehkashan
Androidの本当にあった怖い話
Androidの本当にあった怖い話
Yusuke Yamamoto
Haxe
Haxe
Kazuhiro Eguchi
JavaFX8
JavaFX8
Kazuhiro Eguchi
実践Knockout
実践Knockout
Kazuhiro Eguchi
なれる!クラスローダー
なれる!クラスローダー
Kazuhiro Eguchi
Knockout
Knockout
Kazuhiro Eguchi
Java 並行処理の基礎update1
Java 並行処理の基礎update1
Kazuhiro Eguchi
Starting java fx
Starting java fx
Kazuhiro Eguchi
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
Kazuhiro Eguchi
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
TechSoup
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
chloefrazer622
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
National Information Standards Organization (NISO)
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
chloefrazer622
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
Dr. Mazin Mohamed alkathiri
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Steve Thomason
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
christianmathematics
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
iammrhaywood
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
pragatimahajan3
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
Weitere ähnliche Inhalte
Mehr von Kazuhiro Eguchi
Haxe
Haxe
Kazuhiro Eguchi
JavaFX8
JavaFX8
Kazuhiro Eguchi
実践Knockout
実践Knockout
Kazuhiro Eguchi
なれる!クラスローダー
なれる!クラスローダー
Kazuhiro Eguchi
Knockout
Knockout
Kazuhiro Eguchi
Java 並行処理の基礎update1
Java 並行処理の基礎update1
Kazuhiro Eguchi
Starting java fx
Starting java fx
Kazuhiro Eguchi
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
Kazuhiro Eguchi
Mehr von Kazuhiro Eguchi
(8)
Haxe
Haxe
JavaFX8
JavaFX8
実践Knockout
実践Knockout
なれる!クラスローダー
なれる!クラスローダー
Knockout
Knockout
Java 並行処理の基礎update1
Java 並行処理の基礎update1
Starting java fx
Starting java fx
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
並行処理プログラミングの深淵~Java仮想マシン仕様 スレッドとロック~
Kürzlich hochgeladen
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Krashi Coaching
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
TechSoup
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
chloefrazer622
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
National Information Standards Organization (NISO)
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
chloefrazer622
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
Dr. Mazin Mohamed alkathiri
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Steve Thomason
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
christianmathematics
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
iammrhaywood
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
pragatimahajan3
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
TeacherCyreneCayanan
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Thiyagu K
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
Disha Kariya
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
fonyou31
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
JemimahLaneBuaron
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
Thiyagu K
Kürzlich hochgeladen
(20)
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
Automate the Swing application testing
1.
FEST-Swing Swing
@hakurai
2.
Java, C, C++,
Scala, Groovy Swing
3.
FEST-Swing • Swing • JUnit
4.
Swing • Java GUI •
AWT SWT
5.
FEST-Swing 1.robot
2. 3. 4. 5.assert
6.
1.robot robot = BasicRobot.robotWithNewAwtHierarchy();
7.
2. //main ApplicationLauncher.application( SampleFrame.class ).start(); // JFrame
myJFrame = new MyJFrame(); myJFrame.setVisible( true ); MyJFrame
8.
3. //JFrame FrameFixture frame =
WindowFinder.findFrame( MyJFrame.class ).using( robot ); // FrameFixture frame = new FrameFixture( robot, myJFrame ); JFrameFixture
9.
4. // JTextComponentFixture accountField =
frame.textBox( “accountField” ); accountField.enterText( “root” ); //OK JButtonFixture okButton = frame.button( “okButton” ); okButton.click(); “root” “accountField” “okButton” click JFrameFixture
10.
Fixture • Swing • Fixture • •
11.
Fixture •
Fixture • Finder ( ) • Fixture
12.
Swing
JFrame JPanel JPanel JTextField JButton JButton
13.
Fixture •
name • GenericTypeMatcher
14.
name //name
accountField textBox frame.textBox( “accountField” ). “accountField” JFrameFixture
15.
name • ComponentLookupException •
name • • GenericTypeMatcher • Fixture
16.
JFrame
JPanel JPanel JTextField JButton JButton okButton okButton
17.
• Fixture
click() doubleClick() enterText( String text ) drag() etc
18.
• Fixture • require •
JUnit assert requireText( String text ) requireEditable() requireEnabled() requireVisible() etc
19.
• FEST-Swing EDT •
20.
• Timeout • Pause
Condition requireEnabled(Timeout timeout) Pause pause( Condition condition, Timeout timeout)
21.
Pause •
Condition • Timeout • WaitTimedOutError
Hinweis der Redaktion
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
Jetzt herunterladen