Atf V2 Study Guide Reupdated 2023
ATF v2 STUDY GUIDE REUPDATED 2023 Goals guiding ATF development: - - Increase ServiceNow customer upgrade value by reducing the time required for instance validation - Drive quality by performing instance verification in exactly the same way, as often as needed - Make the framework user interface independent and upgrade safe, all while requiring no extra licensing cost - Manage risk by providing more productive upgrades, allowing customers to stay current Benefits of the Automated Test Framework - - Increased productivity - Ease of use - Better test accuracy Benefits of the Automated Test Framework: Increased productivity - - ATF can provide coverage for most manual test cases, reducing ServiceNow upgrade cycles and accelerating time to production. - Regression testing can be run by a single system administrator without specific business process expertise. - Reusable test templates can also be created to expedite development of commonly performed testing patterns. Benefits of the Automated Test Framework: Ease of use - - ATF is designed for both technical and non-technical users. - Although scripting is supported for complex tests, ATF is targeted as a no-code or low-code solution. - No additional tools or software is required to use ATF. Benefits of the Automated Test Framework: Better test accuracy - - ATF provides the ability to create reusable testing plans to reduce manual efforts. - Tests are developed based on reliable best practices while avoiding inconsistent common user testing errors. Types of testing targeted by ATF - - Functional business logic testing - Regression testing - Browser compatibility testing - Server-side Jasmine testing Types of testing targeted by ATF: Functional business logic testing - - verifies a process is fit for its intended purpose and meets its defined acceptance criteria - can provide functional testing across the Now Platform. It supports delivered applications, all scoped applications, Service Portal, custom tables, and custom forms. - testing can be performed on the user interface or directly against instance data on the server. Types of testing targeted by ATF: Regression testing - - create comprehensive testing plans to ensure existing processes still work as expected following an upgrade or development cycle - run the same comprehensive testing plan before and after major changes to get a baseline - provides assurance that the same tests will run in the same manner, allowing routine instance checks to be performed whenever necessary Types of testing targeted by ATF: Browser compatibility testing - - targets compatibility testing across multiple browsers and operating systems - write an ATF test once, and then verify the same functionality works as expected for all supported environments. Types of testing targeted by ATF: Server-side Jasmine testing - - Jasmine = an open source testing framework for JavaScript - Jasmine tests are called to verify server-side functionality from the steps of an ATF test. Main areas where Cloud Dimensions pulls in manual testing and other third-party testing tools include: - - Load testing - Performance testing - Report testing - Email format testing *** Match the following testing challenges to their corresponding ATF solution CHALLENGES - Exposure to project risk increased when not current on new ServiceNow releases - Automated tests created by third-party tools can break when the ServiceNow UI changes - Consistent repeatability across manual testers cannot be managed well - Upgrade cots are driven up by the resources spent on manual testing ATF SOLUTION - ATF manages risk with more productive upgrades, allowing you to stay current - ATF increases upgrade value by reducing the reliance on manual testing - ATF verifies your instance in exactly the same way, as often as needed - The ATF framework is user interface independent and upgrade safe - - Automated tests created by third-party tools can break when the ServiceNow UI changes = The ATF framework is user interface independent and upgrade safe - Consistent repeatability across manual testers cannot be managed well = ATF verifies your instance in exactly the same way, as often as needed - Upgrade cots are driven up by the resources spent on manual testing = ATF increases upgrade value by reducing the reliance on manual testing - Exposure to project risk increased when not current on new ServiceNow releases = ATF manages risk with more productive upgrades, allowing you to stay current *** What types of testing is ATF designed to cover? Select all that apply? - Browser compatibility testing for the application - Regression testing following an update - Business logical functional testing to meet unique criteria - User Acceptance Testing (UAT) for sign-off approval - - Browser compatibility testing for the application - Regression testing following an update - Business logical functional testing to meet unique criteria The important elements used to develop ATF testing include: - - Test suites - Tests - Test steps Test suite - groups tests together that are typically performed at the same time Test suites - - represent a grouping of one or more tests or other test suites. - The hierarchy of child test suites can be to any level. - The same test can be included within multiple test suites. - However, a test suite can only be assigned one parent test suite. Test - represents a set of actions and assertions to verify an expected end result - Each action or assertion within the test is represented by an individual test step. - Although there is no limit to the number of test steps contained within a test, it is typically better to create smaller focused tests, rather than larger broad tests. Client and server - - Some of the test steps within a test are performed on the client user interface, while others are performed on the server. - A single test can include both client and server actions and assertions. - Test steps performed on the client simulate user interactions, such as opening a form. - Test steps performed on the server execute in the background and cover a wide range of possibilities. Create User - - dynamically adds a new user, assigns it specified roles, and then impersonates the user. - once a test completes, the user created is removed. To help your tests remain self-contained without dependencies to specific users and roles * recommended to use Create a User at the the beginning of a test, rather than Impersonate from New York forward. Test step - - represents a single action or assertion within a test - ex: impersonating a user, opening a form, or validating a field value Different types of test steps are created using different test step configurations. A test step configuration: - defines the behavior and characteristics of each type of action or assertion. Test Designer - - most common ATF role on a ServiceNow project - can create and run tests and test suites - most application developers are assigned the role since ATF tests should be created for all important customizations. * Although coding skills are not mandatory, debugging tests takes an advanced level of ServiceNow and ATF knowledge. Coding skills required: Low-code or No-code Test Designers can perform the following capabilities: - - Create, edit, and delete tests suites - Create, edit, and delete tests - Add test steps to tests using existing test step configurations (new test step configurations can only be created by a Test Administrator) - Run tests and test suites - View test results - View ATF system properties Test Administrators - - ensure ATF system properties are set appropriately to control how the ATF environment operates within an instance - also define retention policies to determine how long testing results should be kept. - large % of the time required involves creating new test step configurations = once created, test step configurations can be reused by any ATF role. - The more new test step configurations required by the project, the more impact there will be on the Test Administrator. - Since new test step configurations are created using script = should have advanced coding experience. - Due to their experience, they are often pulled in to help Test Designers debug failing tests or create new ones. Test Administrators can perform all the capabilities of a Test Designer, plus the following: - - Edit ATF system properties - Create test step configurations
Información del documento
- Subido en
- 28 de agosto de 2023
- Número de páginas
- 11
- Escrito en
- 2023/2024
- Tipo
- Examen
- Contiene
- Preguntas y respuestas