SHARE
TWEET

Untitled

a guest Oct 20th, 2019 1,065 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "Name": "Netflix Test",
  3.   "CreationDate": "2019-10-20",
  4.   "Commands": [
  5.     {
  6.       "Command": "open",
  7.       "Target": "https://www.netflix.com",
  8.       "Value": ""
  9.     },
  10.     {
  11.       "Command": "deleteAllCookies",
  12.       "Target": "",
  13.       "Value": ""
  14.     },
  15.     {
  16.       "Command": "selectWindow",
  17.       "Target": "TAB=CLOSEALLOTHER",
  18.       "Value": ""
  19.     },
  20.     {
  21.       "Command": "click",
  22.       "Target": "xpath=//*[@id=\"formstart\"]/button",
  23.       "Value": ""
  24.     },
  25.     {
  26.       "Command": "waitForElementPresent",
  27.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
  28.       "Value": ""
  29.     },
  30.     {
  31.       "Command": "click",
  32.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
  33.       "Value": ""
  34.     },
  35.     {
  36.       "Command": "waitForElementPresent",
  37.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[3]/button",
  38.       "Value": ""
  39.     },
  40.     {
  41.       "Command": "click",
  42.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[3]/button",
  43.       "Value": ""
  44.     },
  45.     {
  46.       "Command": "waitForElementPresent",
  47.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
  48.       "Value": ""
  49.     },
  50.     {
  51.       "Command": "click",
  52.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[2]/div/div[2]/button",
  53.       "Value": ""
  54.     },
  55.     {
  56.       "Command": "selectWindow",
  57.       "Target": "TAB=OPEN",
  58.       "Value": "https://generator.email/"
  59.     },
  60.     {
  61.       "Command": "clickAndWait",
  62.       "Target": "xpath=/html/body/div[3]/div/div/p/a[1]/button",
  63.       "Value": ""
  64.     },
  65.     {
  66.       "Command": "storeText",
  67.       "Target": "id=email_ch_text",
  68.       "Value": "!clipboard"
  69.     },
  70.     {
  71.       "Command": "selectWindow",
  72.       "Target": "TAB=OPEN",
  73.       "Value": "https://fake-it.ws/"
  74.     },
  75.     {
  76.       "Command": "storeText",
  77.       "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[1]/td[2]/span",
  78.       "Value": "T"
  79.     },
  80.     {
  81.       "Command": "storeEval",
  82.       "Target": "\"${t}\".split(\" \")[0]",
  83.       "Value": "name"
  84.     },
  85.     {
  86.       "Command": "storeEval",
  87.       "Target": "\"${t}\".split(\" \")[1]",
  88.       "Value": "surname"
  89.     },
  90.     {
  91.       "Command": "storeText",
  92.       "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[2]/td[1]/span",
  93.       "Value": "address"
  94.     },
  95.     {
  96.       "Command": "storeText",
  97.       "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[3]/td[2]/span",
  98.       "Value": "postcode"
  99.     },
  100.     {
  101.       "Command": "storeText",
  102.       "Target": "id=iban",
  103.       "Value": "iban"
  104.     },
  105.     {
  106.       "Command": "storeText",
  107.       "Target": "xpath=/html/body/div[3]/div[3]/div/div[1]/div/div[2]/div/table/tbody/tr[1]/td[2]/span",
  108.       "Value": "password"
  109.     },
  110.     {
  111.       "Command": "storeText",
  112.       "Target": "xpath=/html/body/div[3]/div[1]/div/div[1]/div/div[2]/div/table/tbody/tr[3]/td[1]/span",
  113.       "Value": "city"
  114.     },
  115.     {
  116.       "Command": "selectWindow",
  117.       "Target": "tab=0",
  118.       "Value": ""
  119.     },
  120.     {
  121.       "Command": "sendKeys",
  122.       "Target": "id=id_email",
  123.       "Value": "${!clipboard}"
  124.     },
  125.     {
  126.       "Command": "sendKeys",
  127.       "Target": "id=id_password",
  128.       "Value": "${password}"
  129.     },
  130.     {
  131.       "Command": "click",
  132.       "Target": "xpath=//*[@id=\"appMountPoint\"]/div/div/div[3]/div/form/div[2]/button",
  133.       "Value": ""
  134.     },
  135.     {
  136.       "Command": "waitForElementPresent",
  137.       "Target": "xpath=//*[@id=\"directDebitDisplayStringId\"]/a/div/div[1]/span",
  138.       "Value": ""
  139.     },
  140.     {
  141.       "Command": "click",
  142.       "Target": "xpath=//*[@id=\"directDebitDisplayStringId\"]/a/div/div[1]/span",
  143.       "Value": ""
  144.     },
  145.     {
  146.       "Command": "storeEval",
  147.       "Target": "Math.floor(Math.random() * 31)",
  148.       "Value": "birthDate"
  149.     },
  150.     {
  151.       "Command": "storeEval",
  152.       "Target": "Math.floor(Math.random() * 11)",
  153.       "Value": "birthMonth"
  154.     },
  155.     {
  156.       "Command": "storeEval",
  157.       "Target": "Math.floor(Math.random() * (1995 - 1960 + 1) + 1960);",
  158.       "Value": "birthYear"
  159.     },
  160.     {
  161.       "Command": "sendKeys",
  162.       "Target": "id=id_deDebitAccountNumber",
  163.       "Value": "${iban}"
  164.     },
  165.     {
  166.       "Command": "sendKeys",
  167.       "Target": "id=id_deDebitCity",
  168.       "Value": "${city}"
  169.     },
  170.     {
  171.       "Command": "sendKeys",
  172.       "Target": "id=id_deDebitPostalCode",
  173.       "Value": "${postcode}"
  174.     },
  175.     {
  176.       "Command": "sendKeys",
  177.       "Target": "id=id_deDebitStreet",
  178.       "Value": "${address}"
  179.     },
  180.     {
  181.       "Command": "sendKeys",
  182.       "Target": "id=id_deDebitBirthYear",
  183.       "Value": "${birthYear}"
  184.     },
  185.     {
  186.       "Command": "select",
  187.       "Target": "name=deDebitBirthMonth",
  188.       "Value": "index=${birthMonth}"
  189.     },
  190.     {
  191.       "Command": "select",
  192.       "Target": "name=deDebitBirthDate",
  193.       "Value": "index=${birthDate}"
  194.     },
  195.     {
  196.       "Command": "sendKeys",
  197.       "Target": "id=id_lastName",
  198.       "Value": "${surname}"
  199.     },
  200.     {
  201.       "Command": "sendKeys",
  202.       "Target": "id=id_firstName",
  203.       "Value": "${name}"
  204.     },
  205.     {
  206.       "Command": "click",
  207.       "Target": "id=simplicityPayment-START-euft",
  208.       "Value": "${name}"
  209.     },
  210.     {
  211.       "Command": "echo",
  212.       "Target": "${!clipboard} | ${password}",
  213.       "Value": ""
  214.     }
  215.   ]
  216. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top