UNPKG

@rapitest/rapi-api

Version:

Rapi API for NodeJS provides user level api using rapi runner.

259 lines (258 loc) 6.91 kB
{ "time": 1664426514088, "version": { "sideex": [ 3, 7, 3 ], "format": [ 2, 0, 0 ] }, "suites": [ { "title": "Untitled Test Suite 2", "description": "", "enableOnPlaying": true, "cases": [ { "title": "Untitled Test Case 2", "description": "", "enableOnPlaying": true, "networkSpeed": 0, "records": [ { "name": "open", "target": { "usedIndex": 0, "options": [ { "type": "other", "value": "https://sideex.io/" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "" } ], "tac": "" }, "description": "", "pwt": { "pbw": 0, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false }, { "name": "setViewportSize", "target": { "usedIndex": 0, "options": [ { "type": "other", "value": "" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "1848,948" } ], "tac": "" }, "description": "", "pwt": { "pbw": 0, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false }, { "name": "clickAt", "target": { "usedIndex": 0, "options": [ { "type": "xpath:idRelative", "value": "//div[@id='root']/div[1]/div[2]/div[1]/img[1]" }, { "type": "xpath:position", "value": "//div[2]/div[1]/img[1]" }, { "type": "css:position", "value": "css=img.home-bg" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "1359,61" } ], "tac": "" }, "description": "", "pwt": { "pbw": 0, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false }, { "name": "clickAt", "target": { "usedIndex": 0, "options": [ { "type": "xpath:idRelative", "value": "//div[@id='root']/div[1]/div[1]/nav[1]/div[1]/ul[1]/li[5]/a[1]" }, { "type": "xpath:position", "value": "//li[5]/a[1]" }, { "type": "xpath:link", "value": "//a[contains(text(),'Language')]" }, { "type": "xpath:href", "value": "xpath=(//a[@href='#'])[2]" }, { "type": "css:position", "value": "css=li.nav-custom-dropdown.dropdown.nav-item:nth-child(5) > a.dropdown-toggle.nav-link" }, { "type": "link", "value": "link=Language" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "40,35" } ], "tac": "" }, "description": "", "pwt": { "pbw": 0, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false }, { "name": "clickAt", "target": { "usedIndex": 0, "options": [ { "type": "xpath:idRelative", "value": "//div[@id='root']/div[1]/div[1]/nav[1]/div[1]/ul[1]/li[5]/div[1]/button[2]" }, { "type": "xpath:position", "value": "//button[2]" }, { "type": "xpath:attributes", "value": "xpath=(//button[@type='button'])[3]" }, { "type": "css:position", "value": "css=button.dropdown-item:nth-child(2)" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "60,16" } ], "tac": "" }, "description": "", "pwt": { "pbw": 43, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false }, { "name": "pageReload", "target": { "usedIndex": 0, "options": [ { "type": "other", "value": "" } ], "tac": "" }, "value": { "usedIndex": 0, "options": [ { "type": "other", "value": "" } ], "tac": "" }, "description": "", "pwt": { "pbw": 0, "paw": 0, "prw": 0, "pdw": 0 }, "comment": false } ] } ] } ] }