G-Questionnaire can be used by Testers/Developers to create G-Questionnaire Cases based on a default template case within a single, easy-to-use form. Each G-Questionnaire Suite contains one default template and one or more cases. 

What are the Benefits of using G-Questionnaire? 

  1. Test Data Case creation occurs in a single form. 
  2. Power users set up a template that cannot be altered by general users.
  3. Testers/Developers do not need to be well-versed in every aspect of GenRocket.
  4. Testers/Developers can create test cases and generate test data in minimal steps.

When should G-Questionnaire be used? 

  • Any time multiple testers will need to use variations of the same default case to generate test data.

In This Article

What is the G-Questionnaire Management Dashboard?

  • GenRocket's Management Dashboard for managing G-Questionnaire Suites, Templates, and Cases. 

How to Access G-Questionnaire Management Dashboard

  • Select the Project within the Project Dashboard.

  • Expand the Self Serve Menu Options menu for a Project Version and select G-Questionnaire.

G-Questionnaire Editing Modes

There are three editing modes when using G-Questionnaire.

  • Author Mode - When a user creates the G-Questionnaire Suite and modifies the Template, they are in Author Mode. This is typically a Test Data Engineer or Org Admin who is familiar with the 5 Key Components, Self Service Platform, and other key features of the GenRocket web platform.

  • Tester Mode - All other users other than the Q-Questionnaire Creator and Organization Admin will be in Tester Mode. These users are typically Developers or Testers who need to obtain data for a test case quickly and do not need to be well-versed in every aspect of GenRocket.

  • Under the Hood - As a user becomes more familiar with GenRocket, they can look "under the hood" and make additional modifications to G-Questionnaire Cases in Tester Mode.

Additional G-Questionnaire Terms

  • G-Questionnaire Suite - A suite of G-Questionnaires for a selected Project Version of a given Project.

  • G-Questionnaire Template - A default template authored by a power user, which other users can use to create cases for generating the required test data. 

  • G-Questionnaire Case - An individual test data case created from the Template or another Case.

How does G-Questionnaire Work?

Step 1: Create a G-Questionnaire Suite

This step is completed by an Org Admin or Test Data Engineer. They will need to create a G-Questionnaire Suite for a selected Project Version of a given Project.

Step 2: Modify (Author) the G-Questionnaire Template

This step is completed by an Org Admin or Test Data Engineer. When a new G-Questionnaire Suite is saved, the system automatically creates a template that cannot be deleted, only modified. A user will need to modify the template to create a default G-Questionnaire case. 

The Template can be modified by dragging and dropping existing Domains or Attributes into the case, adding Rules, adding Queries, modifying Receivers, etc. These changes are all performed within the same dashboard. 

Note: An Author can continue to modify a Template even if the Testers are using the Template. The modifications an Author makes to the Template will be immediately reflected in the Cases referencing the Template.

Step 3: Copy the Template or another Case

This step is completed by Developers and Testers. The user will need to copy the Template or another Case to create their own G-Questionnaire Case.

Step 4: Modify the new G-Questionnaire Case

This step is completed by Developers and Testers. By default, the user will see the "above the hood" view when viewing the suite and cases. They can do the following when in Tester Mode: 

  • Alter the Loop Cound for each Domain
  • Enter a Constant Value for an Attribute
  • Select from Generated Preview Values
  • Revert to the Original Generator
  • Go "Under the Hood" to make further modifications

Step 5: Download Files and Generate Test Data

Note: G-Repository Server/Client is recommended when using G-Questionnaire to ensure that Developers/Testers have the most up-to-date files for test data generation. For more information, see this article: G-Repository Overview.

Users will need to complete three steps to generate test data using G-Questionnaire: 

  1. Download the G-Questionnaire Suite or a Case
  2. Download the Scenario, Scenario Chain, or Scenario Chain Set
  3. Run the command in a Command Prompt or Terminal Window

Download G-Questionnaire Suite

Download G-Questionnaire Case

G-Questionnaire Command

Then run the command to generate data. This command can be found at the bottom of the G-Questionnaire Management Dashboard for a selected case.

genrocket -tdc <QuestionnaireSuiteName>,gtdc:<Category>.<Case> -r <ScenarioName.grs>

Additional Information

The following pages provide additional information for using G-Questionnaire: 

G-Questionnaire Management DashboardLearn more about the G-Questionnaire User Interface.
How to create a G-Questionnaire SuiteLearn how to create a G-Questionnaire Suite
How to Author a G-Questionnaire TemplateLearn how to author a G-Questionnaire Template. 
How to Create a G-Questionnaire CaseLearn how to create a G-Questionnaire Case.