ldtprunner XML
- - Group set of related test-scripts into one category - In a group if the current executing script fails, then rest of the scripts in the current group will be skipped and ldtprunner will start executing the next group
- Each individual scripts can take optional Data XML file as an argument
- Same script can be called multiple times with different Data XML file - Scripts can be grouped in any sequence. Based on the sequence, scripts will be executed
Following are the list of recommendations when generating ldtprunner XML
- - Select the log file to initialize in ldtprunner XML - Select log file overwrite option
Tags
We have the following tags in ldtprunner XML
ldtp - The complete XML are tagged under this <ldtp> and </ldtp> tag
logfileoverwrite # - Value 0 (append to existing log file, if its already available) or 1 (Truncate the existing file, if its already available and write the data from 0)
logfile # - File name, where the log file has to be written. Log files are generated in XML format. Its preferred to give absolute path for the log file
appmapfile # - Optinal application map file name. This option is available only for backward compatibility. We recommend you not to use this option
group - A group can contain one or more scripts. All the scripts in a group will be executed in sequence. The purpose of group is, if one of the script fails, then the whole group is skipped
script - Script contains one script file name and optional data file name
name - Script file name
data # - Data file name (Data file content will be in XML format - Data XML)
Note: # marked are optional fields
