What is G-Questionnaire?

G-Questionnaire is a component of the GenRocket self service platform that developers and testers can use to modify a G-Case Template (called a Questionnaire) without needing in-depth knowledge of how to create G-Cases. This helps testers and developers, who need test data quickly, speed up test data provisioning. 

G-Questionnaire should be used when users need to generate test data using variations of the same underlying (template) G-Case. For example, a tester may have a need to do edge case testing along with unit testing; in this case, the user can simply change data requirements on a simple form without having to make changes to the underlying G-Case. G-Questionnaire can also be beneficial if you have multiple team members working on the same application testing but need a different variety and volume of data (e.g., a user is doing unit testing while another is doing load testing). 

Below are some benefits of G-Questionnaire:

  • Create volume and variety of test data quickly, with minimal effort.
  • Quickly and easily design a test data case from a single form.
  • Users can modify test data cases without changing the original test data case.
  • Provides a simplified screen for users who lack in-depth knowledge of how to create G-Cases.

Solutions Video

The following video provides a solution example of using the G-Questionnaire feature: 

G-Questionnaire Terms

  • Author Mode - Used to create or "Author" the G-Questionnaire Template, typically done by a user who is well versed in using GenRocket, like a Test Data Engineer (TDE). 
  • Tester Mode - Used to create the volume and variety of data needed based on the G-Questionnaire template (created in the Author mode). This is typically a Developer or Tester.
  • Under the Hood - As users become more familiar with GenRocket, they can look "under the hood" and make additional modifications to their G-Case (e.g., assign a different Generator or add an Attribute).
  • G-Questionnaire Suite - A suite containing the default case template and all created cases. A Project Version can have one or many suites.
  • G-Questionnaire Template - An automatically created template that a TDE can configure to create a default case. Users copy the template to create their own G-Case(s).
  • G-Questionnaire Cases - Individual cases that users create by copying the default template or other existing cases within a G-Questionnaire Suite.
  • G-Questionnaire Management Dashboard - The dashboard for managing G-Questionnaire suites, templates, and cases.

Do You Need G-Cases or G-Questionnaire?

  • G-Questionnaire is a templated version of a G-Case. Any G-Case can be converted to a G-Questionnaire so that it can be used as a template. Other users can use this template to quickly create cases and generate test data, regardless of their knowledge of GenRocket. 

How to Access G-Questionnaire

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

How Does G-Questionnaire Work?

Below is a summary of the required steps. Click here for a step-by-step example of using G-Questionnaire. 

  1. TDE creates and sets up a Project. 
  2. TDE creates a G-Questionnaire Suite (New or from existing G-Case) 
  3. TDE "Authors" the G-Questionnaire Template.
  4. Developers and Testers create Cases from the Template (or other Cases in the suite).
  5. Developers and Testers modify their Cases to generate the required volume and variety. 
  6. They then download the required files and generate their test data.

Please note that users do not have to manually download their files when G-Reposiitory has been set up. For more information about G-Repository, click here

Additional Information

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

G-Questionnaire Step-By-Step WalkthroughSee a step-by-step example of how to set up and use a G-Questionnaire. 
G-Questionnaire Management DashboardLearn more about the G-Questionnaire User Interface.
Two Ways to Create G-Questionnaire SuitesLearn more about the two methods for creating a G-Questionnaire Suite.
How to "Author" a G-Questionnaire TemplateSee an example for authoring a G-Questionnaire Template. 
How to Create Cases from a G-Questionnaire TemplateLearn how to create cases from a G-Questionnaire Template and view use case examples.
How to Add Domains to a G-Questionnaire TemplateLearn about the three ways Domains can be added to a G-Questionnaire Template.
How to Change or Randomize Domain Loop CountsLearn about the options for changing and randomizing loop counts. 
How to Add Attributes to a G-Questionnaire TemplateLearn more about adding Attributes to a G-Questionnaire Template
How to Add Receivers to G-Questionnaire DomainsLearn how to add Receivers to G-Questionnaire Domains.
How to Add Domains to Toggle with the grEnable AttributeLearn how to toggle test data Generation for Domains using the grEnable Attribute.