diff --git a/3 - ТПО/TPO Lab3 - часть 1.side b/3 - ТПО/TPO Lab3 - часть 1.side new file mode 100644 index 0000000..6a4a996 --- /dev/null +++ b/3 - ТПО/TPO Lab3 - часть 1.side @@ -0,0 +1,985 @@ +{ + "id": "e6eceb03-6118-4057-91fa-478eb0c42a27", + "version": "2.0", + "name": "TPO Lab3", + "url": "https://www.tutu.ru", + "tests": [{ + "id": "fe813442-324a-4f1d-9740-33fff7531878", + "name": "RegEmail", + "commands": [{ + "id": "f97c20d6-28d1-4c05-b6b4-7250bc64912c", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "f548ded2-c55b-4db1-ae9b-97644ca72e29", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "3b322035-55b2-4007-9f0a-30090add22c1", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[1]/div[2]/div[6]/div/div/div/div[1]/div/div/a", + "targets": [ + ["linkText=Зарегистрироваться", "linkText"], + ["css=.j-link-register", "css:finder"], + ["xpath=//a[contains(text(),'Зарегистрироваться')]", "xpath:link"], + ["xpath=//div[@id='wrapper']/div/div/div/div[2]/div[6]/div/div/div/div/div/div/a", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Зарегистрироваться')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c821c4a5-7fd3-461a-8ba9-56aec3ca0a40", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"reg-container\"]/div/div[1]/div[1]/form/input[2]", + "targets": [ + ["css=.b-input__standart:nth-child(4)", "css:finder"], + ["xpath=(//input[@name='login'])[3]", "xpath:attributes"], + ["xpath=//div[@id='reg-container']/div/div/div/form/input[2]", "xpath:idRelative"], + ["xpath=//form/input[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "1b06bfb5-f90b-4e0b-9b20-ecb876e6619b", + "comment": "", + "command": "type", + "target": "css=.b-input__standart:nth-child(4)", + "targets": [ + ["css=.b-input__standart:nth-child(4)", "css:finder"], + ["xpath=(//input[@name='login'])[3]", "xpath:attributes"], + ["xpath=//div[@id='reg-container']/div/div/div/form/input[2]", "xpath:idRelative"], + ["xpath=//form/input[2]", "xpath:position"] + ], + "value": "egor.m1trofanov@yandex.ru" + }, { + "id": "3014f8aa-b4b0-48ab-9c79-cb81e0e3da69", + "comment": "", + "command": "click", + "target": "css=.text:nth-child(3)", + "targets": [ + ["css=.text:nth-child(3)", "css:finder"], + ["xpath=//div[@id='reg-container']/div/div/div/form/div[2]", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/div/div/div/div/form/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "fbbc6bf6-7d1d-4199-834e-e44993ed72c0", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"reg-container\"]/div/div[1]/div[1]/form/div[3]/label/input", + "targets": [ + ["css=.agreement > label", "css:finder"], + ["xpath=//div[@id='reg-container']/div/div/div/form/div[3]/label", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/div/div/div/div/form/div[3]/label", "xpath:position"], + ["xpath=//label[contains(.,'Я даю согласие на обработку моих персональных данных')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f21f2a48-94a5-41e8-80e9-aa020848664c", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"reg-container\"]/div/div[1]/div[1]/form/div[4]/button", + "targets": [ + ["css=.button_wrapper:nth-child(6) .name", "css:finder"], + ["xpath=//div[@id='reg-container']/div/div/div/form/div[4]/button/span", "xpath:idRelative"], + ["xpath=//div[9]/div/div/div/div/div/div/div/div/form/div[4]/button/span", "xpath:position"], + ["xpath=//span[contains(.,'Зарегистрироваться')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f8390b0f-f966-4a25-8004-af8df9fafb5f", + "comment": "", + "command": "verifyElementPresent", + "target": "//*[@id=\"reg-container\"]/div/div[1]/div[1]/form/span/span", + "targets": [], + "value": "" + }] + }, { + "id": "99266fc1-347b-4e93-886e-48528a1a1561", + "name": "Login", + "commands": [{ + "id": "5dcf5a6a-36d7-47e1-b02b-7458aebe5122", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "680dbe1f-c201-4f0f-896b-06813221c813", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "f9ea1717-ce87-47b0-a34d-06080412b532", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[1]/div[2]/div[6]/div/div/div/div[1]/div/div/span", + "targets": [ + ["css=.j-link-login", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div/div/div[2]/div[6]/div/div/div/div/div/div/span", "xpath:idRelative"], + ["xpath=//span", "xpath:position"], + ["xpath=//span[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "caa36266-20e4-4676-b547-27dc14225dbb", + "comment": "", + "command": "click", + "target": "css=.mail_wrapper:nth-child(2) > .b-input__standart", + "targets": [ + ["css=.mail_wrapper:nth-child(2) > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//form/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c8accefe-3089-4050-9f2f-4c649193a519", + "comment": "", + "command": "type", + "target": "css=.mail_wrapper:nth-child(2) > .b-input__standart", + "targets": [ + ["css=.mail_wrapper:nth-child(2) > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//form/div/input", "xpath:position"] + ], + "value": "egor.m1trofanov@yandex.ru" + }, { + "id": "fb2908a8-fb20-47b2-96c2-f16c61f10655", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=.password_wrapper > .b-input__standart", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "yaf342" + }, { + "id": "e527b52e-6ce2-4c69-b0da-d399766a231d", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[3]/label/input", + "targets": [ + ["css=.remember", "css:finder"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[3]/label", "xpath:idRelative"], + ["xpath=//div[8]/div/div/div/div/div/div/div/div/form/div[3]/label", "xpath:position"] + ], + "value": "" + }, { + "id": "35a6d081-3e7d-4431-bf75-854652feb6a9", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[4]/button", + "targets": [ + ["css=.button_wrapper:nth-child(5) > .b-button__standart", "css:finder"], + ["xpath=(//button[@type='submit'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[4]/button", "xpath:idRelative"], + ["xpath=//div[8]/div/div/div/div/div/div/div/div/form/div[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "618ce513-e0e8-49ef-a87a-c4d28e5a28d3", + "comment": "", + "command": "click", + "target": "css=.fancybox-item", + "targets": [ + ["css=.fancybox-item", "css:finder"], + ["xpath=//a[contains(@href, 'javascript:;')]", "xpath:href"], + ["xpath=//div[8]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "eb881a84-07a7-4160-bc84-88cfd5f9d0a0", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[1]/div[2]/div[6]/div/div/div/div[2]", + "targets": [], + "value": "" + }] + }, { + "id": "c067232a-a6fa-4341-ba2d-11a96abb20a7", + "name": "IncorrectLogin", + "commands": [{ + "id": "a5d174ae-40d9-492b-8d36-b461b786291e", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "07275935-01c5-4ebe-975a-06f66d1192e0", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "157a90f0-0a5d-49c1-8a44-061d3a883179", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[1]/div[2]/div[6]/div/div/div/div[1]/div/div/span", + "targets": [ + ["css=.j-link-login", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div/div/div[2]/div[6]/div/div/div/div/div/div/span", "xpath:idRelative"], + ["xpath=//span", "xpath:position"], + ["xpath=//span[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "340e1b76-0851-4c1a-87ab-b69423908e24", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[1]/input", + "targets": [ + ["css=.mail_wrapper:nth-child(2) > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//form/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b048f7d2-ede3-402a-b16f-a52313bb3572", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[1]/input", + "targets": [ + ["css=.mail_wrapper:nth-child(2) > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div/input", "xpath:idRelative"], + ["xpath=//form/div/input", "xpath:position"] + ], + "value": "egor.m1trofanov@yandex.ru" + }, { + "id": "670134be-40c7-48a6-bffd-a7e98620680b", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[2]/input", + "targets": [], + "value": "" + }, { + "id": "65a0a4f0-d473-406e-b0b5-9f00e2b76bb3", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[2]/input", + "targets": [ + ["name=password", "name"], + ["css=.password_wrapper > .b-input__standart", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "yaf3421" + }, { + "id": "029085f1-60a2-4a19-815e-0364a434c8fb", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[4]/button", + "targets": [ + ["css=.button_wrapper:nth-child(5) > .b-button__standart", "css:finder"], + ["xpath=(//button[@type='submit'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[4]/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/div/div/form/div[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "65031f23-ab93-4e1a-ad1c-cc8c41ffc14f", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[1]/span/span", + "targets": [], + "value": "" + }] + }, { + "id": "ebbce981-87e5-41ff-854e-cb314d9ba372", + "name": "RecoverPassword", + "commands": [{ + "id": "f9cde4f1-e1f3-4229-93cc-ae2d2b74d9f5", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "65d4bc05-f83a-438a-be6d-d7f276618a41", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "bf30e168-5543-4008-9863-bc63163015d1", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[1]/div[2]/div[6]/div/div/div/div[1]/div/div/span", + "targets": [ + ["css=.j-link-login", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div/div/div[2]/div[6]/div/div/div/div/div/div/span", "xpath:idRelative"], + ["xpath=//span", "xpath:position"], + ["xpath=//span[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "016e4e89-3709-412a-870c-acb286a4a26a", + "comment": "", + "command": "type", + "target": "name=password", + "targets": [ + ["name=password", "name"], + ["css=.password_wrapper > .b-input__standart", "css:finder"], + ["xpath=//input[@name='password']", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "yaf3421" + }, { + "id": "8b6972d1-82b5-47d3-bde7-3fc38ab724ab", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[4]/button", + "targets": [ + ["css=.button_wrapper:nth-child(5) > .b-button__standart", "css:finder"], + ["xpath=(//button[@type='submit'])[2]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div/form/div[4]/button", "xpath:idRelative"], + ["xpath=//div[6]/div/div/div/div/div/div/div/div/form/div[4]/button", "xpath:position"], + ["xpath=//button[contains(.,'Войти')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8ec48d59-6194-495e-888a-9254172abbbb", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[1]/form/div[3]/div/span", + "targets": [], + "value": "" + }, { + "id": "694f3c99-140c-4e2d-b9b0-3ab83571d941", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[2]/form/div[1]/input", + "targets": [], + "value": "" + }, { + "id": "c944433d-6307-4558-9c86-3147b0533eea", + "comment": "", + "command": "click", + "target": "css=.mail_wrapper > .b-input__standart", + "targets": [ + ["css=.mail_wrapper > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[3]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div[2]/form/div/input", "xpath:idRelative"], + ["xpath=//div[2]/form/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d41f615a-c040-4697-8bfd-9bbbaf5c881d", + "comment": "", + "command": "type", + "target": "css=.mail_wrapper > .b-input__standart", + "targets": [ + ["css=.mail_wrapper > .b-input__standart", "css:finder"], + ["xpath=(//input[@name='login'])[3]", "xpath:attributes"], + ["xpath=//div[@id='login-container']/div/div/div[2]/form/div/input", "xpath:idRelative"], + ["xpath=//div[2]/form/div/input", "xpath:position"] + ], + "value": "egor.m1trofanov@yandex.ru" + }, { + "id": "548824ff-8ca4-4569-9859-d48551cde4b1", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[2]/form/div[2]/button", + "targets": [], + "value": "" + }, { + "id": "d386214b-15c5-4058-a619-0c4b87390c3d", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"login-container\"]/div/div/div[3]", + "targets": [], + "value": "" + }] + }, { + "id": "2d80a9f5-b860-406c-bcc6-98b4caa7ba69", + "name": "SearchAvia", + "commands": [{ + "id": "24610f69-ac4a-4f7a-8c48-4345979a8dae", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "11732fa5-1698-4802-a855-219bd5cddbc1", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "6d4f01c2-ce67-4125-bf18-b3928a911649", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/div[1]", + "targets": [], + "value": "" + }, { + "id": "d5b6027c-a034-4041-8ea7-121a13ae2d09", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[1]/div[1]/input", + "targets": [ + ["name=city_from", "name"], + ["css=.j-city_container_from .j-main", "css:finder"], + ["xpath=//input[@name='city_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b4311d80-ceeb-4f4e-a540-fb189f333252", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[1]/div[1]/input", + "targets": [ + ["name=city_from", "name"], + ["css=.j-city_container_from .j-main", "css:finder"], + ["xpath=//input[@name='city_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "Москва" + }, { + "id": "cd329eb9-7098-4e6d-a230-4c635b80f2d5", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[3]/div[1]/input", + "targets": [ + ["name=city_from", "name"], + ["css=.j-city_container_from .j-main", "css:finder"], + ["xpath=//input[@name='city_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div/div/input", "xpath:idRelative"], + ["xpath=//div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "fd0b3908-7cf0-40a1-b36e-d8ae51b1045a", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[3]/div[1]/input", + "targets": [ + ["name=city_to", "name"], + ["css=.forward .input_field", "css:finder"], + ["xpath=//input[@name='city_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div[3]/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/input", "xpath:position"] + ], + "value": "Санкт-Петербург" + }, { + "id": "b9a254e8-22b1-4868-b7e2-05306cbfeec3", + "comment": "", + "command": "click", + "target": "css=.j-last_row", + "targets": [ + ["css=.j-last_row", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]", "xpath:idRelative"], + ["xpath=//div[5]/div/div/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "9eacf7b0-8caf-4754-97d8-47f9b7757369", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[4]/div[1]", + "targets": [ + ["id=dp1649511718987", "id"], + ["name=date_from", "name"], + ["css=#dp1649511718987", "css:finder"], + ["xpath=//input[@id='dp1649511718987']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div[4]/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "bb1a3dbb-afe2-4d0b-b46a-5ddca8039ccd", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[4]/div[1]", + "targets": [ + ["id=dp1649511718987", "id"], + ["name=date_from", "name"], + ["css=#dp1649511718987", "css:finder"], + ["xpath=//input[@id='dp1649511718987']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div[4]/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/input", "xpath:position"] + ], + "value": "22.05.2022" + }, { + "id": "1b0467f2-922a-428d-b96e-bb1bba3cf603", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[6]/div[1]", + "targets": [ + ["id=dp1649511718992", "id"], + ["name=date_back", "name"], + ["css=#dp1649511718992", "css:finder"], + ["xpath=//input[@id='dp1649511718992']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div[6]/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5bd8abe1-02bc-4ac4-a301-411b25451fa3", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[6]/div[1]", + "targets": [ + ["id=dp1649511718992", "id"], + ["name=date_back", "name"], + ["css=#dp1649511718992", "css:finder"], + ["xpath=//input[@id='dp1649511718992']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div/div/div[2]/div[6]/div/input", "xpath:idRelative"], + ["xpath=//div[6]/div/input", "xpath:position"] + ], + "value": "24.05.2022" + }, { + "id": "8be29d89-c159-4004-affb-e7107bd2d793", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[1]/div/div[2]/div[7]/button", + "targets": [], + "value": "" + }, { + "id": "1ee03260-8326-470c-bc3a-2f1dc8f8d6e3", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"root\"]/div/div[1]/div/div/div[2]/div[1]/div[1]/a[2]/span/span", + "targets": [], + "value": "" + }] + }, { + "id": "3015e889-f7c3-479b-b32a-58ad3a5d4e6e", + "name": "SearchTrains", + "commands": [{ + "id": "fdfdee5a-b52c-435b-8997-9619f2932938", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "897f4467-7ba3-4857-b0d7-368c70ce67a5", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "1b3aae8a-7213-4ad8-b9a4-745564653b46", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/div[2]", + "targets": [ + ["css=.tab_train", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[4]/div/div/div[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div[4]/div/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "d599ba1e-ab15-4bc3-9a31-6bf11b21aebb", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[1]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "29046e38-a003-47ad-9183-889c813f8949", + "comment": "", + "command": "type", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[1]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "Астрахань" + }, { + "id": "467c3d51-bc76-42b9-9b24-4d1af32922de", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[3]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "dbefedb8-ca21-467d-9cc6-e15c28e01a35", + "comment": "", + "command": "type", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[3]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "Казань" + }, { + "id": "7057438c-fb1c-4a43-8ab7-8fb3da1a67a5", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[4]/div/div[1]/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b81d1b89-6636-4987-9a15-dbbfc42d15d3", + "comment": "", + "command": "type", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[4]/div/div[1]/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "25.05.2022" + }, { + "id": "2957a6b1-5577-428b-96fb-dcf5e4c12ce9", + "comment": "", + "command": "click", + "target": "css=.m-train .row_line", + "targets": [ + ["css=.m-train .row_line", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div", "xpath:idRelative"], + ["xpath=//div[2]/div/div/form/div/div", "xpath:position"] + ], + "value": "" + }, { + "id": "f961e987-439e-40d4-a9e5-aeca96fd29e6", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[2]/div[1]/div/form/div/div/div[6]/button/span/span[3]", + "targets": [], + "value": "" + }, { + "id": "3e1c09a4-8eed-48a6-87f3-683d53332723", + "comment": "", + "command": "verifyElementPresent", + "target": "//*[@id=\"root\"]/div/div[2]/div[1]/div/div/div[1]/div[1]/span", + "targets": [], + "value": "" + }] + }, { + "id": "0dd35e89-2049-4729-a245-f4ccebe2a1b3", + "name": "SearchBus", + "commands": [{ + "id": "3bd9fc2d-d40a-40b5-9e9a-274835ab7140", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "9e7ecbdf-fa21-4bbf-975b-c3840feefee7", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "56123d89-4483-49c4-86fe-ce6964dea9b0", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/div[3]", + "targets": [ + ["css=.tab_train", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[4]/div/div/div[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div[4]/div/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "995b10d8-8a2e-494d-afbc-7df7e480b8ae", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[1]/div/span/div/div/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "748941fe-71d8-46de-b13b-8fd76bd69d95", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[1]/div/span/div/div/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "Астрахань" + }, { + "id": "cb74d782-6dce-4940-b129-0f7664d8e625", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[2]/div/span/div/div/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3012849b-157e-44f6-abd4-ccce6358c4e4", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[2]/div/span/div/div/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "Казань" + }, { + "id": "224947ed-0690-4477-9559-deac75d8f17b", + "comment": "", + "command": "mouseUp", + "target": "css=.l-screen-top", + "targets": [ + ["css=.l-screen-top", "css:finder"], + ["xpath=//div[@id='wrapper']/div", "xpath:idRelative"], + ["xpath=//div[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "1c56cc17-a66c-4fdd-842a-f87fe4be9037", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[3]/div/div/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b0d2112c-0071-4443-a3bd-9421c7ff707c", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[3]/div/div/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "25.05.2022" + }, { + "id": "b84fac76-f1fc-49bd-992c-2b5dc875b818", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"bus-form\"]/div/div/div[5]/div/button/div", + "targets": [], + "value": "" + }, { + "id": "ab4f728a-047c-41ad-956b-c225ba25168a", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"content\"]/div/div[1]/header/div/div/div/div[3]/div[1]/a[2]/span[2]", + "targets": [], + "value": "" + }] + }, { + "id": "95e6a19c-866a-442b-9a38-e35c04f32eb8", + "name": "SearchElectr", + "commands": [{ + "id": "1bbdbba7-6630-4c47-910c-1495dd09f75a", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "8f2f9747-a537-4696-91f9-91214adf5153", + "comment": "", + "command": "setWindowSize", + "target": "1163x1032", + "targets": [], + "value": "" + }, { + "id": "2e1412d4-db02-4af8-823e-3971cb59cb47", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/div[4]", + "targets": [ + ["css=.tab_train", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[4]/div/div/div[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div[4]/div/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "61b1d94f-56b9-4dbc-a2ca-96ea024222a0", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[1]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "60097df3-93c8-4dae-96fb-3768a2409bac", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[1]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_from", "name"], + ["css=.l-search_form:nth-child(1) .departure:nth-child(1) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_from']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div/div/div/div/input", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/div/input", "xpath:position"] + ], + "value": "Астрахань" + }, { + "id": "0675e775-bee4-4495-aec6-ee31fc2a4db8", + "comment": "", + "command": "click", + "target": "css=li:nth-child(1) > .list_item", + "targets": [ + ["css=li:nth-child(1) > .list_item", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[4]/div/form/div/div/div/div/div/div[2]/div/ul/li/div", "xpath:idRelative"], + ["xpath=//li/div", "xpath:position"] + ], + "value": "" + }, { + "id": "01847153-1f7f-4682-921b-cf278ae301aa", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[3]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b5253e8a-7488-4f6a-99c1-a67bed5bd3db", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[3]/div/div[1]/div[1]/input", + "targets": [ + ["name=schedule_station_to", "name"], + ["css=.l-search_form:nth-child(1) .arrival:nth-child(3) .input_field:nth-child(1)", "css:finder"], + ["xpath=//input[@name='schedule_station_to']", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[3]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div/input", "xpath:position"] + ], + "value": "Казань" + }, { + "id": "0dc8d7d2-4d59-468c-a914-bb384db99f44", + "comment": "", + "command": "click", + "target": "css=.arrival li:nth-child(1) > .list_item", + "targets": [ + ["css=.arrival li:nth-child(1) > .list_item", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[4]/div/form/div/div/div[3]/div/div/div[2]/div/ul/li/div", "xpath:idRelative"], + ["xpath=//div[3]/div/div/div[2]/div/ul/li/div", "xpath:position"] + ], + "value": "" + }, { + "id": "28cb65e6-ff88-445a-85db-750730dab56e", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[4]/div/div/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "f7de1fbd-b564-471a-883a-e9b241a777be", + "comment": "", + "command": "type", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[4]/div/div/div/input", + "targets": [ + ["css=.l-search_form:nth-child(1) .date_start:nth-child(4) .input_field:nth-child(1)", "css:finder"], + ["xpath=(//input[@value=''])[17]", "xpath:attributes"], + ["xpath=//div[@id='wrapper']/div/div[5]/div/div[2]/div/div/form/div/div/div[4]/div/div/div/input", "xpath:idRelative"], + ["xpath=//div[4]/div/div/div/input", "xpath:position"] + ], + "value": "25.05.2022" + }, { + "id": "c95bfa29-96e6-4849-a3d0-6a5186d50fea", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[5]/div/div[4]/div[1]/form/div/div/div[5]/button/span/span[3]", + "targets": [], + "value": "" + }, { + "id": "4f28b839-4584-47e5-a5ee-9bf9a25faf1f", + "comment": "", + "command": "verifyElementPresent", + "target": "xpath=//*[@id=\"header\"]/div[1]/ul/li[4]/a", + "targets": [], + "value": "" + }] + }], + "suites": [{ + "id": "b9177b92-bce6-44fa-96f6-c771f0a47448", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["fe813442-324a-4f1d-9740-33fff7531878"] + }], + "urls": ["https://www.tutu.ru/"], + "plugins": [] +} \ No newline at end of file diff --git a/3 - ТПО/TPO Lab3 - часть 2.side b/3 - ТПО/TPO Lab3 - часть 2.side new file mode 100644 index 0000000..b9316d1 --- /dev/null +++ b/3 - ТПО/TPO Lab3 - часть 2.side @@ -0,0 +1,624 @@ +{ + "id": "94c70405-d5d5-4f08-9a1b-8573032bacf7", + "version": "2.0", + "name": "TPOLab3", + "url": "https://www.tutu.ru", + "tests": [{ + "id": "09ae00d5-e0bd-4e2c-a0b0-5d8f9b2b5f3f", + "name": "VacantionsRedirect", + "commands": [{ + "id": "d9c2d4cd-3b76-4027-9072-9abe8f89b870", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "b4b3a146-5055-4219-bf9b-40825a25e962", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "ee8ba4b2-0365-4c61-bbc0-e546281f7226", + "comment": "", + "command": "click", + "target": " xpath=/html/body/div[3]/div[1]/div/div/div[1]/ul[3]/li[2]/a", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "166fa6d2-d883-4677-a341-0be9976a597b", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "3e8207ee-8b72-4697-a158-8779d1543d24", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://company.tutu.ru/vacancy/" + }] + }, { + "id": "d7547dd6-8c98-46e9-92bf-5e42f179cbc3", + "name": "ToursRedirect", + "commands": [{ + "id": "e1af89c0-1c72-4758-8126-3a3eb1919566", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "d0c39b45-9400-4527-a450-1d4e4d4881dc", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "c395f3a6-5de9-4a87-9566-69a119d187ec", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/a[1]/div[2]", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cc4d788a-d2cd-4d98-8797-9e2c3889b65c", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "0977e6cb-1e3f-4e55-a791-5ed2d6830406", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://tours.tutu.ru/" + }] + }, { + "id": "214a8e18-117d-43ac-95e6-4ac91078d573", + "name": "GoRedirect", + "commands": [{ + "id": "583ac9eb-f353-4e1f-a518-d3141dcb768d", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "24bef2a1-707a-4d74-baf7-858f3308d458", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "6ce78910-15b2-4ab4-a0a6-74f8d22493b4", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[1]/a[2]/div[2]", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "41132cdd-1fc7-41f4-996d-bc2338e36e22", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "b63a44b2-ec41-4e9e-b333-407755947a0f", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://go.tutu.ru/" + }] + }, { + "id": "801190b3-3e51-4775-b215-864e2b11b8a3", + "name": "HotelsRedirectFullScreen", + "commands": [{ + "id": "1ed3bc53-f63c-4c90-9121-a86955d281cd", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "48b3c57a-351a-4ceb-bc30-b9d2857ac34f", + "comment": "", + "command": "setWindowSize", + "target": "1940x1032", + "targets": [], + "value": "" + }, { + "id": "f259d77d-ab87-484f-acad-5df241aff601", + "comment": "", + "command": "click", + "target": " xpath=/html/body/div[3]/div[1]/div/div/div[1]/ul[3]/li[2]/a", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5aff8280-65a5-4e2a-a9e6-01c51e79d880", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "1cb6fea9-6e95-40f6-bb1f-64978d505366", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://company.tutu.ru/vacancy/" + }] + }, { + "id": "417b2fce-616f-43f0-a0ba-301d779c8a4b", + "name": "HotelsRedirectSmallScreen", + "commands": [{ + "id": "fa15cf37-20b5-4aef-ae9d-22cc7c52a38c", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "820bbb97-ed62-4cf9-8f74-6ac2f4cd3457", + "comment": "", + "command": "setWindowSize", + "target": "948x1032", + "targets": [], + "value": "" + }, { + "id": "126e34ec-023f-4d7e-a89d-6b85cfa7649f", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[2]", + "targets": [ + ["css=.b-tab_more", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[4]/div/div[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div[4]/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "a3cf1acf-0aad-4a14-955d-198b822512fd", + "comment": "", + "command": "click", + "target": "//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[3]/div[1]/a[1]/div[2]", + "targets": [ + ["css=.tab_hotels > .link", "css:finder"], + ["xpath=//div[@id='wrapper']/div/div[4]/div/div[3]/div/a/div[2]", "xpath:idRelative"], + ["xpath=//div[3]/div/a/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "6d30fa1d-afda-4372-a042-631763b3ee5b", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "2739564c-8e00-45a9-aa8a-53284d550736", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://hotel.tutu.ru/" + }] + }, { + "id": "3de9b5ae-d92d-4c54-bf3a-fd5b84badb0f", + "name": "BusinessTripRedirect", + "commands": [{ + "id": "46ae8a6f-884f-4201-82a3-9426956b6f5d", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "1a5e9e24-2549-482f-8227-1aaf0bf97fe8", + "comment": "", + "command": "setWindowSize", + "target": "948x1032", + "targets": [], + "value": "" + }, { + "id": "4964a28f-df45-43ad-be59-70db4a257bec", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[2]", + "targets": [], + "value": "" + }, { + "id": "b46776cf-2040-496d-8c32-6427ced0bfa1", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[3]/div[1]/a[2]/div[2]", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1d7516db-e826-46be-830d-db795acedc79", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "a07d01b3-d85b-4cf4-a212-3b1597e23433", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://b2b.tutu.ru/" + }] + }, { + "id": "025979bd-2a1c-4d99-a5c0-69d63ff0428d", + "name": "AeroexpressRedirect", + "commands": [{ + "id": "30a24417-df9b-40b4-8786-90922f7879c5", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "b58138b4-9fcb-4e6d-b69d-b0e1722f61d5", + "comment": "", + "command": "setWindowSize", + "target": "948x1032", + "targets": [], + "value": "" + }, { + "id": "750b0c74-995c-4ee3-bc4b-b8b138fbe8ac", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[2]", + "targets": [], + "value": "" + }, { + "id": "1760cd18-72b7-40b9-ba30-81ab16268a74", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[4]/div/div[3]/div[1]/a[3]/div[2]", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0ceb5786-d896-453e-85c1-b34e33b732f1", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "3e938d4a-40a3-4ce2-bcba-1fa6d068d090", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://aeroexpress.tutu.ru/" + }] + }, { + "id": "b2936e99-8e89-4daf-b015-e418d67389ce", + "name": "StoriesRedirect", + "commands": [{ + "id": "43847727-dfa5-4121-8366-825c76a929c6", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "aa012430-6f90-4ad8-8236-5b825bfe0684", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "5d230ff3-a02a-473d-8c7f-adfde547f854", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[2]/div[1]/div/div[1]/a", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "", + "opensWindow": true, + "windowHandleName": "winStories", + "windowTimeout": 2000 + }, { + "id": "d2f9b2fa-540d-4c1a-9e2c-3260a226d224", + "comment": "", + "command": "selectWindow", + "target": "handle=${winStories}", + "targets": [], + "value": "" + }, { + "id": "601f156a-7fa3-4527-b135-87cd63a1e21a", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "1a904d33-b88d-4ba8-8c94-26b2e00e621a", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://story.tutu.ru/" + }] + }, { + "id": "b242c837-d345-48f8-ab40-2734a7648261", + "name": "MobileAppRedirect", + "commands": [{ + "id": "a0c3bead-47d1-4595-ad11-e4d791952877", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "8d782035-e7b8-4e5e-8fba-0ad2bd15832c", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "d74d8e96-f27d-4ce1-bef6-5c77105c6525", + "comment": "", + "command": "click", + "target": " xpath=//*[@id=\"wrapper\"]/div[1]/div[6]/div/div[3]/div[1]/a[1]/img", + "targets": [ + ["linkText=Наши вакансии", "linkText"], + ["css=.footer_column:nth-child(4) > .list_item:nth-child(2) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'Наши вакансии')]", "xpath:link"], + ["xpath=//a[contains(@href, 'https://company.tutu.ru/vacancy/')]", "xpath:href"], + ["xpath=//ul[3]/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Наши вакансии')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "51461c9b-6880-45c9-b953-9e5760ed1bd9", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "eed73f4e-aab2-492f-8500-b9ec6826269c", + "comment": "", + "command": "executeScript", + "target": "return ${url}.startsWith(\"https://apps.apple.com/ru/app/id1296791829\")", + "targets": [], + "value": "res" + }, { + "id": "7ca38eff-1dd6-4955-ba5a-63ac16b6b669", + "comment": "", + "command": "assert", + "target": "res", + "targets": [], + "value": "true" + }] + }, { + "id": "6cc72ad8-f94d-4420-93e2-c8ef27c79b77", + "name": "PopularDirectionsTest", + "commands": [{ + "id": "d0a7608d-28b7-48e4-b3ef-5368521844ff", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "c570a464-bb13-46dc-ae32-9130c1d912fc", + "comment": "", + "command": "setWindowSize", + "target": "974x1032", + "targets": [], + "value": "" + }, { + "id": "b4eac22e-cf94-4362-9faa-2f92b1a88fc8", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[2]/div[4]/div/div[1]/div/span[3]/a", + "targets": [ + ["linkText=авиабилеты из Санкт-Петербурга", "linkText"], + ["css=.b-showcase__block:nth-child(1) .b-showcase__link:nth-child(3) > .g-link", "css:finder"], + ["xpath=//a[contains(text(),'авиабилеты из Санкт-Петербурга')]", "xpath:link"], + ["xpath=//div[@id='wrapper']/div[2]/div[4]/div/div/div/span[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'https://avia.tutu.ru/aviareys/sankt-peterburg_75/')]", "xpath:href"], + ["xpath=//span[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'авиабилеты из Санкт-Петербурга')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8856d9cd-705c-4751-8ee2-8f01d4883f79", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"root\"]/div[2]/div[2]/div[2]/div[2]/div/div[2]/div[2]/div[1]/div[1]/div/div[1]/a", + "targets": [ + ["linkText=Санкт‑Петербург — Москва", "linkText"], + ["css=.o33501:nth-child(1) .o33502 .o33639", "css:finder"], + ["xpath=//a[contains(text(),'Санкт‑Петербург — Москва')]", "xpath:link"], + ["xpath=//div[@id='root']/div[2]/div[2]/div[2]/div[2]/div/div[2]/div[2]/div/div/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'https://avia.tutu.ru/расписание_самолетов/Санкт-Петербург__Москва/')]", "xpath:href"], + ["xpath=//div[2]/div/div[2]/div[2]/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'Санкт‑Петербург — Москва')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ae41d87d-a4fc-4afd-b2a4-41de442fa68e", + "comment": "", + "command": "verifyValue", + "target": "xpath=//*[@id=\"root\"]/div[2]/div[3]/div[2]/div[2]/div/div/div/div/div[1]/div/div[1]/div[1]/div/div[2]/div/div/div/input", + "targets": [], + "value": "Санкт-Петербург" + }, { + "id": "25bbc469-ed3b-4535-8b2b-54f7be2cf3c7", + "comment": "", + "command": "verifyValue", + "target": "xpath=//*[@id=\"root\"]/div[2]/div[3]/div[2]/div[2]/div/div/div/div/div[1]/div/div[1]/div[2]/div/div[2]/div/div/div/input", + "targets": [], + "value": "Москва" + }, { + "id": "3f544403-ed13-4619-baad-dc2f3ca2ddcd", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "d14b7134-681a-4d5d-9ee3-482b90d7beaa", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://avia.tutu.ru/%D1%80%D0%B0%D1%81%D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5_%D1%81%D0%B0%D0%BC%D0%BE%D0%BB%D0%B5%D1%82%D0%BE%D0%B2/%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3__%D0%9C%D0%BE%D1%81%D0%BA%D0%B2%D0%B0/" + }] + }, { + "id": "38f0020b-e08c-4c05-a547-45e4048d6d98", + "name": "BusRedirect", + "commands": [{ + "id": "818cb01f-594f-480a-a884-9d4abf9b1a2d", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "15bc0e98-5833-434d-963c-aad80eb7cd48", + "comment": "", + "command": "setWindowSize", + "target": "948x1032", + "targets": [], + "value": "" + }, { + "id": "bbc3d190-2760-4d78-b98f-8604026aa15d", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[2]/div/a[3]/span[2]", + "targets": [], + "value": "" + }, { + "id": "51002dac-55b8-484e-9f37-544f64233180", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "28fc7676-4c48-4ebb-9e64-fff5729c78e3", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://bus.tutu.ru/" + }] + }, { + "id": "614175b3-e75c-4573-a2f3-4e15c06b13e8", + "name": "AviaRedirect", + "commands": [{ + "id": "4ffae18c-890f-4424-84b0-38bd0a358151", + "comment": "", + "command": "open", + "target": "/", + "targets": [], + "value": "" + }, { + "id": "b50efff2-09cf-41a1-b5f0-0055520df3df", + "comment": "", + "command": "setWindowSize", + "target": "948x1032", + "targets": [], + "value": "" + }, { + "id": "71fad87a-8b1b-4214-a6f5-11a91d45a603", + "comment": "", + "command": "click", + "target": "xpath=//*[@id=\"wrapper\"]/div[1]/div[1]/div[2]/div/a[1]/span[2]", + "targets": [], + "value": "" + }, { + "id": "6ffbe0fa-2f2d-4618-bd8e-0a0bdb365aea", + "comment": "", + "command": "executeScript", + "target": "return window.location.href", + "targets": [], + "value": "url" + }, { + "id": "fe136eec-4718-44bf-9280-4f696f10e8ba", + "comment": "", + "command": "assert", + "target": "url", + "targets": [], + "value": "https://avia.tutu.ru/" + }] + }], + "suites": [{ + "id": "2384aa7f-1567-4ed1-a4e6-302af5ab2323", + "name": "Default Suite", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": [] + }], + "urls": ["https://www.tutu.ru/"], + "plugins": [] +} \ No newline at end of file diff --git a/3 - ТПО/ТПОЛаб3.docx b/3 - ТПО/ТПОЛаб3.docx new file mode 100644 index 0000000..28934ba Binary files /dev/null and b/3 - ТПО/ТПОЛаб3.docx differ