Skip to content

Instantly share code, notes, and snippets.

@seleniumgists
Created June 10, 2020 13:38
Show Gist options
  • Select an option

  • Save seleniumgists/b34d18a7a8d51f9f9a7499b719e58d88 to your computer and use it in GitHub Desktop.

Select an option

Save seleniumgists/b34d18a7a8d51f9f9a7499b719e58d88 to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
{
"id": "fa246eb4-2ae6-4823-8cb7-b26e69e429aa",
"version": "2.0",
"name": "tet",
"url": "http://www.software-testing-tutorials-automation.com",
"tests": [{
"id": "1faa82b4-093e-4067-b832-9303a416f734",
"name": "TEST EMIAL",
"commands": [{
"id": "76bb1099-24f8-447a-8d4e-5325511777b3",
"comment": "",
"command": "open",
"target": "/2013/09/selenium-ide-generating-random-number.html",
"targets": [],
"value": ""
}, {
"id": "e488f491-6e93-4cf5-a497-5733b9694614",
"comment": "",
"command": "setWindowSize",
"target": "1382x744",
"targets": [],
"value": ""
}, {
"id": "1f6dfed8-8802-41be-b5c7-3c854b34f002",
"comment": "",
"command": "executeScript",
"target": "Math.floor(Math.random() * 1000)",
"targets": [],
"value": "i"
}, {
"id": "4db1a219-ab50-47fd-af37-880deb8cd77b",
"comment": "",
"command": "echo",
"target": "${i}",
"targets": [],
"value": ""
}, {
"id": "baa5c5d1-747b-42cd-9208-d867367e4934",
"comment": "",
"command": "executeScript",
"target": "\"MyUID\" + Math.floor(Math.random() * 100) + \"@yahoo.com\";",
"targets": [],
"value": "j"
}, {
"id": "3f0401d6-7c78-4bfb-b9f0-370f00f956a8",
"comment": "",
"command": "type",
"target": "id=ContactForm1_contact-form-email",
"targets": [
["id=ContactForm1_contact-form-email", "id"],
["css=#ContactForm1_contact-form-email", "css:finder"],
["xpath=//input[@id='ContactForm1_contact-form-email']", "xpath:attributes"],
["xpath=//div[@id='ContactForm1']/div/div/form/input[2]", "xpath:idRelative"],
["xpath=//form/input[2]", "xpath:position"]
],
"value": "${j}@yahoo.in"
}, {
"id": "33523d17-a352-4c37-922d-93deb9fd8017",
"comment": "",
"command": "click",
"target": "id=ContactForm1",
"targets": [
["id=ContactForm1", "id"],
["css=#ContactForm1", "css:finder"],
["xpath=//div[@id='ContactForm1']", "xpath:attributes"],
["xpath=//div[@id='sidebar-right-1']/div[5]", "xpath:idRelative"],
["xpath=//aside/div/div[5]", "xpath:position"]
],
"value": ""
}, {
"id": "16da3715-63e9-46e7-b3a1-d87bd5e24c98",
"comment": "",
"command": "click",
"target": "id=ContactForm1_contact-form-submit",
"targets": [
["id=ContactForm1_contact-form-submit", "id"],
["css=#ContactForm1_contact-form-submit", "css:finder"],
["xpath=//input[@id='ContactForm1_contact-form-submit']", "xpath:attributes"],
["xpath=//div[@id='ContactForm1']/div/div/form/input[3]", "xpath:idRelative"],
["xpath=//form/input[3]", "xpath:position"]
],
"value": ""
}]
}],
"suites": [{
"id": "05227195-6e18-41dc-991c-b0f8ab01656e",
"name": "Default Suite",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["1faa82b4-093e-4067-b832-9303a416f734"]
}],
"urls": ["http://www.software-testing-tutorials-automation.com/"],
"plugins": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment