Please reload

Recent Posts

Get Started with Test Automation in 3 Easy Steps

November 25, 2017

1/2
Please reload

Featured Posts

Testing Approval Processes in NetSuite with Assertology

May 27, 2018

Approval processes are a great example of use cases that can require QA with a large data set. For instance, approval processes may vary based on the:

  1. Role of the user entering the transaction

  2. Dollar amount of the transaction

  3. Discount amount on the transaction

  4. Items on the transaction

  5. And more

With manual QA processes, a QA analyst has to painstakingly repeat the transaction entry process with a number of different inputs. With Assertology, a large set of scenarios can be run quickly and automatically.

 

Getting Started

 

To use Assertology's data set functionality to test approval workflows, start by recording a test case with a single set of input data. Specify a name for the test case, the record type to start with, and click record.

 

 

Then, proceed through the business process. When you are finished, click on the stop recording button to end the recording.

 

 

Importing Data Sets

 

On the data sets tab, click the import data sets button to import your test data and expected results.

 

 

A page will open, allowing you to select two files:

  1. Data File: Contains a list of values to use when running the test.

  2. Assertions File: Contains a list of expected results when running the test with the data from the data file.

 

To build the data file, use the cross-links menu in the top-right and select download data file template. Complete the columns in the data file:

  1. Data Set: Name for the data set

  2. Field: Script ID of NetSuite field that is included in your test steps

  3. Value: Value to set in the field. Use an internal ID for select fields.

  4. Step: Name of test step record.

 

To build the assertions file, select the assertions file template and complete the columns:

  1. Data Set: Name for the data set. This should match a data set in the data file.

  2. Name: Name for your assertion.

  3. Label: Label for referencing the field in your assertion in notifications and documentation.

  4. Field: Script ID of NetSuite field to verify.

  5. Group: Script ID of SubList for line-level fields.

  6. Line: Line number for line-level fields.

  7. Operator: Comparison operator.

  8. Value: Expected value in this field.

  9. Text: Expected text in this field, for select fields.

  10. Formula: "T" if the expected value and expected text are formulas.

  11. Disabled: "T" if this assertion is disabled.

  12. Step: Name of test step record.

 

Select both files and click import data sets.

 

Running Tests for Multiple Data Sets

 

To run the test for multiple data sets, simply use the CTRL key to select multiple data sets when running the test.

 

 

You can conveniently monitor the status of all running tests on the Assertology dashboard.

 

 

Reporting on Test Results

 

To see the results, use the test results detail report.

 

 

To learn more about how to automate testing of scripts, workflows, integrations, and more in just 5 minutes, request your free trial of Assertology Automated Testing for NetSuite today!

 

 

 

 

 

 

 

 

 

Share on Facebook
Share on Twitter
Please reload

Search By Tags
Please reload

Archive