Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "Name": "Netflix Test",
- "CreationDate": "2019-10-20",
- "Commands": [
- {
- "Command": "open",
- "Target": "https://www.netflix.com",
- "Value": ""
- },
- {
- "Command": "deleteAllCookies",
- "Target": "",
- "Value": ""
- },
- {
- "Command": "selectWindow",
- "Target": "TAB=CLOSEALLOTHER",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"formstart\"]/button",
- "Value": ""
- },
- {
- "Command": "waitForElementPresent",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
- "Value": ""
- },
- {
- "Command": "waitForElementPresent",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[3]/button",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[3]/button",
- "Value": ""
- },
- {
- "Command": "waitForElementPresent",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
- "Value": ""
- },
- {
- "Command": "selectWindow",
- "Target": "TAB=OPEN",
- "Value": "https://generator.email/"
- },
- {
- "Command": "clickAndWait",
- "Target": "xpath=/html/body/div[3]/div/div/p/a[1]/button",
- "Value": ""
- },
- {
- "Command": "storeText",
- "Target": "id=email_ch_text",
- "Value": "!clipboard"
- },
- {
- "Command": "selectWindow",
- "Target": "TAB=OPEN",
- "Value": "https://fake-it.ws/"
- },
- {
- "Command": "storeText",
- "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[1]/td[2]/span",
- "Value": "T"
- },
- {
- "Command": "storeEval",
- "Target": "\"${t}\".split(\" \")[0]",
- "Value": "name"
- },
- {
- "Command": "storeEval",
- "Target": "\"${t}\".split(\" \")[1]",
- "Value": "surname"
- },
- {
- "Command": "storeText",
- "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[2]/td[1]/span",
- "Value": "address"
- },
- {
- "Command": "storeText",
- "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[3]/td[2]/span",
- "Value": "postcode"
- },
- {
- "Command": "storeText",
- "Target": "id=iban",
- "Value": "iban"
- },
- {
- "Command": "storeText",
- "Target": "xpath=/html/body/div[3]/div[3]/div/div[1]/div/div[2]/div/table/tbody/tr[1]/td[2]/span",
- "Value": "password"
- },
- {
- "Command": "storeText",
- "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[3]/td[1]/span",
- "Value": "city"
- },
- {
- "Command": "selectWindow",
- "Target": "tab=0",
- "Value": ""
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_email",
- "Value": "${!clipboard}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_password",
- "Value": "${password}"
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[3]/div/form/div[2]/button",
- "Value": ""
- },
- {
- "Command": "waitForElementPresent",
- "Target": "xpath=//*[@id=\"directDebitDisplayStringId\"]/a/div/div[1]/span",
- "Value": ""
- },
- {
- "Command": "click",
- "Target": "xpath=//*[@id=\"directDebitDisplayStringId\"]/a/div/div[1]/span",
- "Value": ""
- },
- {
- "Command": "storeEval",
- "Target": "Math.floor(Math.random() * 31)",
- "Value": "birthDate"
- },
- {
- "Command": "storeEval",
- "Target": "Math.floor(Math.random() * 11)",
- "Value": "birthMonth"
- },
- {
- "Command": "storeEval",
- "Target": "Math.floor(Math.random() * (1995 - 1960 + 1) + 1960);",
- "Value": "birthYear"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_deDebitAccountNumber",
- "Value": "${iban}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_deDebitCity",
- "Value": "${city}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_deDebitPostalCode",
- "Value": "${postcode}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_deDebitStreet",
- "Value": "${address}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_deDebitBirthYear",
- "Value": "${birthYear}"
- },
- {
- "Command": "select",
- "Target": "name=deDebitBirthMonth",
- "Value": "index=${birthMonth}"
- },
- {
- "Command": "select",
- "Target": "name=deDebitBirthDate",
- "Value": "index=${birthDate}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_lastName",
- "Value": "${surname}"
- },
- {
- "Command": "sendKeys",
- "Target": "id=id_firstName",
- "Value": "${name}"
- },
- {
- "Command": "click",
- "Target": "id=simplicityPayment-START-euft",
- "Value": "${name}"
- },
- {
- "Command": "echo",
- "Target": "${!clipboard} | ${password}",
- "Value": ""
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement