automation-utils
Version:
Automation helpers
60 lines (37 loc) • 1.3 kB
Markdown
A set of useful methods for the test automation process.
Install automation-utils using npm
```bash
npm install automation-utils
```
```bash
var automationUtils = require("automation-utils")
automationUtils.generateUUID()
```
- [generateUUID()](
- [person.generateRandomPerson()](
- [person.generateRandomName()](
- [person.generateRandomLastName()](
- [person.generateRandomPhoneNumber()](
Creates a Globally Unique Identifier and returns a string.
Creates a random person with the following attributes:
```javascript
var person = {
personName: string,
lastName: string,
email: string (personName + lastName@gmail.com),
phone: string (xx xxxxx-xxxx),
};
```
Creates a random name and returns a string.
Creates a random last name and returns a string.
Creates a ranfom phone number and returns a string.