Versions Compared

Key

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

The frequently used commands are above the line. Below the line, however, all commands are alphabetically sorted. In order to look for a command, you can type what you are looking for in the command drop down, and your options will be filtered down. You can also enter certain keywords that will bring up related commands for you to view, such as fill, set, etc.

...

2) ACTIVE_WEB_SECURITY_CHECK: Need a Web Security Testing license to use this command. Performs active scanning on web applications to find potential vulnerabilities by using known attacks against the selected targets. This command requires ZAP installation on your device for local runs to work.

Expand
titleMore...

Include Page
"ACTIVE_WEB_SECURITY_CHECK" Command
"ACTIVE_WEB_SECURITY_CHECK" Command

...

13) CLOSE_POPUP: Closes a popup identified by a unique text in the "Test in Popup" field that is not present on other windows opened up by the application under test. "Close all popups except main" option closes all the popups opened except the original/main window. Please note that popup is a window that you can drag and make a tab out of in your browser otherwise it is either an alert box or a div and NOT a popup. This command has been enhanced to pass in case there are no popups found with the text provided in the wizard. The user can also decide if it needs to fail instead of pass in the case popups do not existCommand also allows closing the Last Tab or by using a Handler Index of 1,2,3 based on the order of pages/windows/tabs. The main page will be 0, so this command will not close the main page.

Expand
titleMore...

Include Page
"CLOSE_POPUP" Command
"CLOSE_POPUP" Command

...

Expand
titleReferences...

How to use variables and arrays for dynamic comparisons

REST API Callback Variables

Spaces in JSON key

52) GET_SOAP_VALUEMakes a call to a SOAP web service. XPath's can be provided if values of the XPaths are of interest. Resulting values can be stored in comma-separated variables specified in the "variable name". Special characters can be eliminated from resulting values. Web service response can be read/copied/downloaded after this command is executed. XPath type 'RESPONSE_BODY' doesn't require value and will save the response to the desired variable.

Expand
titleMore...

Include Page
"GET_SOAP_VALUE" Command
"GET_SOAP_VALUE" Command

...

80) MODIFY_LIST: Allows modifying a list which was previously created using Set_List command. In the List Variable field, enter '@' to select the list variable generated in Set_List step, then select an action from the drop-down list. Add_Column: allows you to set a column with or without a custom name. Add_Row: allows you to add a row under a column. Modify_Value: allows you to modify a value for a row by entering its name and index number

81) MULTI_ACTION: Supports combination of keys such as CTRL, ALT, etc as well as Selenium action commands.

...

83) PASSIVE_WEB_SECURITY_CHECKNeed a Web Security Testing license to use this command. Performs passive scanning on all HTTP messages (requests and responses) sent to the web application being tested without making any changes to these requests and responses. This command requires ZAP installation on your device for local runs to work.

Expand
titleMore...

Include Page
"PASSIVE_WEB_SECURITY_CHECK" Command
"PASSIVE_WEB_SECURITY_CHECK" Command

...

93) SET_GLOBAL_VAR: Creates a global variable and assigns the value to a variable name. Global variables can be used across multiple test cases and can be leveraged in different execution sets/load tests. To retrieve the value of this variable and use it somewhere else, refer to command GET_GLOBAL_VAREncrypted checkbox allows you to encrypt and mask the value from appearing in logs or Variables window.

...

Expand
titleMore...

Include Page
"SubmitSUBMIT" Command
"SubmitSUBMIT" Command

99) SUB_STRING: extracts a portion of a given variable or text identified by "Message" into another variable identified by "Variable name" using starting and ending indices. In case you are using variables, you can use show any available variables that you set in your test case by entering "@" in the Message field. A list of variables will appear for you to select from.

...

Expand
titleReferences...

How to use variables and arrays for dynamic comparisons

REST API Callback Variables

105) VERIFY_SOAPMakes a call to a SOAP web service for values that can be then verified. This command allows the checking of multiple value pairs in the REST response. If all but a few of the value pairs are successful, the return message points out the few value pairs that are failing the check. Templates can be injected in this command into expressions pairs. Web service response can be read/copied/downloaded after this command is executed.

Expand
titleMore...

Include Page
"VERIFY_SOAP" Command
"VERIFY_SOAP" Command

...

108) VERIFY_TEXT_IN_PDF: Verifies existence or non-existence of a text identified by "Value" in a PDF document. If the text to verify is inside a frame "Target Frame" should be used. If the text to verify is inside another window/popup, a text to uniquely identify that window should be used in "Target Window". Verification will be done by "Attempts" number of times with "Interval" seconds in between each verification. As soon as the text to verify becomes available, the verification will be performed. Attempts and Interval options are used mainly if rendering of the text is asynchronous. The command allows "case sensitive" verification of a text where the default verification is case insensitive. You can also use a PDF file that directly downloads to your device instead of opening on your browser. To do so, simply add the path of the download file in a Goto_url step followed by the file name and extension. For example, "C:\Users\username\Downloads\file.pdf". The next step will verify the text in PDF which is opened. In case you are using variables, you can use show any available variables that you set in your test case by entering "@" in the Value field. A list of variables will appear for you to select from

Expand
titleMore...

Include Page
"VERIFY_TEXT_IN_PDF" Command
"VERIFY_TEXT_IN_PDF" Command

...