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
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
SpandanaRallapalli
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
thorishapillay1
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
cama23
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
Conquiztadors- the Quiz Society of Sri Venkateswara College
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
johnmickonozaleda
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
AshokKarra1
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Celine George
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Carlos105
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
Celine George
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
Ashokrao Mane college of Pharmacy Peth-Vadgaon
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
MiaBumagat1
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Celine George
Concurrency Control in Database Management system
Concurrency Control in Database Management system
Christalin Nelson
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
nelietumpap1
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
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
SpandanaRallapalli
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
thorishapillay1
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
cama23
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
Conquiztadors- the Quiz Society of Sri Venkateswara College
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
johnmickonozaleda
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
AshokKarra1
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Celine George
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Carlos105
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
Celine George
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
Ashokrao Mane college of Pharmacy Peth-Vadgaon
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
MiaBumagat1
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Celine George
Concurrency Control in Database Management system
Concurrency Control in Database Management system
Christalin Nelson
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
nelietumpap1
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Mr Bounab Samir
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
Postal Advocate Inc.
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
mary850239
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
Conquiztadors- the Quiz Society of Sri Venkateswara College
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Celine George
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
MIPLM
Kürzlich hochgeladen
(20)
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Concurrency Control in Database Management system
Concurrency Control in Database Management system
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
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