Programų testavimo metodai Autorius: Rūtenis Turčinas IFM–2/2 gr. Graphical user interface testing.

Slides:



Advertisements
Similar presentations
Cross Platform UI testing using Sikuli
Advertisements

Test Automation on Mobile environnents Eder Figueroa 4/29/203.
OneBridge Mobile Data Suite Product Positioning. Target Plays IT-driven enterprise mobility initiatives Extensive support for integration into existing.
INTRODUCTION TO JAVAFX CS12420 – Software Development Andrei Stanica (modified ltt)
J-Unit Framework.
Company LOGO Automation Tools For Android Anshu Prasad.
Java.  Java is an object-oriented programming language.  Java is important to us because Android programming uses Java.  However, Java is much more.
Building New SOA and AJAX- Based Business Applications Mark Barnard R&D Manager – Natural Business Services Software AG (Canada) Inc.
Part 3: Design Days 15, 19, 21, 23 Chapter 8: Work Reengineering and Conceptual Design Chapter 9: Design Guidance and Design Rationale Chapter 10: Interaction.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
CSI 400/500 Operating Systems Spring 2009 Lecture #1 – Operating System Fundamentals Wednesday January 21, 2008.
Tina design review Main design decisions. Top level modules. Responsibilities. Phases A & B. Test plan. Time table.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
What is Android? Android is among the most popular operating systems aimed towards mobile devices such as smartphones, and is currently the most widely.
Course: Introduction to Computers
Java Swing Joon Ho Cho. What is Java Swing? Part of the Java Foundation Classes (JFC) Provides a rich set of GUI components Used to create a Java program.
ProgrammingLanguages Programming Languages Event-Driven Visual Programming Languages This lecture discusses the basic concepts of the event-driven programming.
CS110/CS119 Introduction to Computing (Java)
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
Tony Nguyen.  Architecture  Advantages  Disadvantages  Setup JSF Environment  JSF & Database  Conclusion  Demo.
Designing For Testability. Incorporate design features that facilitate testing Include features to: –Support test automation at all levels (unit, integration,
An Introduction to Visual Basic
Capture and Replay Often used for regression test development –Tool used to capture interactions with the system under test. –Inputs must be captured;
CHAPTER FOUR COMPUTER SOFTWARE.
Integrated Development Environment (IDE)
1 3. Computing System Fundamentals 3.1 Language Translators.
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
Lab 12: Other Languages User Interface Lab: GUI Lab Nov. 12 th, 2013.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
5-Jun-16 Getting Ready for Java. 2 What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made.
Architecture of Decision Support System
What It Is Interactive music generation system Component #1: user interface Component #2: sound generation Music learning tool Component #1: easier help.
Copyright © 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Starting Out with Programming Logic & Design Second Edition by Tony Gaddis.
Android Laser Pointer Control Client System Block Diagram Functional Requirements Development Platform.
Introduction to Android
Mohit Anand, Software Engineer Adobe 1 Selecting GUI Automation Testing Tool for Mobile Domain.
Shell Interface Shell Interface Functions Data. Graphical Interface Graphical Interface Command-line Interface Command-line Interface Experiments Private.
UI's for inputting and presenting the metadata of hypermedia documents Kai Kuikkaniemi HUT T
Object Oriented Programming Criteria: P2 Date: 07/10/15 Name: Thomas Jazwinski.
COMPUTER III. Fundamental Concepts of Programming Control Structures Sequence Selection Iteration Flowchart Construction Introduction to Visual Basic.
A user interface, like the one created by the DOS operating system, that makes use of typed commands.
Web application component mapping Noé Fernández. The Problem 19/08/2014Noé Fernández › Dozens of s/day › Lack of information  Users don’t know what.
12-Jun-16 Event loops. 2 Programming in prehistoric times Earliest programs were all “batch” processing There was no interaction with the user Input Output.
Java Programming, 3e Concepts and Techniques Chapter 1 Section 56 – An Introduction to Java.
Decision Support System by Simulation Model (Ajarn Chat Chuchuen) 1 Chapter 6 User Interface Management.
ECLIPSE RICH CLIENT PLATFORM Part 1 Introduction.
Vytautas Kasparavičius, IFM - 0/2 gr..  graphical user interface (GUI) testing is the process of testing a product's graphical user interface to ensure.
Allows the user and the computer to communicate with each other.
App Inventor إعدادأشرف رفاعي أحمد
Chapter Topics 15.1 Graphical User Interfaces
Event loops 16-Jun-18.
Graphical user interface testing GRAFINĖS VARTOTOJO SĄSAJOS TESTAVIMAS
Elena Ruth Perju George Tudor Lucian Umbrarescu
The Client/Server Database Environment
This presentation uses a free template provided by FPPT.com PRESENTED BY, R.Mohammed yasik.
Introduction to Software Testing
Object-oriented design for multiple classes
Event loops.
Event loops 17-Jan-19.
Event loops 17-Jan-19.
Graphical User Interfaces in Java Event-driven programming
Chapter 15: GUI Applications & Event-Driven Programming
5 сәуір Сынып жұмысы WordPad қолданбасымен танысу.
The Most Popular Android UI Automation Testing Tool Andrii Voitenko
Event loops 8-Apr-19.
Database Management System
Event loops.
Event loops.
Event loops 19-Aug-19.
Presentation transcript:

Programų testavimo metodai Autorius: Rūtenis Turčinas IFM–2/2 gr. Graphical user interface testing

What is it? Graphical user interface (GUI) testing is the process of testing a product's graphical user interface to ensure it meets its written specifications 2

On which projects use it? It depends on project type: Impossible to use on projects without GUI: backend, middleware, etc. Possible and worth to use on projects with GUI: many of today‘s products 3

When is it worth to use? Trying to achieve 100% product quality – must use GUI tests If goal is to check mostly usable cases - worth to use GUI tests Don‘t use GUI tests - if quality is not important 4

Is GUI testing useful? It is easier to test with GUI associated functions Possible to test situations, which are not testable with other methods In test cases simulated real users 5

Problems Size WordPad – 325 possible GUI operations Sequence Some functionality of the system may only be accomplished by following some complex sequence of GUI events Error location 6

GUI testing approaches GUI component testing GUI hierarchical model testing GUI functionality testing 7

GUI component testing Split application into test components (component = window) Test each component thoroughly Test integration of components 8

GUI hierarchical model 9 1 Level (main GUI form) 2 Level (sub-forms)... N-th Level (sub-forms)

GUI functionality testing Determine: Users Initial state Steps (event sequences to achieve goal state) Goal state 10

GUI functionality testing 11

Testing tools Selenium (Web UI) Robotium (Android OS) Jemmy (JAVA SE) SWTBot (SWT applications) And many others 12

Selenium IDE 13

Selenium IDE Targets – Xpath language: 123"] JavaSript support (parameters, etc.) TestCase command source: open ${stUrl}/login.xhtml 14

Questions: 15

1. When to use GUI test? 2. When do not use GUI test? 3. What are GUI testing problems? 4. What are GUI testing approaches? 5. Is it possible to test GUI without testing tools? 16