This document discusses UI test automation techniques using the JavaFX UI library. It presents the Jemmy tool for automating UI tests in JavaFX. Key points covered include:
- The features of UI libraries important for testing like control hierarchy, controls, transformations, and events
- How Jemmy supports testing JavaFX features through extensions like JemmyFX
- Techniques for writing automated tests using Jemmy including looking up controls, verifying properties, and checking images
- How remote testing can be done by running tests on a separate device through JemmyRemote.
Automating JFC UI application testing with JemmySPB SQA Group
В докладе рассказано о нескольких подходах к автоматизации тестирования через пользовательский интерфейс. Вы узнаете как автоматизировать приложения на Java Swing. Также будет рассмотрен инструмент автоматизированного тестирования Jemmy, продемонстрирована работа с ним. Еще вы познакомитесь с новыми возможностями Jemmy 3.
I presented this at CocoaConf on 10.26.12. The Trifecta provides an easy-to-use framework for scripting your test cases and organizing your functions and test suites using XCode Instruments. http://cocoaconf.com/speaker/viewDetails/59
Questions and feedback are welcomed. @blackstonefinn
Mark Chang from the iOS UIAutomation testing department introduced iOS accessibility, development tools like Instruments and Tuneup JS, and automation testing. He demonstrated how to perform automated tests on devices using Instruments and JavaScript. Instruments allows testing iOS applications via tracing and profiling code. The Tuneup JS library improves the UIAutomation library by adding assertion functions and the ability to run scripts from the command line or a test runner. He provided references for learning more about Instruments, UIAutomation, and the Tuneup JS library.
Unreal Engine Basics 01 - Game FrameworkNick Pruehs
First chapter of the lecture Unreal Engine Basics taught at SAE Institute Hamburg.
- Getting familiar with Unreal Engine as a technology, framework and toolset
- Learning the basics about writing Unreal Engine C++ code
Automating JFC UI application testing with JemmySPB SQA Group
В докладе рассказано о нескольких подходах к автоматизации тестирования через пользовательский интерфейс. Вы узнаете как автоматизировать приложения на Java Swing. Также будет рассмотрен инструмент автоматизированного тестирования Jemmy, продемонстрирована работа с ним. Еще вы познакомитесь с новыми возможностями Jemmy 3.
I presented this at CocoaConf on 10.26.12. The Trifecta provides an easy-to-use framework for scripting your test cases and organizing your functions and test suites using XCode Instruments. http://cocoaconf.com/speaker/viewDetails/59
Questions and feedback are welcomed. @blackstonefinn
Mark Chang from the iOS UIAutomation testing department introduced iOS accessibility, development tools like Instruments and Tuneup JS, and automation testing. He demonstrated how to perform automated tests on devices using Instruments and JavaScript. Instruments allows testing iOS applications via tracing and profiling code. The Tuneup JS library improves the UIAutomation library by adding assertion functions and the ability to run scripts from the command line or a test runner. He provided references for learning more about Instruments, UIAutomation, and the Tuneup JS library.
Unreal Engine Basics 01 - Game FrameworkNick Pruehs
First chapter of the lecture Unreal Engine Basics taught at SAE Institute Hamburg.
- Getting familiar with Unreal Engine as a technology, framework and toolset
- Learning the basics about writing Unreal Engine C++ code
Shai Raiten's talk at the SELA Developer Practice (May 2013) about Advanced Coded UI using Visual Studio 2012. This presentation explain how to work with multiple UI maps, how to use various types of data sources, how to use LINQ and Reflection for project refactoring, and how to create and use logs and traces.
Andrew Eisenberg gives an overview of UI testing with Protractor. He discusses installing and running Protractor, writing basic tests, more complex test scenarios using page objects and promises, debugging tips, and considerations around when and how to use Protractor for UI testing AngularJS applications. While Protractor is a powerful tool, he notes it has limitations and maintenance costs, and manual testing may be better for unstable UIs and use cases in flux.
DSL, Page Object and WebDriver – the path to reliable functional tests.pptxMikalai Alimenkou
Presentation from 10th SQADays conference in Moscow (December 2011) about different test design approaches to make functional tests on WebDriver more flexible, reliable and stable.
DSL, Page Object и WebDriver – путь к надежным функциональным тестамSQALab
DSL, Page Object and WebDriver patterns help address issues with Selenium tests such as verbosity, lack of expressiveness, fragility, and lack of reuse. The presentation recommends a three step approach:
1. Introduce a DSL to create high-level, readable tests in the language of the application domain.
2. Implement the Page Object pattern to separate test logic from page details through page maps.
3. Divide pages into reusable elements to increase code reuse and simplify page objects.
This approach results in reliable, clear, and maintainable tests that better model the application under test.
This document introduces simplified scripting, a new feature in Rational Functional Tester (RFT) version 8.1. It allows creating test scripts using a visual and natural language approach without needing to know a programming language. Simplified scripts contain easy to understand English statements and utilize application screenshots and object highlighting. The feature streamlines test authoring, modification, and execution. Advanced options allow inserting Java code snippets or modules into the generated test code. A demo is provided to showcase simplified scripting capabilities.
This document introduces simplified scripting, a new feature in Rational Functional Tester (RFT) version 8.1. It allows creating test scripts using a visual and natural language approach without needing to know a programming language. Simplified scripts contain easy to understand English statements and utilize application screenshots and object highlighting. The feature streamlines test authoring, modification, and execution. Advanced options allow inserting Java code snippets or modules into the generated test code. A demo is provided to showcase simplified scripting capabilities.
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan KuštInfinum
In this talk, we’ll show you our development process at Infinum. We'll talk about Continuous integration, MVP, Git flow, static code analysis, Unit tests, multi-environment support and a few more.
Episode 20 - Trigger Frameworks in SalesforceJitendra Zaa
This document discusses trigger frameworks in Salesforce and their benefits. It provides an overview of trigger execution order and common patterns for writing trigger frameworks, including the trigger handler and interface-based patterns. The document demonstrates examples using these patterns. Trigger frameworks provide benefits like consistent execution, preventing recursion, improved testability and maintainability. Choosing the right framework depends on factors like complexity, extensibility and code reusability. Resources for learning more about trigger frameworks are also provided.
This document discusses code quality and testing tools from Micro Focus including DevPartner Studio, SilkTest, and Silk Central Test Manager. It summarizes the capabilities of these tools such as source code review, security scanning, debugging, performance analysis, test automation, requirements management, and deployment. The document emphasizes that these tools can help achieve better software faster through a proactive approach to continuous integration, testing, and analysis.
Functional testing allows testing mobile apps by interacting with the user interface in a live manner similarly to how a human user would. It involves arranging test data, acting by programmatically interacting with UI elements, and asserting expected results. With Xamarin.UI.Test, functional tests for Xamarin apps can be written in C# to click buttons, enter text, and verify outcomes by querying the app user interface. While it provides a way to test apps across platforms, there are some limitations such as only running iOS tests on a Mac and no support for Universal Windows Platform apps.
Iasi code camp 20 april 2013 marian chicu - database unit tests in the sql se...Codecamp Romania
This document discusses database unit testing. It defines unit testing as testing individual units of source code to determine if they are fit for use. Developers, DBAs, and QA engineers care about unit testing because it finds problems early, facilitates change, and simplifies integration. The document discusses test-driven development concepts and architectures. It notes that while the initial cost of writing unit tests is high, there are real benefits like thinking-driven development and documentation. The presentation demonstrates unit testing with Visual Studio and concludes with references on database unit testing tools and practices.
My talk delivered on 10th of April 2014 in Bristol at ACCU Conference.
This is the combination of a few talks I delivered over 2012 and 2013 with some latest updates.
This is an experience report based on the work of many developers from Atlassian and Spartez working for years on Atlassian JIRA.
If you have (or going to have) thousands of automated tests and you are interested how it may impact you, this presentation is for you.
WOdka is a WebObjects framework that was originally developed in Japan. It includes several frameworks like AuditTrail, JQueryMobileD2W, and ModernistD2W. WOdka has a unified dashboard for developers and administrators. It provides features like logical delete, roles and permissions, and integration with NotificationCenter. WOdka supports modern techniques like CSS3, multi-language, and REST. It is actively developed and maintained by developers in Japan and internationally.
Blazor Stability Testing Tools for Bullet Proof ApplicationsEd Charbeneau
.NET in the browser may sound like Blazor's strength, however the story of Blazor testing may just be its biggest potential upside. In this session we'll discuss what makes Blazor an ideal candidate for: Unit Testing, Integration Testing, and Automated System Testing.
This is a presentation about mobile apps testing using Appium. The presentation conrtains tips on comprehensive testing of apps written for various devices and platforms.
Presentation by Yaroslav Pernerovskyy (Lead Test Engineer, GlobalLogic, Kyiv), delivered at UA Mobile, November 22, 2014.
More details - http://uamobile.org
The Angular framework is great for building large-scale web applications that can be maintained and enhanced. When you're building enterprise-level apps, testing is vital to the development process. Testing improves the quality of code and reduces maintenance, saving both time and money. Developers who know how to build and leverage tests are highly valued by their clients and companies.
Implementing Test Automation in Agile ProjectsDominik Dary
All new features at eBay Europe are developed using SCRUM. One key success factor for those projects is to have a reliable end-to-end test automation safety net. This presentation illustrates how in addition to a robust automation toolset it is essential to have an integrated approach to test automation design:
Test Aspects - Test Aspects are used to do the functional design of the end-to-end automation test cases. Since this is done upfront, the tester is able to focus on the what rather than the how.
Modeling of the Biz Domain Layer - The Biz Domain Layer is an abstraction layer above the user interface that is implemented in the test code. This layer is divided into pages and flows which are then used in the tests.
Test Implementation - Tests are written in Java, stored in SVN and are executed using the WebDriver Grid (Selenium2). Tests execution can be triggered by all team members via a continuous integration server (Hudson).
Lean Test Automation – it is important to retain and maintain the quality of the tests. Key success factors for this are: Code Reviews, Software Craftsmanship, Test Aspect Reviews and the “Definition of Done”.
Following an integrated approach to test automation ensures high efficiency, low overhead and easier maintenance.
This document provides information about a mobile developer position at eBuddy, a messaging app with 30 million monthly users and employees of 26 nationalities. It outlines the company's technologies including Maven, Ant, and testing frameworks. It describes responsibilities like building automated processes, open source contributions, and personal projects that last one sprint duration. The document emphasizes best practices for code quality, testing, dependency injection, analytics, and continuous integration.
Shai Raiten's talk at the SELA Developer Practice (May 2013) about Advanced Coded UI using Visual Studio 2012. This presentation explain how to work with multiple UI maps, how to use various types of data sources, how to use LINQ and Reflection for project refactoring, and how to create and use logs and traces.
Andrew Eisenberg gives an overview of UI testing with Protractor. He discusses installing and running Protractor, writing basic tests, more complex test scenarios using page objects and promises, debugging tips, and considerations around when and how to use Protractor for UI testing AngularJS applications. While Protractor is a powerful tool, he notes it has limitations and maintenance costs, and manual testing may be better for unstable UIs and use cases in flux.
DSL, Page Object and WebDriver – the path to reliable functional tests.pptxMikalai Alimenkou
Presentation from 10th SQADays conference in Moscow (December 2011) about different test design approaches to make functional tests on WebDriver more flexible, reliable and stable.
DSL, Page Object и WebDriver – путь к надежным функциональным тестамSQALab
DSL, Page Object and WebDriver patterns help address issues with Selenium tests such as verbosity, lack of expressiveness, fragility, and lack of reuse. The presentation recommends a three step approach:
1. Introduce a DSL to create high-level, readable tests in the language of the application domain.
2. Implement the Page Object pattern to separate test logic from page details through page maps.
3. Divide pages into reusable elements to increase code reuse and simplify page objects.
This approach results in reliable, clear, and maintainable tests that better model the application under test.
This document introduces simplified scripting, a new feature in Rational Functional Tester (RFT) version 8.1. It allows creating test scripts using a visual and natural language approach without needing to know a programming language. Simplified scripts contain easy to understand English statements and utilize application screenshots and object highlighting. The feature streamlines test authoring, modification, and execution. Advanced options allow inserting Java code snippets or modules into the generated test code. A demo is provided to showcase simplified scripting capabilities.
This document introduces simplified scripting, a new feature in Rational Functional Tester (RFT) version 8.1. It allows creating test scripts using a visual and natural language approach without needing to know a programming language. Simplified scripts contain easy to understand English statements and utilize application screenshots and object highlighting. The feature streamlines test authoring, modification, and execution. Advanced options allow inserting Java code snippets or modules into the generated test code. A demo is provided to showcase simplified scripting capabilities.
Infinum Android Talks #13 - Developing Android Apps Like Navy Seals by Ivan KuštInfinum
In this talk, we’ll show you our development process at Infinum. We'll talk about Continuous integration, MVP, Git flow, static code analysis, Unit tests, multi-environment support and a few more.
Episode 20 - Trigger Frameworks in SalesforceJitendra Zaa
This document discusses trigger frameworks in Salesforce and their benefits. It provides an overview of trigger execution order and common patterns for writing trigger frameworks, including the trigger handler and interface-based patterns. The document demonstrates examples using these patterns. Trigger frameworks provide benefits like consistent execution, preventing recursion, improved testability and maintainability. Choosing the right framework depends on factors like complexity, extensibility and code reusability. Resources for learning more about trigger frameworks are also provided.
This document discusses code quality and testing tools from Micro Focus including DevPartner Studio, SilkTest, and Silk Central Test Manager. It summarizes the capabilities of these tools such as source code review, security scanning, debugging, performance analysis, test automation, requirements management, and deployment. The document emphasizes that these tools can help achieve better software faster through a proactive approach to continuous integration, testing, and analysis.
Functional testing allows testing mobile apps by interacting with the user interface in a live manner similarly to how a human user would. It involves arranging test data, acting by programmatically interacting with UI elements, and asserting expected results. With Xamarin.UI.Test, functional tests for Xamarin apps can be written in C# to click buttons, enter text, and verify outcomes by querying the app user interface. While it provides a way to test apps across platforms, there are some limitations such as only running iOS tests on a Mac and no support for Universal Windows Platform apps.
Iasi code camp 20 april 2013 marian chicu - database unit tests in the sql se...Codecamp Romania
This document discusses database unit testing. It defines unit testing as testing individual units of source code to determine if they are fit for use. Developers, DBAs, and QA engineers care about unit testing because it finds problems early, facilitates change, and simplifies integration. The document discusses test-driven development concepts and architectures. It notes that while the initial cost of writing unit tests is high, there are real benefits like thinking-driven development and documentation. The presentation demonstrates unit testing with Visual Studio and concludes with references on database unit testing tools and practices.
My talk delivered on 10th of April 2014 in Bristol at ACCU Conference.
This is the combination of a few talks I delivered over 2012 and 2013 with some latest updates.
This is an experience report based on the work of many developers from Atlassian and Spartez working for years on Atlassian JIRA.
If you have (or going to have) thousands of automated tests and you are interested how it may impact you, this presentation is for you.
WOdka is a WebObjects framework that was originally developed in Japan. It includes several frameworks like AuditTrail, JQueryMobileD2W, and ModernistD2W. WOdka has a unified dashboard for developers and administrators. It provides features like logical delete, roles and permissions, and integration with NotificationCenter. WOdka supports modern techniques like CSS3, multi-language, and REST. It is actively developed and maintained by developers in Japan and internationally.
Blazor Stability Testing Tools for Bullet Proof ApplicationsEd Charbeneau
.NET in the browser may sound like Blazor's strength, however the story of Blazor testing may just be its biggest potential upside. In this session we'll discuss what makes Blazor an ideal candidate for: Unit Testing, Integration Testing, and Automated System Testing.
This is a presentation about mobile apps testing using Appium. The presentation conrtains tips on comprehensive testing of apps written for various devices and platforms.
Presentation by Yaroslav Pernerovskyy (Lead Test Engineer, GlobalLogic, Kyiv), delivered at UA Mobile, November 22, 2014.
More details - http://uamobile.org
The Angular framework is great for building large-scale web applications that can be maintained and enhanced. When you're building enterprise-level apps, testing is vital to the development process. Testing improves the quality of code and reduces maintenance, saving both time and money. Developers who know how to build and leverage tests are highly valued by their clients and companies.
Implementing Test Automation in Agile ProjectsDominik Dary
All new features at eBay Europe are developed using SCRUM. One key success factor for those projects is to have a reliable end-to-end test automation safety net. This presentation illustrates how in addition to a robust automation toolset it is essential to have an integrated approach to test automation design:
Test Aspects - Test Aspects are used to do the functional design of the end-to-end automation test cases. Since this is done upfront, the tester is able to focus on the what rather than the how.
Modeling of the Biz Domain Layer - The Biz Domain Layer is an abstraction layer above the user interface that is implemented in the test code. This layer is divided into pages and flows which are then used in the tests.
Test Implementation - Tests are written in Java, stored in SVN and are executed using the WebDriver Grid (Selenium2). Tests execution can be triggered by all team members via a continuous integration server (Hudson).
Lean Test Automation – it is important to retain and maintain the quality of the tests. Key success factors for this are: Code Reviews, Software Craftsmanship, Test Aspect Reviews and the “Definition of Done”.
Following an integrated approach to test automation ensures high efficiency, low overhead and easier maintenance.
This document provides information about a mobile developer position at eBuddy, a messaging app with 30 million monthly users and employees of 26 nationalities. It outlines the company's technologies including Maven, Ant, and testing frameworks. It describes responsibilities like building automated processes, open source contributions, and personal projects that last one sprint duration. The document emphasizes best practices for code quality, testing, dependency injection, analytics, and continuous integration.
Similar to Александр Ильин, Oracle, - Технология автоматизации тестирования пользовательского интерфейса на примере JavaFX (20)
2. <Insert Picture Here>
UI test automation techniques by an example of JavaFX UI.
Alexandre (Shura) Iline
Java quality architect
3. The following is intended to outline our general product
direction. It is intended for information purposes, and
may not be incorporated into any contract. It is not a
commitment to deliver any material, code, or
functionality, and should not be relied upon in making
purchasing decisions.
The development, release, and timing of any features
or functionality described for Oracle's products remains
at the sole discretion of Oracle.
16. 16
Find Do VerifyPass Pass
Pass
Fail Fail Fail
Failure analysis
Find next control
To perform operation
Verify that expected
State reached
Perform necessary
actions
UI test workflow
22. 22
• Type
• Property
– text
– value
– ID
– tooltip
• Image
• Coordinated
• Index (last resort)
• Any criteria which could be written in java code
Lookup principles
Test should be able to find control by ...
25. 25
Control interfaces
Control type Properties
Node Mouse, Keyboard
Control Focusable
ToggleButton Selectable
Text SelectionText
ScrollBar, Slider Scroll
ListView Scroll, Parent<? extends Object>
Scene, Group Parent<Node>
35. 35
Properties
Control type Properties
Node ID bounds
Control get$tooltip get$cursor
ToggleButton get$pressed
Text text get$strikethrough get$underline
Slider, ScrollBar vertical minimum maximum value
CheckBox state is.tri.state
TextInputControl selection.anchor position text
get$columns get$editable
41. 41
TD + *TS NR
TM * NR
NC*
EA =
NC
*
TM
– time needed to run the tests manually
TD
– time needed for automated test development
TS
– time needed for automated test support
NR
– number of test runs
NC
– number of tested configurations
Test automation effectiveness
42. 42
What about record&replay?
• Pretty low TD
– Pretty much the same as TM
… but ...
• High TS
– Generates unmaintainable code
– No test code encapsulation
43. 43
Ideal test
• Lives forever
• Written in terms of domain model
• All the UI logic is hidden within a library
46. 46
JemmyRemote
• Benefits
– Low load on tested UI
– Ability to run on low-end devices
• Limitations
– Two-part code
– Lookup is only through properties
– Slow