Base objects, the user interface, and the technology that powers the Nextworld Platform are all created, upgraded, and tested by Nextworld. However, the applications and dashboards that you create or customize are yours, and you need to test them. Continuous testing of applications is critical to prevent applications with defects from reaching customers. 

There are multiple components to the application testing process, including:

  • Temporary tenants—Both manual and automated tests are performed in temporary tenants, which are isolated environments created on-demand. This ensures that testing never compromises data in the environments where the applications are built or used. You must set temporary tenant templates before any testing can take place.
  • Test designs—To test an application, you must collect the criteria that determine if it’s working as expected. Test designs are broken down into individual case objectives that users complete when using an application. Test designs guide both manual testing and the creation of automated tests.
  • Automated testing—After an application has been built, customized, or upgraded, configure an automated test to monitor its functionality. Automated tests run in the background and simulate real user actions.

Test designs

The criteria that determine if an application is working as intended are essential to the testing process. Application developers use the Test Design Definitions application to assemble these criteria and other important information about testing the application.

A test design is a detailed plan of what needs to be tested to verify that an application works as expected and is ready to deliver to customers. It serves as a guide for performing a thorough test. That means that creating a test design requires a comprehensive understanding of the application. Use the Test Design Definitions application to gather important information about the application's purpose, the impact of the application not functioning correctly, and the objectives users complete when using it.

When you make changes to an application, you must update the associated test design.

Context and impact

Use the Test Design Definitions application to collect answers to questions about the application, such as:

  • What is it used for?
  • Is its structure complex?
  • Is it vital for the user's business to operate?
  • How is data shared between this application and others?

This kind of information is critical to the person performing or automating the test. Plus, by determining the impact of the application failing to serve its function, you can establish the priority of testing the application.

For example, the Company Directory application is the central repository for all contacts, including individuals and organizations. While the application isn't complex, its failure to function correctly could drastically affect a customer's business. Therefore, testing the application is critical, but the test itself would likely be simple.

Case objectives

Each test design is also made up of case objectives. Each objective is then made up of user actions and the effects they have within Nextworld. These effects represent the business logic that's been built into the application, and exactly what needs to be validated to verify the application's functionality. They are called Essential Validations.

For example, when creating a new record in the Company Directory application, you must select a value in the Contact Type field. Depending on the value you select, certain fields are hidden or shown. Selecting Organization, for example, hides the Gender field. No organization in your directory should have a gender, so it's important to validate that the business logic that hides that field works. In a test design for the Company Directory application, one case objective would be to set the Contact Type field. Within that objective, the user actions and essential validations would be as follows:

SequencePre-validation ActionsEssential Validation
5Set Contact Type to OrganizationValidate that Gender field is now hidden
10Set Contact Type to Person Validate that Gender field is now shown

The granularity and organization of a test design is not limited by the Test Design Definitions application, but there are some standards you should adhere to. Learn more in Application testing best practices.

Test Design Definitions application

Application developers use the Test Design Definitions application to assemble the criteria necessary to determine whether an application is working as expected. These criteria outline exactly what needs to be tested so that the application can be delivered to your customers.

Create test designs to guide the testing process. Using the contextual information and testing criteria you assemble in a test design, an application developer with no previous knowledge of the application can test it. Testing criteria is made up of case objectives, which are broken down into essential validations and pre-validation actions. Learn more in Test designs.

Add case objectives to the detail list region. Use the Edit row action to provide additional detail, including the essential validations. You can add selected essential validations to other case objectives, or add selected case objectives to other test designs, with the Copy/Move Validations and Copy/Move Objectives actions.

After case objectives are added, you can use the Record in New Tab action to use the recording tool to create automated test actions that test the objectives. Learn more in Create automated tests with the Nextworld recording tool.

In addition to the case objectives, use the Business Context, Dependencies, and Notes pages to collect other important information about the application that is important to know when testing the application.

Business Context

Use the Business Context page to describe the purpose of the application. Determine the risk of the application failing to perform as expected so that you can prioritize testing for each of your applications.

Dependencies

Use the Dependencies page to describe how data is shared between this application and others. For example, records in the Sales Credits application depend on records in the Sales Orders application, and records in the Sales Orders application depend on records in the Sales Quotes application. This would be important information to include for anyone testing the applications or updating the test designs.

Notes

Use the Notes page to collect any other information that is important to know when testing this application. As you are building automated tests for the application using , you can see the total number of case objectives and how many have been automated.

Application testing best practices

These best practices ensure application testing is performed consistently and efficiently throughout Nextworld.

General

Test every application that you deliver to customers, including applications that you haven't updated in the current release.

Test suites should match the test design for the application. Each test action in the test suite should match each case objective in the test design.

When you make changes to an application, update the associated test design and, if applicable, the automated tests. Ensure the data in your seed environments also accommodates your changes.

Seed data environments

Only use your seed data environments to manage your sample data. All testing should be performed in a temporary tenant that copies sample data from a seed environment.

Carefully consider the business data in your seed environments. The sample data you include must contain everything that you need to perform your tests, but you should limit it to only the records you need to test your applications. This data is copied over to every temporary tenant that is created, so excess records put a load on the system.

Maintain the sample data in your seed environments so that your automated tests continue to run normally. For example, if the fiscal calendars you set up for companies in your seed environment are no longer valid, tests that use relative dates start to fail.

Test designs

Be as thorough as possible when creating your test designs. Create a test design for every application you deliver to your customers. 

When you make changes to an application, update the associated test design. All tests should be repeatable.

Automated testing

The most important applications to build automated tests for are those that are dependent on one another. This is because the purpose of automated tests is to monitor for regressions. A regression is a failure that occurs when a change to one application has an unexpected consequence on another.

You should always use the recording tool to create test actions to ensure that all required steps for a functional test are included. Only use the Test Action Definitions and Test Action Steps Inquiry applications to edit existing test actions. 

Test your tests. Run each test action to validate its functionality before adding it to a test flow. Run each test suite to validate its functionality before selecting the Active checkbox and running it with other test suites in your scheduled submissions.

Each test suite runs in its own temporary tenant. Test suites are made up of test flows, which are made up of test actions. Be aware of the sequence that test actions run and how each action changes the data in the temporary tenant. For example, you may have two test actions, one to delete a record, and one to edit that same record. Provided that the record exists in the seed environment defined on your temporary tenant template, both test actions pass when you run them individually. This is because they run in separate temporary tenants. However, if the actions run as a part of test flows in a test suite, the order of the actions matter. If the action to delete the record comes first, the test suite fails on the action to edit the record.

Start every test action by navigating to the application from the homepage, and end every test action by navigating back to the homepage. This allows test actions to easily be reused and rearranged in a test suite.