Created
April 8, 2019 12:56
-
-
Save pbezpal/68068c766675cc4f777182612e6bcce3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "4d169963-4652-47c9-bbfb-25bc26eda1cf", | |
"version": "2.0", | |
"name": "Monitoring", | |
"url": "http://172.22.50.100:88/", | |
"tests": [{ | |
"id": "e1a0c8ac-dce0-4a8b-88af-25c873621623", | |
"name": "Func auth", | |
"commands": [{ | |
"id": "ebe87063-5030-4ec5-b2aa-664f6beb7b3e", | |
"comment": "", | |
"command": "if", | |
"target": "${count} > 0", | |
"targets": [], | |
"value": "" | |
}, { | |
"id": "43c05ff1-ac9b-41b0-a588-04d1f304bcc6", | |
"comment": "", | |
"command": "sendKeys", | |
"target": "css=div#dialog-authentication-form input#name", | |
"targets": [ | |
["id=name", "id"], | |
["name=name", "name"], | |
["css=#name", "css:finder"], | |
["xpath=//input[@id='name']", "xpath:attributes"], | |
["xpath=//div[@id='dialog-authentication-form']/fieldset/input", "xpath:idRelative"], | |
["xpath=//input", "xpath:position"] | |
], | |
"value": "${login}" | |
}, { | |
"id": "7821e86e-c0b5-4bc2-8446-4cece8b784b1", | |
"comment": "", | |
"command": "sendKeys", | |
"target": "css=div#dialog-authentication-form input#password", | |
"targets": [ | |
["id=password", "id"], | |
["name=password", "name"], | |
["css=#password", "css:finder"], | |
["xpath=//input[@id='password']", "xpath:attributes"], | |
["xpath=//div[@id='dialog-authentication-form']/fieldset[2]/input", "xpath:idRelative"], | |
["xpath=//fieldset[2]/input", "xpath:position"] | |
], | |
"value": "${pass}" | |
}, { | |
"id": "2ff7294a-1d68-4236-9df2-e73f5a96af60", | |
"comment": "", | |
"command": "click", | |
"target": "css=div.ui-dialog-buttonpane span.ui-button-text", | |
"targets": [], | |
"value": "" | |
}, { | |
"id": "5ebcc53f-6535-4bc5-9f53-a616d018f187", | |
"comment": "", | |
"command": "end", | |
"target": "", | |
"targets": [], | |
"value": "" | |
}] | |
}, { | |
"id": "80324c3e-a0fb-442f-ac71-d585ac7dc88d", | |
"name": "Monitoring", | |
"commands": [{ | |
"id": "fd8f6b74-2719-4646-a0ea-74e23a841bf1", | |
"comment": "", | |
"command": "open", | |
"target": "/", | |
"targets": [], | |
"value": "" | |
}, { | |
"id": "b721b09e-85be-4cd3-9b51-f5b82a257a55", | |
"comment": "", | |
"command": "store", | |
"target": "admin", | |
"targets": [], | |
"value": "login" | |
}, { | |
"id": "b7ff1e68-b221-4aa8-992b-fc1a85f9d1b1", | |
"comment": "", | |
"command": "store", | |
"target": "123456", | |
"targets": [], | |
"value": "pass" | |
}, { | |
"id": "d1fe262e-d82b-41bc-a039-9f0665c57fc3", | |
"comment": "", | |
"command": "storeXpathCount", | |
"target": "xpath=//div[@id=\"dialog-authentication-form\"]", | |
"targets": [], | |
"value": "count" | |
}, { | |
"id": "b852530b-f820-4ebc-868d-822c3f2b14fb", | |
"comment": "", | |
"command": "run", | |
"target": "Func auth", | |
"targets": [], | |
"value": "" | |
}, { | |
"id": "c63f6a1b-f03b-4629-801e-80266b30d9d1", | |
"comment": "", | |
"command": "waitForElementPresent", | |
"target": "css=div#body_server div#sv-opensips", | |
"targets": [], | |
"value": "15000" | |
}, { | |
"id": "9904df20-02b7-4a28-a647-42e618a774cd", | |
"comment": "", | |
"command": "waitForElementNotPresent", | |
"target": "xpath=//table[@id=\"text-info\"]//img[@src=\"icons/progress_bar.gif\"]", | |
"targets": [], | |
"value": "15000" | |
}, { | |
"id": "f4cf065f-9917-427a-a8ad-a3bb34d5f2fe", | |
"comment": "", | |
"command": "click", | |
"target": "css=div#sv-opensips > div.label_type_module", | |
"targets": [ | |
["css=#sv-opensips > .label_type_module", "css:finder"], | |
["xpath=//div[@id='sv-opensips']/div[2]", "xpath:idRelative"], | |
["xpath=//div[2]/div/div/div[2]", "xpath:position"] | |
], | |
"value": "" | |
}, { | |
"id": "933d1347-857b-4071-9472-397bcdf49d77", | |
"comment": "", | |
"command": "waitForElementNotPresent", | |
"target": "xpath=//table[@id=\"text-info\"]//img[@src=\"icons/progress_bar.gif\"]", | |
"targets": [], | |
"value": "3000" | |
}, { | |
"id": "b5993a94-6937-4b98-9809-b9e8792d6ab1", | |
"comment": "", | |
"command": "waitForElementPresent", | |
"target": "css=article.width_quarter > table#text-info", | |
"targets": [ | |
["id=head_ext_info", "id"], | |
["css=#head_ext_info", "css:finder"], | |
["xpath=//h3[@id='head_ext_info']", "xpath:attributes"], | |
["xpath=//article[@id='ext_info']/header/h3", "xpath:idRelative"], | |
["xpath=//header/h3", "xpath:position"] | |
], | |
"value": "10000" | |
}, { | |
"id": "58578844-b148-487a-8be5-0460b24f6aae", | |
"comment": "", | |
"command": "waitForElementPresent", | |
"target": "css=section#secondary_bar a.logout_user", | |
"targets": [ | |
["css=.ui-button", "css:finder"], | |
["xpath=//button[@type='button']", "xpath:attributes"], | |
["xpath=//button", "xpath:position"], | |
["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] | |
], | |
"value": "5000" | |
}, { | |
"id": "90319540-33dc-4854-9f9a-f72516ca84f3", | |
"comment": "", | |
"command": "click", | |
"target": "css=section#secondary_bar a.logout_user", | |
"targets": [ | |
["css=.ui-button", "css:finder"], | |
["xpath=//button[@type='button']", "xpath:attributes"], | |
["xpath=//button", "xpath:position"], | |
["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] | |
], | |
"value": "" | |
}, { | |
"id": "44a31999-cd21-4574-b693-9f6bb85d1ba9", | |
"comment": "", | |
"command": "waitForElementPresent", | |
"target": "css=div.ui-dialog-buttonset", | |
"targets": [ | |
["css=.ui-button", "css:finder"], | |
["xpath=//button[@type='button']", "xpath:attributes"], | |
["xpath=//button", "xpath:position"], | |
["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] | |
], | |
"value": "5000" | |
}, { | |
"id": "c8f34d9b-783a-4e1b-a24d-f69f5f08e390", | |
"comment": "", | |
"command": "click", | |
"target": "css=div.ui-dialog-buttonset span.ui-button-text", | |
"targets": [ | |
["css=.ui-button", "css:finder"], | |
["xpath=//button[@type='button']", "xpath:attributes"], | |
["xpath=//button", "xpath:position"], | |
["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] | |
], | |
"value": "" | |
}, { | |
"id": "50733897-b021-4bd6-9f77-c5bbb6a04537", | |
"comment": "", | |
"command": "waitForElementPresent", | |
"target": "css=div#dialog-authentication-form", | |
"targets": [], | |
"value": "10000" | |
}, { | |
"id": "4b29dbda-bee0-4841-9eac-8dfdf979ec6b", | |
"comment": "", | |
"command": "close", | |
"target": "", | |
"targets": [], | |
"value": "" | |
}] | |
}], | |
"suites": [{ | |
"id": "f213f902-1d91-42cd-bab7-cba29b97ed5b", | |
"name": "Monitoring", | |
"persistSession": false, | |
"parallel": false, | |
"timeout": 300, | |
"tests": ["80324c3e-a0fb-442f-ac71-d585ac7dc88d"] | |
}], | |
"urls": ["https://10.10.199.137:40443/", "http://10.10.199.111:88/", "http://10.10.199.112:88/", "http://172.22.50.100:88/"], | |
"plugins": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment