SMALLTALK-DRIVEN GUI TESTING By Andreas Hiltner.

Slides:



Advertisements
Similar presentations
Windows Basics for beginners. To define an Operating System To operate in a Windows environment To understand a Windows desktop To run software from the.
Advertisements

Windows Test Review.
Managing Your Files.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 7 - JavaScript: Introduction to Scripting Outline 7.1 Introduction 7.2 Simple Program: Printing.
Objectives © Paradigm Publishing, Inc. 1 Objectives.
Computer Basics. Using a computer The purpose of this class is to get comfortable with: Using Windows.
Online Calculator Basic Word Processing Skills Computer Keyboard Skills Computer Mouse Skills Basic Computer Terminology Computer Mouse Skills “I really.
CHAPTER © 2013 The McGraw-Hill Companies, Inc. All rights reserved. 2 Introduction to Medisoft.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Chapter 1- Visual Basic Schneider1 Chapter 1 An Introduction to Computers and Visual Basic.
Web Page: // The Windows XP Textbook by Stewart Venit Standard Edition.
Chapter 1- Visual Basic Schneider 1 Chapter 1 An Introduction to Computers and Visual Basic.
TOPIC: PROJECT: NAME: TEACHER: CLASS:. Design brief for: To insert title, click the ‘view’ menu, press the ‘slide master’ button and edit slide master.
File Management and Organisation © Copyright William Rowan 2007.
Graphical User Interfaces A Quick Outlook. Interface Many methods to create and “interface” with the user 2 most common interface methods: – Console –
8. INPUT, OUTPUT and storage DEVICES i/o units
Z-Tree Zurich Toolbox for Readymade Economic Experiments.
Step by Step Tutorial!.  Log onto  Click on the SignUp button at the top.
CHAPTER © 2011 The McGraw-Hill Companies, Inc. All rights reserved. 3 Introduction to Medisoft.
Microsoft Office 2013 ®® Managing Your Files. XP Objectives Explore the differences between Windows 7 and Windows 8 Plan the organization of files and.
SYSTEM TOOLS WITH CINCOM® OBJECTSTUDIO® By Andreas Hiltner.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 7 Move and Copy.
HOWTO : Text-Out Function. Connections Link RS-485 Lines –Link DVR 485 Lines with Camera’s RS-485 Port.
Mr. Computer & Mrs. Function
1.01 SHARE AND MAINTAIN DOCUMENTS UNDERSTAND WORD PROCESSING SOFTWARE APPLICATION SKILLS USING MICROSOFT WORD LESSON 1.
CINCOM SMALLTALK™ ON A TABLET By Andreas Hiltner.
Unplug Your Mouse Workflow Automation with AutoHotKey Andrew Weidner Robert Wilson.
Basic User Training for PACS
Copyright © 2010 Wolters Kluwer Health | Lippincott Williams & Wilkins Introduction to Windows Chapter 2.
Week 1 Introduction to Excel. The purposes of this introduction are: To remind (or introduce) you to the Excel spreadsheet format To ensure that you.
Automated GUI testing How to test an interactive application automatically?
RIGHT Mouse Button Formatting Cut Copy Paste Save LEFT Mouse Button MAIN BUTTON Single clicks Double clicks Drag Highlight.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 2 Manipulating.
Review of Lesson One Material Demo then Do it Beginning Computer Class LLI.
Microsoft Office XP Illustrated Introductory, Enhanced Started with Windows 2000 Getting.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.
Lesson No: 6 Introduction to Windows XP CHBT-01 Basic Micro process & Computer Operation.
Faculty Evaluation Tutorial. Completing Evaluations Go to the CourseEval website to log in:  Often.
Database Objective Demonstrate basic database concepts and functions.
UNDERSTANDING “THE RIBBON” Bonnie Powell Assistant Administrative Computer Network Coordinator.
FOCUS II Demonstration Simply click the mouse to advance through the presentation. Or; Tap the right arrow key on the keyboard to advance through the slides.
PREZI PRESENTATION The Prezi Interface. In this tutorial you will learn:  About the different parts of a Prezi interface: 1. The Prezi space/canvas 2.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
XP 1 Workshop Overview Goal Participants will leave the workshop with some basic Excel skills and the ability to locate and use online resources to continue.
Introduction to Programming
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft® Excel 2013.
Configure your animation in Xtplot, then check “Save animation to image files” and click Run. Save images here Choose PNG, JPEG, TIFF, or Bitmap.
Microsoft Excel Microsoft Excel 2013 is a spreadsheet application in the Microsoft Office Suite. A spreadsheet is an accounting program for the.
Florida Athlete Leadership Technology 1 Presenters:
File and File Systems Compiled by IITG Team Need to be reorganized and reworded.
IT Desktop Management Scheduling Appointments in MS Outlook December 2007 Prepared by Angela Mars IT Education and Training.
EXPLORING THE WINDOWS SECTION PART 1 MOAC Lesson 1.
(More) Event handling. Input and Windowed-OS’s Windowed OS’s (Windows, OSX, GUI-linux’s) send messages (events) when the user does something “on” the.
Schedule Vacations Overview Click your mouse to continue! Copyright 2004 Schedule Tech. All Rights Reserved.
COMPUTER INPUT DEVICE Keyboard. Keyboard cont…… Print Screen Print contents of screen Pause/Break Terminate/Interrupt Scroll Lock Modify behavior of the.
Menu & Clipboard Menu Cut / Copy / Paste. Menus Created in the Menu Editor Can contain menu titles, menu items, separator bars, submenu titles, and submenu.
Chapter 4: Do-It-Yourself Designing (Designing Interfaces)
Dive Into® Visual Basic 2010 Express
Windows Basics Computers 1.
What Should I Do if My Style Is Not Included?
Computer Skills windows.
An Introduction to Computers and Visual Basic
Riding the Wave of Innovation
An Introduction to Computers and Visual Basic
TI-Nspire™ CX Family Overview
Microsoft PowerPoint 2010 Lesson 2
Computer Skills windows.
Computer Skills windows.
Cincom Smalltalk Suzanne Fortman 1.
Presentation transcript:

SMALLTALK-DRIVEN GUI TESTING By Andreas Hiltner

Overview ©2015 Cincom Systems Inc. All Rights Reserved. 3 Intention Record and Replay Events Script Classes Screenshot SendInput OSWindow Script Example Questions

INTENTION To develop a GUI-Testing framework, that can not only test Smalltalk internal GUI, but external processes as well. It should be usable within SUnit tests.

Record and Replay Events ©2015 Cincom Systems Inc. All Rights Reserved. 5 Record all events (keyboard, mouse) with timing. Events can be saved to a file and replayed later. Beware of applications, that save the state in between, e.g. Calculator

Record and Replay Events ©2015 Cincom Systems Inc. All Rights Reserved. 6 Advantage: What-You-See-Is-What-You-Get Drawback: Uses absolute coordinates Recording has to be redone, if the test changes even the slightest bit

Record and Replay Events ©2015 Cincom Systems Inc. All Rights Reserved. 7

Script ©2015 Cincom Systems Inc. All Rights Reserved. 8 Windows Mouse Input Keyboard Input Screenshot

Script - Window ©2015 Cincom Systems Inc. All Rights Reserved. 9 Retrieve Window with Title Wait for Window with Title Retrieve Window at a certain location Get the (Windows) menu Send a menu item event Retrieve Titlebar-Information (location of Minimize/Maximize/Close button)

Script – Mouse Input ©2015 Cincom Systems Inc. All Rights Reserved. 10 Click left/middle/right button Scroll Mouse wheel up/down Move cursor Hover

Script – Keyboard Input ©2015 Cincom Systems Inc. All Rights Reserved. 11 Send String or individual Characters Send Shortcut (e.g. CTRL+C, ALT+1) Send Keys like LeftArrow, RightArrow, PageUp, PageDown, Return, etc.

Script – Class Screenshot ©2015 Cincom Systems Inc. All Rights Reserved. 12 Take screenshot with / without window frame Save screenshot as Bitmap / PNG / JPEG

Script – Class Screenshot (con’t) ©2015 Cincom Systems Inc. All Rights Reserved. 13 Compare Screenshot with existing Bitmap Save differences to a Bitmap in a file

Script ©2015 Cincom Systems Inc. All Rights Reserved. 14

Script – Part One ©2015 Cincom Systems Inc. All Rights Reserved. 15

Script – Part Two ©2015 Cincom Systems Inc. All Rights Reserved. 16

Script – Part Three ©2015 Cincom Systems Inc. All Rights Reserved. 17

Script – Part Four ©2015 Cincom Systems Inc. All Rights Reserved. 18

Script – Video ©2015 Cincom Systems Inc. All Rights Reserved. 19

©2015 Cincom Systems Inc. All Rights Reserved. 20 Questions?

©2015 Cincom Systems Inc. All Rights Reserved. 21 Star Team (Smalltalk Strategic Resources) –Suzanne Fortman Cincom Smalltalk Program Director –Arden Thomas Cincom Smalltalk Product Manager –Jeremy Jordan Cincom Smalltalk Marketing Manager –Suzanne Fortman Cincom Smalltalk Engineering Manager Contact Information

©2015 Cincom Systems Inc. All Rights Reserved. 22 Evaluate Cincom Smalltalk: try.cincomsmalltalk.com Join our Cincom Smalltalk Developer Program: develop.cincomsmalltalk.com Try Cincom Smalltalk