Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 808 Bytes

File metadata and controls

38 lines (25 loc) · 808 Bytes

RobotFramework-DataGeneratorLibrary

Library to generate data by pattern

Strings

Generate random string by pattern:

Examples: | ${string} | Get Random String By Pattern | ddd10d-c2ccc-d2-cc2-w-w*5ww |

Description:

  • d - digit
  • c - char
  • w - word, digits and chars
      • produce preceding char multiple times

Data and time

Get formatted time:

Return current date and time in your format according

-- m - minutes -- h - hours -- d - days -- w - weeks

Example:

| ${necessary_time} | Get Formatted Time | "%Y-%m-%dT%H:%M:%SZ | +40w |