Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents


Introduction

  • A smart debugger greatly enhances the effectiveness of test case development by simulating test execution in debug mode.
  • Users can strategically place breakpoints within test steps, allowing Jenkins to pause execution at these designated points.

...

  •  The test steps which has breakpoint won't be executed until the user resumes the test execution.
  • For the Automation Developers, while developing the testcase itself they can use this testcase debugger feature for validating the testcases.
  • It also makes the testcase development and execution more efficient by giving additional options while executing the testcases. This will provide the capability to do unit level testing over the testcases.


Configurations in Orchestration

...

Parameter NameDescription
DEBUGGER_SERVICESmart Debugger Service Base URL
SMART_DEBUGGER_JENKINS_CONFIG

This is the configuration of the jenkins job which will be used for the debugger feature test execution. It is done in json format. Two jenkins job details has to be mentioned which are the scripted and scriptless jenkins job.
scriptlessDebuggerJobName - provide the name of the scriptless debugger job
scriptedDebuggerJobName - provide the name of the scripted debugger job name
scriptlessJenkinsServerBaseUrl - provide the base URL of the jenkins application in which the scriptless debugger job is present
scriptedJenkinsServerBaseUrl - provide the base URL of the jenkins application in which the scripted debugger job is present
scriptlessJenkinsServerUserName - provide the user name of the jenkins application in which the scriptless debugger job is present
scriptedJenkinsServerUserName - provide the user name of the jenkins application in which the scripted debugger job is present
scriptlessJenkinsServerPassword - provide the password of the jenkins application in which the scriptless debugger job is present
scriptedJenkinsServerPassword - provide the password of the jenkins application in which the scripted debugger job is present

eg:
{"scriptlessDebuggerJobName":"SCRIPTLESS_JOB_SMART_DEBUGGER","scriptedDebuggerJobName":"SCRIPTED_JOB_SMART_DEBUGGER","scriptlessJenkinsServerBaseUrl":"http://localhost:8081/jenkins","scriptedJenkinsServerBaseUrl":"http://localhost:8082/jenkins","scriptlessJenkinsServerUserName":"username","scriptlessJenkinsServerPassword":"xyz","scriptedJenkinsServerUserName":"username","scriptedJenkinsServerPassword":"pqr"} 

AUTOMATICS_DNS_BASE_URL

Provide the DNS (Domain Name System) base URL of the Automatics application.

eg: https://rdkm/Automatics

Test_Types

This config is used to add a new test type. As part of Smart Debugger feature, we are introducing a new test type which is mentioned below.
SMART_DEBUGGER


Configurations in Automatics Properties

...

Jenkins job is getting used in the Automatics to execute the test case in debug mode. Partner can refer Smart Debugger Jenkins Setup for detailed steps on how to setup jenkins job for smart debugger.

...