(DV-2305) Settings

Table of Contents:


In the SNP Validate setting, you can manage various settings for all parts of the SNP Validate tool. You can access the Settings in SNP Validate Dashboard by clicking the corresponding button, or by pressing Shift+F5.


SNP Validate Settings 


Settings are divided into Tabs based on the area they are focusing on:

Settings can be included in the transport request via the function Transport Settings.

Inside SNP Validate Settings

Backend Settings

In the SNP Validate Backend settings tab, you can manage parameters for SNP Validate Backend test scenarios separately by the Edit button and customize reporting statuses as described in the section Reporting Status. Parameters are divided into folders per test scenario. Individual settings are described in the next subchapter. 

Backend settings


SNP Validate Backend Settings Parameters:

DTP

DrillDown

Listcube

Query

Report

Table

System Performance

Other

  • Mass Execute Seq. Wait Time
    • Maximum number of seconds SNP Validate waits for the test step to finish when the mass execution of Test Cases is sequential.

Test Management Settings

Test Management Settings


For more information about Scheduling Checker Settings see Test Plan Scheduling section, specifically the Prerequisites part.
In the section Parameter Settings, various parameters regarding Test Management can be managed. Currently, one parameter DISPLAY_TMPL_TYPE is present, which states whether the Test Case types should be viewed in the Test Plan tab.

Test Case types in Test Plans tab


(OLD) In the section MS Word Templates, MS Word templates for Manual Test Case and for Status Document can be managed. If you upload more template documents, only the first document from the top of the uploaded documents will be used, therefore you need to delete the old template document before you attach a new one. (Tip: you can export the document before deletion).

Business document navigator with SNP Validate templates (fixed layout)


(NEW) By clicking on the button Manage Docx Template you will open SNP Validate repository for Microsoft document templates. Here you can add your own templates in your own layout which are containing test plan-specific placeholders. All templates uploaded to a repository DVD_VAL_DOCX_TEMPLATES are listed in the generator for test plan documentation.

SNP Validate repository for Microsoft document templates (customizable layout)


In the section Other Settings, Test Case statuses can be managed.

Front End Testing Settings

Under Front End Testing Settings you can manage the parameters of the SNP Validate Front End (Web Templates, Web Intelligence, Design Studio, BEx) scenario. Individual settings are described in the next sub-chapter. 

General settings:

  • Excel settings: This setting is required because web pages are built by Javascript, which loads cannot be determined and therefore we allowed a time-out limit for a web page to load.
    • Excel time-out limit

How long (in seconds) should excel look for a particular HTML element (table, tab on the screen, etc.)

  • Execution settings
    • Repeat execution in case of error

The number of times a test case is executed in the case an execution ends with an error

    • Time for user input

How long (in seconds) execution of a report is postponed after it was loaded in Internet Explorer. You can use this time for the manual input (e.g. filtering values). This setting should be used with caution as it goes against the automation principle. We recommend preparing reports for testing, which do not need input for their execution.

BOBJ servers settings: in this option, you can define the server address, and ports for BOBJ, and provide a description. It is possible to specify several servers and also test directly the connection by clicking Test connection.

Design studio settings:

  • Java bin path

Java is required to test documents that are saved on NetWeaver. It is necessary to specify in this field the path to your Java on the system. If a keyword shortcut for this path is created, you can enter this keyword in this field (usually Java).

  • Items per Page 

It is a property of the Design Studio BOBJ document, which ensures that during a test case execution the scrolling in a document table works properly. To obtain the value of this property, go to the BusinessObjects Central Management Console > Applications and choose in the context menu of the Design Studio Runtime > Manage Properties and copy the value of the field Items Per Page into this setting.

Front end settings


Other settings:

These settings are advanced and should be changed only after consultation with SNP.

  • Wait time in logon dialog load

Time in seconds after every change of a window, which is used to detect correct logon dialogs and fill the required fields. This setting is currently relevant for BEx testing.

  • Technical log

Turns on/off technical logs, which provide more detailed information about the test case execution. This setting is currently relevant for Web Intelligence and available only as a specific setting of a test plan (see the section Test plan specific settings).

  • HTML docs load timeout

How long (in seconds) excel should look for a particular HTML document. This setting is currently relevant for Web Intelligence and available only as a specific setting of a test plan (see the section Test plan specific settings).

  • WEBI table load wait limit 

How long (in seconds) excel should wait to load a particular table in an HTML document. This setting is currently relevant for Web Intelligence and available only as a specific setting of a test plan (see the section Test plan specific settings).

  • Log error if table not found

If a table is not found in the output of the Web Intelligence report and this setting is switched to true, the variant execution ends with an error instead of a warning. This setting is currently relevant for Web Intelligence.


For settings recommendations see the section Settings Recommendations.

HP ALM Integration Settings

In the SNP Validate HP ALM Integration settings tab, you can set the following values that are required for the replication of SNP Validate objects to the HP ALM server: 

  • Connection settings
    • URL with port: URL path to HP ALM server together with the port used for standard web browser connection to this server (usually 8080).
    • ALM domain: HP ALM domain where SNP Validate objects will be replicated.
    • ALM project: HP ALM project where SNP Validate objects will be replicated.
  • User settings
    • User name and password that exists in HP ALM server and is authorized to access ALM domain and project.
    • Password is optional and when it is entered, it is stored in a non-readable form. When no password is entered, you are prompted with a password pop-up when executing the replication.
  • Integration settings
    • Test case path: Folder in HP ALM Test Plan area, where all SNP Validate Test cases will be replicated.
    • Test plan path: Folder in HP ALM Test Lab area, where all SNP Validate Test plans will be replicated.
  • Status mapping
    • Table with all SNP Validate Test case and Test plan statuses that can be mapped to HP ALM statuses (F4 help supported).

Connection settings, user settings, and integration settings are saved as a template with a unique template name. Initially, HP ALM Integration contains the default template GLOBAL. Users can save another set of settings as templates. The template can be user-specific, which means it is available only to logged user who created it. Status mapping is independent of templates.

HP ALM Integration Settings 

Test plan specific settings

For SNP Validate Backend Test Cases and Front End Test Cases you can set some settings specific for a given Test Plan, which will override general settings.

Supported test plan specific settings:

  • Backend 
    • all of the backend settings are also available as test plan specific settings
  • Front End
    • User input allowed: Time for user input (in seconds)
    • HTML docs load timeout: Time for a load of HTML document (in seconds) – Web Intelligence exclusive setting
    • WEBI table load wait limit: Time for a load of the table in an HTML document (in seconds) – Web Intelligence exclusive setting
    • Technical log: Turn on/off technical logs – Web Intelligence exclusive setting


Test Plan Specific Settings


Inside SNP Validate Test Plan Specific Settings - backend settings


Front End Test Plan Specific Settings


Transport of settings

The Transport settings button could be found on Backend Settings screen in the top left corner. It allows you to prepare transport with necessary table content to transport settings of SNP Validate so they can be automatically reapplied when the system is refreshed. Checkbox Include test case-dependent settings gives the option to include Test Case dependent settings. Test Case dependent settings contain object IDs which are necessary as internal number ranges for distinct identification of Test Cases and Test Variants. It is recommended to include test case-dependent settings when the system is going to be refreshed and previous Test Cases are going to be imported again to prevent object IDs from overwriting. Transport request is created as transport of copies.

Transport settings 


Transport settings preparation 

How to handle the transport of test cases and settings:

1. Create transport of Test Cases that will be imported to the system after the refresh. Release transport.

2. Create transport of settings. Check the checkbox to include Test Case dependent settings. Release transport.

3. Refresh the system and install SNP Validate again.

4. Import transport with settings.

5. Import transport with Test Cases.

There should not be performed changes in test management between the creation of transport of Test Cases and the transport of settings. 

Do not make any changes in test management (e.g. test case creation) after the refresh of the system until you import settings and Test Cases again.


Include Test Case dependent settings is not necessary when you transport Test Cases and/or settings to a different system.


Interface for backend variant generation

SNP Validate comes with the option to generate backend variants from custom ABAP programs. If you want to generate any backend variants Query/ListCube/DTP/Table/Drill Down from your own ABAP program, you can use SNP Validate API classes, available in /DVD/EQS_GEN package. Each of these classes contains one method Generate that generates the appropriate type of variant based on importing parameters supplied. 

SNP Validate API for variants generation package


A demo report also exists for each type of backend variant, which contains comments and examples of how these classes can be used to generate variants directly from ABAP.
Reports:
/DVD/EQS_GEN_DRILL_VARIANTS: Demo report for the generation of Drill Down variants.
/DVD/EQS_GEN_DTP_VARIANTS: Demo report for the generation of Transformation testing variants.
/DVD/EQS_GEN_LISTCUBE_VARIANTS: Demo report for the generation of ListCube variants.
/DVD/EQS_GEN_QUERY_VARIANTS: Demo report for the generation of Query variants.
/DVD/EQS_GEN_TABLE_VARIANTS: Demo report for the generation of Table variants.

SNP Validate backend testing user authorization

As in SNP Validate Backend testing you can create snapshots of data from all the available system InfoProviders, queries, and tables. For users therefore it is sometimes necessary to restrict their access to this information. 
SNP Validate Backend testing provides three BADI Definitions that you can implement using your own logic to deny access to restricted data images. The following BADIs are available in package /DVD/EQS:

  • /DVD/EQS_BADI_AUTH_INFOPROV: BADI that restricts access to image data for ListCube, DrillDown, and Transformation testing variants based on the InfoProvider name.
  • /DVD/EQS_BADI_AUTH_QUERY: BADI that restricts access to image data for Query testing variants based on query technical name.
  • /DVD/EQS_BADI_AUTH_TABLE: BADI that restricts access to image data for Table testing variants based on DB table technical name.

In a BADI implementation class, the exception /DVD/CX_EQS_AUTH should be raised when a user is not allowed to review the data of a specific image. As per customer needs transport requests with default authorization implementation can be delivered together with release transports (see the chapter Appendix A - DVD Authorization Concept for more information).