Multiple Controls Types in a Grid in the Acumatica Test SDK

By | March 10, 2022

Acumatica Test SDK is a tool that allows us to develop automated test cases for our application. We have systematic details on how to implement the controls listed in the document provided along with the Test SDK package.

While developing one of the test case, we had a requirement to use the dropdown and a checkbox control within a grid column. Normally, the grid we have in a screen has same control type on a specific column but some grids might have a single column with different control types. In our case, it is the grid on the Processing Center screen.

In this blog, we are discussing about how to manage the grid column with multiple control types.

Adding the test cases for drop-down in grid-column:
1. Navigate to the screen with drop-down control type on the grid column.

Dropdown Grid
2. We need to handle the drop-down shown in above screenshot using test cases by first selecting a row, then double-clicking on the cell to display the drop-down values, then selecting the required value.

Dropdown Code

Adding the test cases for Checkbox in grid:
1. Navigate to the screen with checkbox control type on the grid column.

Checkbox Grid
2. We need to handle the checkbox shown in above screenshot using test cases by first selecting a row, then double clicking on values field, then select the required value either True or False.

Checkbox Code

This is how we can overcome the obstacle to set/select the values with different control in the same grid-column and achieve our test case to complete the continuous flow of testing without any blockage.

About Us
Greytrix – a globally recognized and one of the oldest Sage Development Partner and a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners and Sage PSG across the globe. We offer Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that require apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce Sage integration for Sage X3Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data MigrationIntegrated App developmentCustom App development and Technical Support to business partners and end users.
Salesforce Cloud CRM integration offered by Greytrix works with Lightning web components and supports standard opportunity workflow. Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star rated app listed on Salesforce AppExchange.

The GUMU™ Cloud framework by Greytrix forms the backbone of cloud integrations that are managed in real-time for processing and execution of application programs at the click of a button.

For more information on our Salesforce products and services, contact us at salesforce@greytrix.com. We will be glad to assist you.