Short Guides

Element Configurations
Coverage

Change coverage criteria

In package 'paradigm.coverage.helpers', there's a function calculating the coverage for each element. Methods <uitp>Covered analyse criteria for model coverage, while <uitp>CoveredScript do the same for script coverage.

Working with the execution report (class ExecutionState)

ExecutionState is a singleton class. Get the instance of ExecutionState, and set writeToDisk to 'true' to due the processing with temporary files (as to avoid 'out of memory' exceptions).

Before execution,

  • for each path, make a call to initializeNewPath
  • * for each element in the path, make a call to initializeExecutionPoint

During execution,

  • at the start of each path, make a call to updateExecutionPath
  • * after executing each element on that path, make a call to updateExecutionPoint

Use reset to bring ExecutionState back to an initial state.

Use displayExecutionInfo to show results.

Restrictions / Pre-conditions

Add/Edit restriction keywords (Written as '__keyword'')

In the plugin 'Paradigm', package 'paradigm.utils.custom', access 'AnalyserUtils'. To add new allowed keywords to an UITP, access the method getFieldEntry<Uitp>, and add a flag for the new keyword at the beginning of the method. Then, use the flag to add the processing of the new keyword to the method.

Mapping
Test Execution

Add test strategies

Change Selenium and Sikuli's element identification

paradigmme/programmer_manual/howto.txt · Last modified: 2014/02/03 02:08 by lvilela