diff --git a/test/ui/company.side b/test/ui/company.side new file mode 100644 index 0000000000..9560cb9717 --- /dev/null +++ b/test/ui/company.side @@ -0,0 +1,2619 @@ +{ + "id": "4b5ae6a0-04e5-45e6-87a1-b82303e8a009", + "version": "2.0", + "name": "company", + "url": "http://max.zentao.com/company-view.html", + "tests": [{ + "id": "005b2172-9c96-4c47-9c38-62ca575b3339", + "name": "my_team", + "commands": [{ + "id": "86ba719d-b57b-4bf7-8ec1-b12b1590038f", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/my-team.html", + "targets": [], + "value": "" + }, { + "id": "80e2e422-6a4a-4063-8051-8795d5fd4d7d", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "36055ef5-ca72-4f61-98bd-fc980c2b6fde", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "b9e67482-062b-43cc-9848-c7cad373c6e2", + "comment": "", + "command": "click", + "target": "linkText=用户名", + "targets": [ + ["linkText=用户名", "linkText"], + ["css=.w-120px > .header", "css:finder"], + ["xpath=//a[contains(text(),'用户名')]", "xpath:link"], + ["xpath=//table[@id='userList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/my-team-account_asc-5-15.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用户名')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d238689d-43df-4e7f-9cc6-5ae37f16dbe5", + "comment": "", + "command": "click", + "target": "linkText=职位", + "targets": [ + ["linkText=职位", "linkText"], + ["css=.w-80px:nth-child(4) > .header", "css:finder"], + ["xpath=//a[contains(text(),'职位')]", "xpath:link"], + ["xpath=//table[@id='userList']/thead/tr/th[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/my-team-role_asc-5-15.html')]", "xpath:href"], + ["xpath=//th[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'职位')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "81b81789-ab16-4aa2-b661-c58465924a15", + "comment": "", + "command": "click", + "target": "linkText=邮箱", + "targets": [ + ["linkText=邮箱", "linkText"], + ["css=.w-150px > .header", "css:finder"], + ["xpath=//a[contains(text(),'邮箱')]", "xpath:link"], + ["xpath=//table[@id='userList']/thead/tr/th[5]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/my-team-email_asc-5-15.html')]", "xpath:href"], + ["xpath=//th[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'邮箱')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "74ddc02f-3446-4daf-9005-c5196ec14e9e", + "comment": "", + "command": "click", + "target": "linkText=最后登录", + "targets": [ + ["linkText=最后登录", "linkText"], + ["css=.w-100px:nth-child(9) > .header", "css:finder"], + ["xpath=//a[contains(text(),'最后登录')]", "xpath:link"], + ["xpath=//table[@id='userList']/thead/tr/th[9]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/my-team-last_asc-5-15.html')]", "xpath:href"], + ["xpath=//th[9]/a", "xpath:position"], + ["xpath=//a[contains(.,'最后登录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f07f468-dedf-484b-a020-ef67e513bd03", + "comment": "", + "command": "click", + "target": "linkText=开发2", + "targets": [ + ["linkText=开发2", "linkText"], + ["css=tr:nth-child(1) > td > a", "css:finder"], + ["xpath=//a[contains(text(),'开发2')]", "xpath:link"], + ["xpath=//table[@id='userList']/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-view-3-my.html')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'开发2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a8dee26c-41e6-456e-ad84-cb5aa78ca670", + "comment": "", + "command": "click", + "target": "css=.btn-next", + "targets": [ + ["css=.btn-next", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='calendar']/header/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "ca314afe-4094-4f03-8871-6a3e98264620", + "comment": "", + "command": "mouseOver", + "target": "css=.icon-chevron-right", + "targets": [ + ["css=.icon-chevron-right", "css:finder"], + ["xpath=//div[@id='calendar']/header/div/button[3]/i", "xpath:idRelative"], + ["xpath=//button[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4020e2a3-76fc-4105-93fb-184e4e07a348", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-single > div:nth-child(2)", + "targets": [ + ["css=.chosen-single > div:nth-child(2)", "css:finder"], + ["xpath=//div[@id='account_chosen']/a/div", "xpath:idRelative"], + ["xpath=//div/a/div", "xpath:position"] + ], + "value": "" + }, { + "id": "8517aa19-adb1-4f08-b6dd-6671a6df0608", + "comment": "", + "command": "mouseUp", + "target": "css=input", + "targets": [ + ["css=input", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='account_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "3a668ae9-15f9-4f0c-9f30-257df70e99b9", + "comment": "", + "command": "click", + "target": "linkText=开发2", + "targets": [ + ["linkText=开发2", "linkText"], + ["css=.chosen-single", "css:finder"], + ["xpath=//div[@id='account_chosen']/a", "xpath:idRelative"], + ["xpath=//div/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'开发2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "521a6c71-18f0-4a1e-a5f5-265d5a7ffc89", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='account_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//div/div/div/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "68b3c98d-4d6d-4d34-91cf-a283346149aa", + "comment": "", + "command": "click", + "target": "css=.taskTab > .text", + "targets": [ + ["css=.taskTab > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[2]/span", "xpath:idRelative"], + ["xpath=//a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'任务')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9acbea1f-3963-4bb3-bd73-404da3c33247", + "comment": "", + "command": "click", + "target": "linkText=任务名称", + "targets": [ + ["linkText=任务名称", "linkText"], + ["css=th:nth-child(4) > .header", "css:finder"], + ["xpath=//a[contains(text(),'任务名称')]", "xpath:link"], + ["xpath=//table[@id='tasktable']/thead/tr/th[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-assignedTo-name_asc-13-20-1.html')]", "xpath:href"], + ["xpath=//th[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'任务名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a74f3fde-6203-47dc-9bff-ecec15d936d8", + "comment": "", + "command": "click", + "target": "linkText=>子任务1", + "targets": [ + ["linkText=>子任务1", "linkText"], + ["css=.text-left:nth-child(1) > .text-left:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'>子任务1')]", "xpath:link"], + ["xpath=//table[@id='tasktable']/tbody/tr/td[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/task-view-23.html')])[2]", "xpath:href"], + ["xpath=//td[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'>子任务1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "746a985b-01cb-4159-8427-85a6ae6d4467", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "1c1691ff-e6a6-446f-874b-5eff1c7cbe5c", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "e990a48b-1a6a-4a2c-abaa-779325568ed1", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-task-1-assignedTo-name_asc-13-20-1.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "e99bca2a-5ea7-4ee1-b6a0-fac9fe045ed3", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "2991c676-ffb7-4d51-ad06-d1e1e3a4e09b", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "bdb870bf-d497-465d-b191-3094077b3829", + "comment": "", + "command": "click", + "target": "linkText=所属执行", + "targets": [ + ["linkText=所属执行", "linkText"], + ["css=.header", "css:finder"], + ["xpath=//a[contains(text(),'所属执行')]", "xpath:link"], + ["xpath=//table[@id='tasktable']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-assignedTo-execution_asc-13-20-1.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'所属执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b929672f-2757-4d72-9982-6cce6b60c2f4", + "comment": "", + "command": "click", + "target": "linkText=需求阶段", + "targets": [ + ["linkText=需求阶段", "linkText"], + ["css=.text-left:nth-child(1) > .text-left:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'需求阶段')]", "xpath:link"], + ["xpath=//table[@id='tasktable']/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/execution-browse-6.html')]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'需求阶段')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ec8ac0b7-4c3c-4e3f-bfc3-9a04eea00759", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "84fb8cde-d0ac-4205-8d7b-f19f4a4175c4", + "comment": "", + "command": "click", + "target": "css=#appBar-system span", + "targets": [ + ["css=#appBar-system span", "css:finder"], + ["xpath=//li[@id='appBar-system']/a/span", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "93251799-7e07-4364-acb9-643e4e7d225d", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "d4aaf2c9-8158-419e-8285-3f230d9fd0d5", + "comment": "", + "command": "click", + "target": "linkText=由她创建", + "targets": [ + ["linkText=由她创建", "linkText"], + ["css=#contentNav li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她创建')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-openedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她创建')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0950fe7a-7c13-4fda-bc47-fbc9b7829ab3", + "comment": "", + "command": "click", + "target": "linkText=由她完成", + "targets": [ + ["linkText=由她完成", "linkText"], + ["css=#contentNav li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她完成')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-finishedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她完成')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "16329689-04bf-4809-b9e8-c2eb4436b35e", + "comment": "", + "command": "click", + "target": "linkText=由她关闭", + "targets": [ + ["linkText=由她关闭", "linkText"], + ["css=#contentNav li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她关闭')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-closedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a94b947c-8393-4e98-a001-e4ac9e2f9896", + "comment": "", + "command": "click", + "target": "linkText=由她取消", + "targets": [ + ["linkText=由她取消", "linkText"], + ["css=#contentNav li:nth-child(5) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她取消')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[5]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-task-1-canceledBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她取消')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0353d906-2d56-43f1-af0c-7e56ca58fcf6", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(4) > .text", + "targets": [ + ["css=.btn:nth-child(4) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[3]/span", "xpath:idRelative"], + ["xpath=//a[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'用户需求')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "13beeb5a-c234-425c-9491-8415cf433b50", + "comment": "", + "command": "click", + "target": "linkText=333", + "targets": [ + ["linkText=333", "linkText"], + ["css=.text-left:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'333')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/tbody/tr/td[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/story-view-25.html')])[2]", "xpath:href"], + ["xpath=//td[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'333')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60c65349-36ff-450f-8e96-62db2e7fedfd", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "9dc33407-6591-44aa-a02a-e8d840d836d6", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "f3a5e64f-31fe-4121-90ec-f6cd19c96f3c", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-story-1-requirement.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "ba88cec2-2e88-438f-9d7f-c9184531f115", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "60f978e1-9739-4003-871d-26a7f6e608ae", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "b3c9dbf8-ed69-4178-a867-4153e650dd09", + "comment": "", + "command": "click", + "target": "linkText=Bug", + "targets": [ + ["linkText=Bug", "linkText"], + ["css=.bugTab", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-bug-1.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"], + ["xpath=//a[contains(.,'Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "25951c38-aace-43c7-9037-a57ece5a20a9", + "comment": "", + "command": "click", + "target": "linkText=11(副本)", + "targets": [ + ["linkText=11(副本)", "linkText"], + ["css=.text-center:nth-child(1) > .nobr > a", "css:finder"], + ["xpath=//a[contains(text(),'11(副本)')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/tbody/tr/td[5]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/bug-view-24.html')])[2]", "xpath:href"], + ["xpath=//td[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'11(副本)')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d0f8067a-9dab-40c3-ba1a-8147aeebe1ce", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "c1f9fa0a-5c17-4b0b-944c-b10b85dc4e58", + "comment": "", + "command": "selectFrame", + "target": "index=3", + "targets": [ + ["index=3"] + ], + "value": "" + }, { + "id": "23198664-78c7-4a43-bb9d-c698a9311290", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-bug-1.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "49afa3dc-5315-4220-a313-0390af2c6332", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "6d05f82b-2f3e-43ed-ad5d-09f839ab47f5", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "dce430ec-fca2-4da2-98b2-e78b7c73e958", + "comment": "", + "command": "click", + "target": "linkText=由她创建", + "targets": [ + ["linkText=由她创建", "linkText"], + ["css=#contentNav li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她创建')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-bug-1-openedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她创建')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cf922b65-97f0-4b91-a0bc-8a1b4358b039", + "comment": "", + "command": "click", + "target": "linkText=由她解决", + "targets": [ + ["linkText=由她解决", "linkText"], + ["css=#contentNav li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她解决')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-bug-1-resolvedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c75b0058-ed7f-4a74-a184-84b0936f3c64", + "comment": "", + "command": "click", + "target": "linkText=由她关闭", + "targets": [ + ["linkText=由她关闭", "linkText"], + ["css=#contentNav li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她关闭')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-bug-1-closedBy.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4e481136-c1d9-4640-9e25-b74747d0df83", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(7) > .text", + "targets": [ + ["css=.btn:nth-child(7) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[6]/span", "xpath:idRelative"], + ["xpath=//a[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e026e48d-1c94-48a9-934c-d97e1e5739e9", + "comment": "", + "command": "click", + "target": "linkText=测试单1", + "targets": [ + ["linkText=测试单1", "linkText"], + ["css=.text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'测试单1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-view-3.html')])[2]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试单1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a166bad-25f7-4bbd-a1f6-cd5dbf74d5ea", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "c58ce30f-e944-45a8-9f34-650ee8736de8", + "comment": "", + "command": "selectFrame", + "target": "index=3", + "targets": [ + ["index=3"] + ], + "value": "" + }, { + "id": "45d303dc-4f02-4fa8-86d1-ffc636e61dbc", + "comment": "", + "command": "click", + "target": "css=.main-actions #back", + "targets": [ + ["css=.main-actions #back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=(//a[@id='back'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-testtask-1.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "72ad8c1a-dbeb-48a4-8215-2ed6a7b179b6", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "86489a88-8c0f-46fb-ad16-22e1d44c1fb1", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "f522a715-cfb7-4e51-bc1c-413931504b32", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(8) > .text", + "targets": [ + ["css=.btn:nth-child(8) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[7]/span", "xpath:idRelative"], + ["xpath=//a[7]/span", "xpath:position"], + ["xpath=//span[contains(.,'用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d1e464ea-5ea4-49f9-b06a-55d719999d1c", + "comment": "", + "command": "click", + "target": "linkText=由她创建", + "targets": [ + ["linkText=由她创建", "linkText"], + ["css=#contentNav li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'由她创建')]", "xpath:link"], + ["xpath=//nav[@id='contentNav']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-testcase-1-caseByHim.html')]", "xpath:href"], + ["xpath=//div[2]/nav/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'由她创建')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ebacc55-07bf-43e2-bf47-e5ad7410dd8d", + "comment": "", + "command": "click", + "target": "linkText=测试用例2", + "targets": [ + ["linkText=测试用例2", "linkText"], + ["css=.text-left:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'测试用例2')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testcase-view-10-1.html')])[2]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试用例2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "654bfebf-ef84-4f54-88cb-31f5bdab66ee", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "55b4e193-b0b1-4d1d-bf7d-07d0bbda4ebb", + "comment": "", + "command": "selectFrame", + "target": "index=3", + "targets": [ + ["index=3"] + ], + "value": "" + }, { + "id": "80c173df-d202-4e25-ada9-c64d17b4328f", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-testcase-1-caseByHim.html')])[2]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "0f556d3d-c777-44fa-b914-f95b429d1a3d", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "3dae0a93-11f8-4790-bcb2-b9edcc6ff279", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "f815e02b-4568-4625-8dd7-eaed97ed868d", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(9) > .text", + "targets": [ + ["css=.btn:nth-child(9) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[8]/span", "xpath:idRelative"], + ["xpath=//a[8]/span", "xpath:position"], + ["xpath=//span[contains(.,'执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3115e38e-e3ea-433b-896c-8b1eacb14728", + "comment": "", + "command": "click", + "target": "linkText=迭代第一期", + "targets": [ + ["linkText=迭代第一期", "linkText"], + ["css=tr:nth-child(1) > td:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'迭代第一期')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/execution-view-23.html')])[2]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'迭代第一期')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2144f487-6562-4f65-a6f9-fb1a89c67182", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "9f897d10-b6e8-44d9-b327-6398cadb45df", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "63ba2a97-f210-4eef-8552-fad177786c5e", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-execution-1.html')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ccce3412-5e8b-483b-a005-94294114c45f", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "41846d5d-da38-4fd3-8e66-98248b8b1275", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "11822560-a13d-4b0c-ad6e-c66f02546e32", + "comment": "", + "command": "click", + "target": "linkText=名称", + "targets": [ + ["linkText=名称", "linkText"], + ["css=.text-left > .header", "css:finder"], + ["xpath=//a[contains(text(),'名称')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/table/thead/tr/th[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-execution-1-name_asc-7-20-1.html')]", "xpath:href"], + ["xpath=//th[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "aec38840-67f9-4fe4-a434-983e3680f6b6", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(10) > .text", + "targets": [ + ["css=.btn:nth-child(10) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[9]/span", "xpath:idRelative"], + ["xpath=//a[9]/span", "xpath:position"], + ["xpath=//span[contains(.,'问题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a3c3abc7-bb78-45db-833c-b2006b9cc16f", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) > .text-ellipsis", + "targets": [ + ["css=tr:nth-child(2) > .text-ellipsis", "css:finder"], + ["xpath=//table[@id='issuetable']/tbody/tr[2]/td[3]", "xpath:idRelative"], + ["xpath=//tr[2]/td[3]", "xpath:position"], + ["xpath=//td[contains(.,'455555555')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "903024b6-f255-445e-98e5-9a11dcb47dda", + "comment": "", + "command": "click", + "target": "linkText=455555555", + "targets": [ + ["linkText=455555555", "linkText"], + ["css=tr:nth-child(2) a", "css:finder"], + ["xpath=//a[contains(text(),'455555555')]", "xpath:link"], + ["xpath=//table[@id='issuetable']/tbody/tr[2]/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/issue-view-18.html')]", "xpath:href"], + ["xpath=//tr[2]/td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'455555555')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7a5184b2-f987-42ab-9a23-1a1704c6aeb9", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "36b17ab6-28cd-4396-a8de-4cb8ecb8edd9", + "comment": "", + "command": "selectFrame", + "target": "index=4", + "targets": [ + ["index=4"] + ], + "value": "" + }, { + "id": "68193a6d-a7d2-4ab7-92ad-5cf6cf02f0c2", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-issue-1.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8129142a-84ee-40eb-8d02-8d08c7de5078", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "3ef35b57-a163-423e-8872-68060ef9daf7", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "ed5a556a-445d-46d5-9426-b5a13c07e56c", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(11) > .text", + "targets": [ + ["css=.btn:nth-child(11) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[10]/span", "xpath:idRelative"], + ["xpath=//a[10]/span", "xpath:position"], + ["xpath=//span[contains(.,'风险')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d18dba82-363a-40af-a655-bd53b598ca79", + "comment": "", + "command": "click", + "target": "linkText=风险名称", + "targets": [ + ["linkText=风险名称", "linkText"], + ["css=.text-left > .header", "css:finder"], + ["xpath=//a[contains(text(),'风险名称')]", "xpath:link"], + ["xpath=//table[@id='risktable']/thead/tr/th[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-risk-1-assignedTo-name_asc-2-20-1.html')]", "xpath:href"], + ["xpath=//th[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'风险名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e724fc5c-e12a-4242-9dac-cc750a2c1361", + "comment": "", + "command": "click", + "target": "linkText=业务风险1", + "targets": [ + ["linkText=业务风险1", "linkText"], + ["css=tr:nth-child(2) a", "css:finder"], + ["xpath=//a[contains(text(),'业务风险1')]", "xpath:link"], + ["xpath=//table[@id='risktable']/tbody/tr[2]/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/risk-view-1.html')]", "xpath:href"], + ["xpath=//tr[2]/td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'业务风险1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84612751-f0ed-4353-9b0c-0e829f7355da", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "6b37e965-3595-4c0d-bc59-1b006c81caad", + "comment": "", + "command": "selectFrame", + "target": "index=4", + "targets": [ + ["index=4"] + ], + "value": "" + }, { + "id": "2ecb0a2f-84b1-437c-bbc8-5ed8bbbc5300", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/user-risk-1-assignedTo-name_asc-2-20-1.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "62f7cd6a-aaa1-421f-a739-6a24e290213a", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ba1d79b7-257d-419e-a20a-5e230d7c31c3", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "7c308dec-820e-4914-b094-976ed951a673", + "comment": "", + "command": "click", + "target": "css=.dynamicTab > .text", + "targets": [ + ["css=.dynamicTab > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[11]/span", "xpath:idRelative"], + ["xpath=//a[11]/span", "xpath:position"], + ["xpath=//span[contains(.,'动态')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "83929221-5d2a-4d1a-a97d-44b843187ef7", + "comment": "", + "command": "click", + "target": "id=yesterday", + "targets": [ + ["id=yesterday", "id"], + ["linkText=昨天", "linkText"], + ["css=#yesterday", "css:finder"], + ["xpath=//a[@id='yesterday']", "xpath:attributes"], + ["xpath=//div[@id='contentNav']/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/user-dynamic-1-yesterday.html')]", "xpath:href"], + ["xpath=//div[2]/div/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'昨天')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0582ff69-c392-4400-bf93-22e0608b3c17", + "comment": "", + "command": "click", + "target": "css=#lastweek > .text", + "targets": [ + ["css=#lastweek > .text", "css:finder"], + ["xpath=//a[@id='lastweek']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/a[5]/span", "xpath:position"], + ["xpath=//span[contains(.,'上周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "35fb0157-7870-4005-abba-ec843abf498c", + "comment": "", + "command": "click", + "target": "css=#thismonth > .text", + "targets": [ + ["css=#thismonth > .text", "css:finder"], + ["xpath=//a[@id='thismonth']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/a[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'本月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "399faffe-06de-454c-98ad-1c61691bb09e", + "comment": "", + "command": "click", + "target": "css=#lastmonth > .text", + "targets": [ + ["css=#lastmonth > .text", "css:finder"], + ["xpath=//a[@id='lastmonth']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/a[7]/span", "xpath:position"], + ["xpath=//span[contains(.,'上月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "76475829-fa98-4eeb-9c6e-d74e4d560b8d", + "comment": "", + "command": "click", + "target": "css=#thismonth > .text", + "targets": [ + ["css=#thismonth > .text", "css:finder"], + ["xpath=//a[@id='thismonth']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/a[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'本月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "be9e4e9c-94a7-4e4c-97f3-1dae14378b9c", + "comment": "", + "command": "click", + "target": "css=.icon-chevron-left", + "targets": [ + ["css=.icon-chevron-left", "css:finder"], + ["xpath=//a[@id='prevPage']/i", "xpath:idRelative"], + ["xpath=//nav/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "02263c46-3ac1-49e1-983b-3bfb30305e7c", + "comment": "", + "command": "click", + "target": "css=.profileTab > .text", + "targets": [ + ["css=.profileTab > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/a[12]/span", "xpath:idRelative"], + ["xpath=//a[12]/span", "xpath:position"], + ["xpath=//span[contains(.,'档案')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "ecc7f9bb-2a8a-49f7-8727-51f05de41c86", + "name": "company_dynamic", + "commands": [{ + "id": "951d1567-8de0-4ee0-bcd9-540937db95db", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/company-dynamic.html", + "targets": [], + "value": "" + }, { + "id": "e7b7c7d1-56aa-480c-93c9-a878349fb8e8", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "3628749e-f087-46c8-883d-7916bfa23c77", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "3c7908de-211d-40f1-8396-2bb7db2367c2", + "comment": "", + "command": "click", + "target": "id=yesterday", + "targets": [ + ["id=yesterday", "id"], + ["linkText=昨天", "linkText"], + ["css=#yesterday", "css:finder"], + ["xpath=//a[@id='yesterday']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-dynamic-yesterday.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,'昨天')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "09d33641-0976-4e1c-94bc-85e158b161c9", + "comment": "", + "command": "click", + "target": "css=#thisweek > .text", + "targets": [ + ["css=#thisweek > .text", "css:finder"], + ["xpath=//a[@id='thisweek']/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'本周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a3b09b2c-c1a5-4c39-bbe0-0ff1aefd1c5f", + "comment": "", + "command": "click", + "target": "id=lastweek", + "targets": [ + ["id=lastweek", "id"], + ["linkText=上周", "linkText"], + ["css=#lastweek", "css:finder"], + ["xpath=//a[@id='lastweek']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-dynamic-lastweek.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"], + ["xpath=//a[contains(.,'上周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a1836092-9a16-4678-b00d-e880d01acfdc", + "comment": "", + "command": "click", + "target": "css=.icon-caret-down", + "targets": [ + ["css=.icon-caret-down", "css:finder"], + ["xpath=//div[@id='dynamics']/div/div/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "eae19f0d-1272-40fe-a9c1-84ccf53f2874", + "comment": "", + "command": "click", + "target": "css=.icon-caret-down", + "targets": [ + ["css=.icon-caret-down", "css:finder"], + ["xpath=//div[@id='dynamics']/div/div/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "399881b1-a73d-4a44-ace3-57660ecc75fe", + "comment": "", + "command": "click", + "target": "css=#lastmonth > .text", + "targets": [ + ["css=#lastmonth > .text", "css:finder"], + ["xpath=//a[@id='lastmonth']/span", "xpath:idRelative"], + ["xpath=//a[7]/span", "xpath:position"], + ["xpath=//span[contains(.,'上月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5d78939a-604d-4ad0-80ec-b422321741ad", + "comment": "", + "command": "click", + "target": "linkText=禅道", + "targets": [ + ["linkText=禅道", "linkText"], + ["css=.active:nth-child(1) a", "css:finder"], + ["xpath=(//a[contains(text(),'禅道')])[3]", "xpath:link"], + ["xpath=//div[@id='dynamics']/div/ul/li/div/span[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/program-product-1.html')]", "xpath:href"], + ["xpath=//span[2]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "95298e6d-95f1-4350-b661-9fd78ace61ec", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "5a80a111-a3f4-4bcc-b89a-ba7be54b9bae", + "comment": "", + "command": "click", + "target": "css=#appBar-system > .show-in-app", + "targets": [ + ["css=#appBar-system > .show-in-app", "css:finder"], + ["xpath=//li[@id='appBar-system']/a", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "3e2f580d-dd11-4fd1-b672-7d05e3a0665e", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "7a3181d7-dcf2-425d-a240-49b7198efd42", + "comment": "", + "command": "click", + "target": "linkText=设计", + "targets": [ + ["linkText=设计", "linkText"], + ["css=.active:nth-child(7) a", "css:finder"], + ["xpath=(//a[contains(text(),'设计')])[2]", "xpath:link"], + ["xpath=//div[@id='dynamics']/div/ul/li[7]/div/span[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/execution-task-7.html')]", "xpath:href"], + ["xpath=//li[7]/div/span[2]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "8c70a380-7bf3-43c4-a3d6-b310a476a7ad", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "74f93977-df6f-4393-b879-4d955b1c75be", + "comment": "", + "command": "click", + "target": "css=#appBar-system > .show-in-app", + "targets": [ + ["css=#appBar-system > .show-in-app", "css:finder"], + ["xpath=//li[@id='appBar-system']/a", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "fde71c9d-7b7c-48e9-b93c-2492fc6dbd86", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "19af6eb7-4a02-4c4d-87a6-41d093c40e9e", + "comment": "", + "command": "click", + "target": "linkText=测试需求二", + "targets": [ + ["linkText=测试需求二", "linkText"], + ["css=li:nth-child(13) .timeline-text > a", "css:finder"], + ["xpath=//a[contains(text(),'测试需求二')]", "xpath:link"], + ["xpath=//div[@id='dynamics']/div/ul/li[13]/div/span[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-view-2.html')]", "xpath:href"], + ["xpath=//li[13]/div/span[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试需求二')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "953371ab-2d43-4f17-bf41-b0007e1d339e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "c0108174-a632-4278-ad2d-a273694c362b", + "comment": "", + "command": "selectFrame", + "target": "index=3", + "targets": [ + ["index=3"] + ], + "value": "" + }, { + "id": "e2f18ca2-52b2-46fe-a823-6d20ffacd992", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/company-dynamic-lastmonth.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "2a6030b4-4c1c-487c-abf8-d5dd7230014a", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "7787eaee-252d-42e1-969c-cb0cc2f54263", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "2c9b0d92-9ce6-494d-bbda-3053abbb109e", + "comment": "", + "command": "click", + "target": "linkText=用户", + "targets": [ + ["linkText=用户", "linkText"], + ["css=#account_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='account_chosen']/a", "xpath:idRelative"], + ["xpath=//div/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'用户')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "05f84730-e63e-4052-b60e-9804ac4ddcad", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='account_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "7fbd7ad5-80de-4081-a75e-4a9beff3e8b6", + "comment": "", + "command": "click", + "target": "linkText=产品", + "targets": [ + ["linkText=产品", "linkText"], + ["css=#product_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='product_chosen']/a", "xpath:idRelative"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ed3ba1c4-d888-487d-9006-56cff7e373fb", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='product_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'禅道多分支产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "009236e7-6b23-4be8-9932-e94063d2f2b8", + "comment": "", + "command": "mouseDown", + "target": "css=#project_chosen span", + "targets": [ + ["css=#project_chosen span", "css:finder"], + ["xpath=//div[@id='project_chosen']/a/span", "xpath:idRelative"], + ["xpath=//div[3]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'项目')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2421476a-879a-42ea-bbe2-40bc584e4855", + "comment": "", + "command": "mouseUp", + "target": "css=#project_chosen input", + "targets": [ + ["css=#project_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[3]", "xpath:attributes"], + ["xpath=//div[@id='project_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//div[3]/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c0c7fd73-36db-4d64-a2ef-851a693a9a3d", + "comment": "", + "command": "click", + "target": "linkText=项目", + "targets": [ + ["linkText=项目", "linkText"], + ["css=#project_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='project_chosen']/a", "xpath:idRelative"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'项目')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "937e999a-da99-4ea3-91fe-d5ed51164151", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='project_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'禅道敏捷项目')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fb427d66-2719-4ff6-a823-7610b761317c", + "comment": "", + "command": "click", + "target": "linkText=迭代", + "targets": [ + ["linkText=迭代", "linkText"], + ["css=#execution_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='execution_chosen']/a", "xpath:idRelative"], + ["xpath=//div[4]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'迭代')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1e4d601c-d585-4b2f-9877-0969556f2c15", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='execution_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'需求阶段')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c47c318a-307a-4fbc-ad69-42a2afd80147", + "comment": "", + "command": "click", + "target": "id=bysearchTab", + "targets": [ + ["id=bysearchTab", "id"], + ["linkText=搜索", "linkText"], + ["css=#bysearchTab", "css:finder"], + ["xpath=//a[contains(text(),'搜索')]", "xpath:link"], + ["xpath=//a[@id='bysearchTab']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[8]", "xpath:idRelative"], + ["xpath=//a[8]", "xpath:position"], + ["xpath=//a[contains(.,' 搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62aca5a4-e8b9-4ab7-a71a-aa05b0890760", + "comment": "", + "command": "mouseDown", + "target": "css=#value1_chosen span", + "targets": [ + ["css=#value1_chosen span", "css:finder"], + ["xpath=//div[@id='value1_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td[4]/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "4c265bcf-9236-407f-af1d-b80fd2af970f", + "comment": "", + "command": "mouseUp", + "target": "css=#value1_chosen input", + "targets": [ + ["css=#value1_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[8]", "xpath:attributes"], + ["xpath=//div[@id='value1_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td[4]/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "72329ce0-2f69-406d-86e4-c0a82ce9cea7", + "comment": "", + "command": "click", + "target": "css=#value1_chosen > .chosen-single", + "targets": [ + ["css=#value1_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='value1_chosen']/a", "xpath:idRelative"], + ["xpath=//td[4]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "fdd14596-7be4-4857-a66e-74d63cee6b0e", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='value1_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td[4]/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'禅道开源版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2fa869b0-9343-4161-9800-a12ab9271dda", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='action-search']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c2190dab-98af-48fa-8b99-1be35d199e16", + "comment": "", + "command": "mouseDown", + "target": "css=#value4_chosen span", + "targets": [ + ["css=#value4_chosen span", "css:finder"], + ["xpath=//div[@id='value4_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "a5f1f664-872e-4011-9d78-b25a6d389586", + "comment": "", + "command": "mouseUp", + "target": "css=#value4_chosen input", + "targets": [ + ["css=#value4_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[14]", "xpath:attributes"], + ["xpath=//div[@id='value4_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2d976874-c3e4-4c3d-9e61-b498ff4cda16", + "comment": "", + "command": "click", + "target": "css=#value4_chosen > .chosen-single", + "targets": [ + ["css=#value4_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='value4_chosen']/a", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "0e31659f-01ed-49d5-a740-2a0777e5f541", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='value4_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td[4]/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "c7766387-bf24-4779-bfc3-6ce364ccbad6", + "comment": "", + "command": "click", + "target": "css=.form-actions", + "targets": [ + ["css=.form-actions", "css:finder"], + ["xpath=//table[@id='action-search']/tbody/tr[2]/td", "xpath:idRelative"], + ["xpath=//form/table/tbody/tr[2]/td", "xpath:position"] + ], + "value": "" + }, { + "id": "112725f2-0b2a-44a7-a90b-7816ec0bddaf", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='action-search']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ae0bba9d-66fc-4619-bc74-f067c152965e", + "comment": "", + "command": "mouseDown", + "target": "css=#value4_chosen span", + "targets": [ + ["css=#value4_chosen span", "css:finder"], + ["xpath=//div[@id='value4_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'admin')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0cd35fe2-38a3-4f0c-8ab1-e929e7d0c15b", + "comment": "", + "command": "mouseUp", + "target": "css=#value4_chosen input", + "targets": [ + ["css=#value4_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[14]", "xpath:attributes"], + ["xpath=//div[@id='value4_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b10f04f2-2c14-478e-8c37-a00857a12f1f", + "comment": "", + "command": "click", + "target": "linkText=admin", + "targets": [ + ["linkText=admin", "linkText"], + ["css=#value4_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='value4_chosen']/a", "xpath:idRelative"], + ["xpath=//td[3]/table/tbody/tr/td[4]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "73852220-371d-471a-99e0-0f4c2dc3b789", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='value4_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5e5690d3-0bd9-45ce-8134-2bdcb0ea9bc3", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='action-search']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c22c1e91-aef3-42f5-bb89-74e0168368b7", + "comment": "", + "command": "click", + "target": "css=#thismonth > .text", + "targets": [ + ["css=#thismonth > .text", "css:finder"], + ["xpath=//a[@id='thismonth']/span", "xpath:idRelative"], + ["xpath=//a[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'本月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a398ce13-98e9-4605-801d-05de4652d596", + "comment": "", + "command": "click", + "target": "css=.icon-chevron-left", + "targets": [ + ["css=.icon-chevron-left", "css:finder"], + ["xpath=//a[@id='prevPage']/i", "xpath:idRelative"], + ["xpath=//nav/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "e2cc4b2f-e93d-448a-8d04-84ed4df48616", + "comment": "", + "command": "click", + "target": "css=.icon-caret-down", + "targets": [ + ["css=.icon-caret-down", "css:finder"], + ["xpath=//div[@id='dynamics']/div/div/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "263d6fab-aec7-41d9-bdb3-380c024850ec", + "comment": "", + "command": "click", + "target": "css=.icon-caret-down", + "targets": [ + ["css=.icon-caret-down", "css:finder"], + ["xpath=//div[@id='dynamics']/div/div/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "471e03fd-8d7a-431f-becf-a03098f9d66d", + "name": "company_todo", + "commands": [{ + "id": "8aba1c4b-8eac-4aaf-9b2e-faf92aa351cc", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/company-todo.html", + "targets": [], + "value": "" + }, { + "id": "8b5c4028-4759-4dce-8fa9-b5eabb8289c5", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "1081e376-8371-461c-933b-7f644f5d54b9", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "fe61deef-8641-40c0-89f4-b1cd05bb0e77", + "comment": "", + "command": "click", + "target": "id=begin", + "targets": [ + ["id=begin", "id"], + ["name=begin", "name"], + ["css=#begin", "css:finder"], + ["xpath=//input[@id='begin']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div[2]/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9e724ef9-3a07-4ef5-b3cd-2ed0206e1e1c", + "comment": "", + "command": "click", + "target": "css=.datetimepicker:nth-child(12) tr:nth-child(3) > .day:nth-child(3)", + "targets": [ + ["css=.datetimepicker:nth-child(12) tr:nth-child(3) > .day:nth-child(3)", "css:finder"], + ["xpath=//tr[3]/td[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "441095e8-afec-458b-8d22-f9cdfdfe282b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div[2]/div[4]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2eb70369-8ed9-4c73-a64d-1cd724c4b59e", + "comment": "", + "command": "click", + "target": "css=.detail", + "targets": [ + ["css=.detail", "css:finder"], + ["xpath=//div[@id='sidebar']/div[2]/form/div", "xpath:idRelative"], + ["xpath=//form/div", "xpath:position"] + ], + "value": "" + }, { + "id": "e6a504bf-958d-4b61-9e77-a8ad2689377d", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-single > span", + "targets": [ + ["css=.chosen-single > span", "css:finder"], + ["xpath=//div[@id='dept_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"], + ["xpath=//span[contains(.,'/')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60ae29c9-87b9-48be-8e43-2023c99e4e8e", + "comment": "", + "command": "mouseUp", + "target": "css=input:nth-child(1)", + "targets": [ + ["css=input:nth-child(1)", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='dept_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "2fea4b9f-7660-4e61-ad1b-560998a3ec86", + "comment": "", + "command": "click", + "target": "linkText=/", + "targets": [ + ["linkText=/", "linkText"], + ["css=.chosen-single", "css:finder"], + ["xpath=//div[@id='dept_chosen']/a", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'/')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e0d4a4eb-d1dd-4232-9fc6-c841e1a6c1e3", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='dept_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'/11')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fc5214e0-8982-4b41-9f0e-51036e338c32", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div[2]/div[4]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e585b814-6138-4276-97b4-d123968d2190", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-single > span", + "targets": [ + ["css=.chosen-single > span", "css:finder"], + ["xpath=//div[@id='dept_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"], + ["xpath=//span[contains(.,'/11')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ddd87399-5f80-4cee-8da0-cad0df09359a", + "comment": "", + "command": "mouseUp", + "target": "css=input:nth-child(1)", + "targets": [ + ["css=input:nth-child(1)", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='dept_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "b2f699d2-ab85-4087-b7f3-7083d4975629", + "comment": "", + "command": "click", + "target": "linkText=/11", + "targets": [ + ["linkText=/11", "linkText"], + ["css=.chosen-single", "css:finder"], + ["xpath=//div[@id='dept_chosen']/a", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'/11')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "76abc61f-51a8-47ff-8045-210e81e9b8eb", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='dept_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'/')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7c142e02-0b80-4964-9825-49244f026b00", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div[2]/div[4]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2e5ae76b-ef46-4315-a8bb-bac618045344", + "comment": "", + "command": "click", + "target": "css=.icon-angle-left", + "targets": [ + ["css=.icon-angle-left", "css:finder"], + ["xpath=//div[@id='sidebar']/div/i", "xpath:idRelative"], + ["xpath=//div/i", "xpath:position"] + ], + "value": "" + }, { + "id": "3b8685eb-6705-4bdf-ba2a-84d8924e1907", + "comment": "", + "command": "click", + "target": "css=.icon-angle-left", + "targets": [ + ["css=.icon-angle-left", "css:finder"], + ["xpath=//div[@id='sidebar']/div/i", "xpath:idRelative"], + ["xpath=//div/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c4635dbe-0a55-4e36-9e58-6f817a1af7c6", + "comment": "", + "command": "mouseDownAt", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]", "xpath:idRelative"], + ["xpath=//main/div/div/div[2]", "xpath:position"] + ], + "value": "398,182" + }, { + "id": "cde29bc2-de69-4981-9f55-8e86b7b474d7", + "comment": "", + "command": "mouseMoveAt", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]", "xpath:idRelative"], + ["xpath=//main/div/div/div[2]", "xpath:position"] + ], + "value": "398,182" + }, { + "id": "19ec09eb-0c1c-4b27-82a3-d51a39ea1b84", + "comment": "", + "command": "mouseUpAt", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]", "xpath:idRelative"], + ["xpath=//main/div/div/div[2]", "xpath:position"] + ], + "value": "398,182" + }, { + "id": "0313a07f-6eec-4b31-bb52-b5a83c0e130a", + "comment": "", + "command": "click", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]", "xpath:idRelative"], + ["xpath=//main/div/div/div[2]", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "128ba1cd-7cbb-4dae-b283-528af3012c37", + "name": "company_calendar", + "commands": [{ + "id": "3d56f0fa-7e0d-45e2-b134-71025d673b67", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/company-calendar.html", + "targets": [], + "value": "" + }, { + "id": "4e76337c-e2b0-4bb4-bccb-14490076eba8", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "4cdedf9c-f994-490d-bd1e-87644714c78b", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "39ba5bf1-f87f-4fb6-8366-31264abe56df", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div/div[8]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7e06132f-aa63-4198-9dae-7fb5d0e884b4", + "comment": "", + "command": "mouseDownAt", + "target": "css=.datatable-row > .hover", + "targets": [ + ["css=.datatable-row > .hover", "css:finder"], + ["xpath=//div[@id='datatable-effortList']/div[2]/div/div/table/tbody/tr/td", "xpath:idRelative"], + ["xpath=//div/div/div[2]/div/div/table/tbody/tr/td", "xpath:position"] + ], + "value": "77,357" + }, { + "id": "d32a2601-5655-4601-9861-9a8223465dc3", + "comment": "", + "command": "mouseMoveAt", + "target": "css=.datatable-row > .hover", + "targets": [ + ["css=.datatable-row > .hover", "css:finder"], + ["xpath=//div[@id='datatable-effortList']/div[2]/div/div/table/tbody/tr/td", "xpath:idRelative"], + ["xpath=//div/div/div[2]/div/div/table/tbody/tr/td", "xpath:position"] + ], + "value": "77,357" + }, { + "id": "2087d5cf-4609-4cdc-a6aa-94e894a10377", + "comment": "", + "command": "mouseUpAt", + "target": "css=.datatable-row > .hover", + "targets": [ + ["css=.datatable-row > .hover", "css:finder"], + ["xpath=//div[@id='datatable-effortList']/div[2]/div/div/table/tbody/tr/td", "xpath:idRelative"], + ["xpath=//div/div/div[2]/div/div/table/tbody/tr/td", "xpath:position"] + ], + "value": "77,357" + }, { + "id": "22389ed1-c019-45a4-b70a-7af6171594b7", + "comment": "", + "command": "click", + "target": "id=datatable-effortList", + "targets": [ + ["id=datatable-effortList", "id"], + ["css=#datatable-effortList", "css:finder"], + ["xpath=//div[@id='datatable-effortList']", "xpath:attributes"], + ["xpath=//div[@id='showdata']/div", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div", "xpath:position"] + ], + "value": "" + }, { + "id": "36e5a0fe-611d-47a0-9471-94ebfb35864c", + "comment": "", + "command": "mouseDown", + "target": "css=#user_chosen > .chosen-single", + "targets": [ + ["css=#user_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='user_chosen']/a", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "dcd6c7d6-cd4b-42ff-aa80-a4674619847e", + "comment": "", + "command": "mouseUp", + "target": "css=#user_chosen input", + "targets": [ + ["css=#user_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[2]", "xpath:attributes"], + ["xpath=//div[@id='user_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9a69b224-c2d2-4ef1-944c-ee8381027532", + "comment": "", + "command": "click", + "target": "css=#user_chosen > .chosen-single", + "targets": [ + ["css=#user_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='user_chosen']/a", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "2e03057d-e072-4db9-a88d-e53a66e9a903", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='user_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "3a488b1a-15f1-47d6-b47f-523bf72df072", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div/div[8]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6b262d24-3961-4603-9254-5eb47a67ddf1", + "comment": "", + "command": "click", + "target": "css=.checkbox-inline", + "targets": [ + ["css=.checkbox-inline", "css:finder"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div/div[7]/div/label", "xpath:idRelative"], + ["xpath=//label", "xpath:position"], + ["xpath=//label[contains(.,'显示部门所有成员')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "322dabc3-29d2-4219-b3be-83d31c863089", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/form/div/div/div[8]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'查看')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7ea021c3-35ed-473f-a1ca-1f06e589bdcd", + "comment": "", + "command": "click", + "target": "css=#today > .text", + "targets": [ + ["css=#today > .text", "css:finder"], + ["xpath=//a[@id='today']/span", "xpath:idRelative"], + ["xpath=//a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'今日')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4226631a-8033-40dd-82ff-d07f67a92f0f", + "comment": "", + "command": "click", + "target": "id=yesterday", + "targets": [ + ["id=yesterday", "id"], + ["linkText=昨日", "linkText"], + ["css=#yesterday", "css:finder"], + ["xpath=//a[@id='yesterday']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-effort-yesterday.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,'昨日')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "718e5447-53d4-4ad8-9c46-a9fc9ce3b6fb", + "comment": "", + "command": "click", + "target": "css=#thisweek > .text", + "targets": [ + ["css=#thisweek > .text", "css:finder"], + ["xpath=//a[@id='thisweek']/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'本周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "69fd07b8-faf2-4fc4-bdb7-6f3a25ffc4ea", + "comment": "", + "command": "click", + "target": "linkText=任务 #16 设计任务2", + "targets": [ + ["linkText=任务 #16 设计任务2", "linkText"], + ["css=tbody > tr:nth-child(1) > .c-objectType > a", "css:finder"], + ["xpath=//a[contains(text(),'任务 #16 设计任务2')]", "xpath:link"], + ["xpath=//table[@id='effortList']/tbody/tr/td[7]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/task-view-16.html')]", "xpath:href"], + ["xpath=//td[7]/a", "xpath:position"], + ["xpath=//a[contains(.,'任务 #16 设计任务2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "edcf44ec-fefb-49f7-a088-5455a49482c2", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "0ed03724-e0cb-4c7e-b5a1-80e3a9269c13", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "7de92702-b497-484f-bcfd-2495a58fe3a4", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/company-effort-thisweek.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "af15f6d0-d89f-4d5c-b69b-6d1f03e6b0e2", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "e7d3535a-1dd3-49b8-9175-31dc57868a05", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "760006bb-5e09-46fc-9257-14396b969969", + "comment": "", + "command": "click", + "target": "linkText=用例 #7 测试用例1", + "targets": [ + ["linkText=用例 #7 测试用例1", "linkText"], + ["css=tr:nth-child(9) > .c-objectType > a", "css:finder"], + ["xpath=//a[contains(text(),'用例 #7 测试用例1')]", "xpath:link"], + ["xpath=//table[@id='effortList']/tbody/tr[9]/td[7]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-7.html')]", "xpath:href"], + ["xpath=//tr[9]/td[7]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例 #7 测试用例1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "04d24f8b-90b6-4b92-9a9a-edb606678c92", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "493a759f-edb9-4667-aa46-8534a1c935b7", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "101e8441-6854-48d1-aba4-5e1e2835fbc7", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/company-effort-thisweek.html')])[2]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "9e094a04-bec8-44a8-8a17-ee506f4ba2cd", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "2c0a5620-0b81-4699-92df-cabcd95e75f0", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "d3d15be1-c732-470a-aa4f-ff61aca245d2", + "comment": "", + "command": "click", + "target": "css=#lastweek > .text", + "targets": [ + ["css=#lastweek > .text", "css:finder"], + ["xpath=//a[@id='lastweek']/span", "xpath:idRelative"], + ["xpath=//a[5]/span", "xpath:position"], + ["xpath=//span[contains(.,'上周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4036a1b1-e43d-464a-831f-b7483a2fe309", + "comment": "", + "command": "click", + "target": "id=thismonth", + "targets": [ + ["id=thismonth", "id"], + ["linkText=本月", "linkText"], + ["css=#thismonth", "css:finder"], + ["xpath=//a[@id='thismonth']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[6]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-effort-thismonth.html')]", "xpath:href"], + ["xpath=//a[6]", "xpath:position"], + ["xpath=//a[contains(.,'本月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6cc24cb3-ce19-4037-a174-0017bef75b5c", + "comment": "", + "command": "click", + "target": "css=#lastmonth > .text", + "targets": [ + ["css=#lastmonth > .text", "css:finder"], + ["xpath=//a[@id='lastmonth']/span", "xpath:idRelative"], + ["xpath=//a[7]/span", "xpath:position"], + ["xpath=//span[contains(.,'上月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d5dd82b9-cd13-4236-906a-7b24144b8454", + "comment": "", + "command": "click", + "target": "id=all", + "targets": [ + ["id=all", "id"], + ["linkText=所有", "linkText"], + ["css=#all", "css:finder"], + ["xpath=//a[@id='all']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[8]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-effort-all.html')]", "xpath:href"], + ["xpath=//a[8]", "xpath:position"], + ["xpath=//a[contains(.,'所有')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9dcaa23f-c9d1-45f2-aa0c-bb28d27f2696", + "comment": "", + "command": "click", + "target": "linkText=导出", + "targets": [ + ["linkText=导出", "linkText"], + ["css=.export", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-export--date_asc.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a1cc2c00-1cb4-4f1d-b033-4691200cb403", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "983287a8-f68c-43a9-8142-a75107b76dca", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//tr[7]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "3ae4848b-f3f3-4eb2-a938-f0ea8697043d", + "name": "company_view", + "commands": [{ + "id": "1c713a46-6782-4ee9-b733-5b4f5ebb3f5d", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/company-view.html", + "targets": [], + "value": "" + }, { + "id": "411ffc07-38d4-4b25-ad21-f47fd4ec4194", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "896e623e-77be-4c68-9271-7a51a494fab9", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "4430c1a0-e442-4819-884f-e6dd2137941e", + "comment": "", + "command": "click", + "target": "id=editCompany", + "targets": [ + ["id=editCompany", "id"], + ["linkText=编辑", "linkText"], + ["css=#editCompany", "css:finder"], + ["xpath=//a[contains(text(),'编辑')]", "xpath:link"], + ["xpath=//a[@id='editCompany']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-edit.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "669232e3-ecc0-423a-86fd-fe6f29a197b3", + "comment": "", + "command": "mouseOver", + "target": "id=editCompany", + "targets": [ + ["id=editCompany", "id"], + ["linkText=编辑", "linkText"], + ["css=#editCompany", "css:finder"], + ["xpath=//a[contains(text(),'编辑')]", "xpath:link"], + ["xpath=//a[@id='editCompany']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-edit.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f57ae484-a663-45cc-801a-a129de1b4d43", + "comment": "", + "command": "mouseOut", + "target": "id=editCompany", + "targets": [ + ["id=editCompany", "id"], + ["linkText=编辑", "linkText"], + ["css=#editCompany", "css:finder"], + ["xpath=//a[contains(text(),'编辑')]", "xpath:link"], + ["xpath=//a[@id='editCompany']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/company-edit.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d7188eac-ae93-4842-86bc-6a332d1a6769", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "f30d0966-f7f9-4d67-9c0d-781548103d63", + "comment": "", + "command": "click", + "target": "id=phone", + "targets": [ + ["id=phone", "id"], + ["name=phone", "name"], + ["css=#phone", "css:finder"], + ["xpath=//input[@id='phone']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[2]/td/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3da56284-5254-43ad-8432-7dcbd495eb7b", + "comment": "", + "command": "type", + "target": "id=phone", + "targets": [ + ["id=phone", "id"], + ["name=phone", "name"], + ["css=#phone", "css:finder"], + ["xpath=//input[@id='phone']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[2]/td/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/input", "xpath:position"] + ], + "value": "1234567890" + }, { + "id": "6fb836c9-fde5-4211-8568-019c7f63e385", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[9]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }], + "suites": [{ + "id": "37eca623-82a4-430a-b12c-47dea3beadcc", + "name": "company", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["128ba1cd-7cbb-4dae-b283-528af3012c37", "ecc7f9bb-2a8a-49f7-8727-51f05de41c86", "471e03fd-8d7a-431f-becf-a03098f9d66d", "3ae4848b-f3f3-4eb2-a938-f0ea8697043d", "005b2172-9c96-4c47-9c38-62ca575b3339"] + }], + "urls": ["http://max.zentao.com/my-team.html", "http://max.zentao.com/company-dynamic.html", "http://max.zentao.com/company-todo.html", "http://max.zentao.com/company-calendar.html", "http://max.zentao.com/company-view.html"], + "plugins": [] +} \ No newline at end of file diff --git a/test/ui/doc.side b/test/ui/doc.side new file mode 100644 index 0000000000..71f1fac211 --- /dev/null +++ b/test/ui/doc.side @@ -0,0 +1,3629 @@ +{ + "id": "3c8e2151-5da7-4d2f-a9dc-0866d7ee898d", + "version": "2.0", + "name": "doc", + "url": "http://max.zentao.com/doc-objectLibs-book.html", + "tests": [{ + "id": "931f15b2-6086-4df9-b541-d50d80be89da", + "name": "doc_index", + "commands": [{ + "id": "ce44dfac-a3fe-4795-969b-9980b0ced2eb", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc/", + "targets": [], + "value": "" + }, { + "id": "05875822-1458-4c1a-8e6b-e7be2dada757", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "c0954e04-99a5-4657-872a-f0b9addf73e2", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "bf013519-9b99-4129-b1c9-ce2233b298e2", + "comment": "", + "command": "click", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=.col-sm-7:nth-child(1) tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-35.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0b66ac60-3445-4754-b8d5-adb044378b97", + "comment": "", + "command": "mouseOver", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=.col-sm-7:nth-child(1) tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-35.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1518b95f-483c-40cf-b291-03d56c4b8d04", + "comment": "", + "command": "mouseOut", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=.col-sm-7:nth-child(1) tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-35.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ab0aee99-37b2-42c9-a657-5c9674c5b389", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "43014a83-f21c-4bb3-b5dd-f3727811195f", + "comment": "", + "command": "click", + "target": "css=.main-actions > .btn-toolbar", + "targets": [ + ["css=.main-actions > .btn-toolbar", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div", "xpath:idRelative"], + ["xpath=//div[2]/div/div[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "d46ef279-d3a9-41d4-8754-b638ae721dd0", + "comment": "", + "command": "click", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=//a[contains(text(),'日志')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-doc-35.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "148ddf6b-746c-4f5b-8fab-18f4f149da14", + "comment": "", + "command": "selectFrame", + "target": "index=3", + "targets": [ + ["index=3"] + ], + "value": "" + }, { + "id": "c3820ea5-be6d-484d-a9c1-5086ab9fb880", + "comment": "", + "command": "click", + "target": "css=.text-top:nth-child(1) > td:nth-child(4)", + "targets": [ + ["css=.text-top:nth-child(1) > td:nth-child(4)", "css:finder"], + ["xpath=//div[@id='mainContent']/form/table[2]/tbody/tr/td[4]", "xpath:idRelative"], + ["xpath=//table[2]/tbody/tr/td[4]", "xpath:position"] + ], + "value": "" + }, { + "id": "0a905f4b-7768-4ee6-a87e-c1e19e3f87d5", + "comment": "", + "command": "click", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table[2]/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "47d1bc5f-f44b-442c-8669-d33d33544849", + "comment": "", + "command": "type", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table[2]/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "56f8a4dd-f09a-44cc-96df-2a2fd519e0e2", + "comment": "", + "command": "click", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table[2]/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "57cc9eb8-1098-445a-bf10-d6aec3a4f750", + "comment": "", + "command": "type", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table[2]/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "内容1" + }, { + "id": "33c2d5ee-c3dd-4409-8e26-eb8c41314054", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table[2]/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a5fbf00e-f99f-4d4c-be72-a778ebf321f4", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "5ff51707-2947-4f1d-9656-a6f03ff2f43d", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "abade115-3141-4987-b49b-525b8e254fc2", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "25b3400b-623a-4818-be83-0c482516f4d4", + "comment": "", + "command": "click", + "target": "css=.col-sm-7:nth-child(1) .panel-heading a", + "targets": [ + ["css=.col-sm-7:nth-child(1) .panel-heading a", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]/div/div/div/nav/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc-browse-byediteddate.html')])[2]", "xpath:href"], + ["xpath=//nav/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "61adf621-a009-47a2-8d41-dee416e6e47e", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7ada4ed4-d582-44f7-b449-669c34d4a87c", + "comment": "", + "command": "click", + "target": "css=.col-sm-7:nth-child(3) .icon", + "targets": [ + ["css=.col-sm-7:nth-child(3) .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]/div[3]/div/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//div[3]/div/div/nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "7ad3b6c7-ec2c-465b-a27e-1bddbd8f3032", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f8bdd9fc-73b3-4ff8-b08f-8ff14e6b8e38", + "comment": "", + "command": "click", + "target": "css=.col-sm-5 .icon", + "targets": [ + ["css=.col-sm-5 .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]/div[4]/div/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//div[4]/div/div/nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "67444f1e-d1f5-4dcd-bc06-22150eac3763", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c3694e1b-d956-412f-bf2d-170a10087cb7", + "comment": "", + "command": "click", + "target": "css=.col-sm-7:nth-child(3) tr:nth-child(2) a", + "targets": [ + ["css=.col-sm-7:nth-child(3) tr:nth-child(2) a", "css:finder"], + ["xpath=(//a[contains(text(),'markdown文档1')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div[3]/div/div[2]/table/tbody/tr[2]/td/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc-view-39.html?onlybody=yes')])[2]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/table/tbody/tr[2]/td/a", "xpath:position"] + ], + "value": "" + }, { + "id": "d129e97a-4b71-4017-b4be-35eecafc28d2", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e91376de-d04b-4881-9f5d-79dfd9bce11b", + "comment": "", + "command": "click", + "target": "linkText=产品文档1", + "targets": [ + ["linkText=产品文档1", "linkText"], + ["css=.col-sm-5 tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'产品文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-32.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:position"], + ["xpath=//a[contains(.,'产品文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8be91566-3b8a-4fc0-a84f-87cca1982b94", + "comment": "", + "command": "mouseOver", + "target": "linkText=产品文档1", + "targets": [ + ["linkText=产品文档1", "linkText"], + ["css=.col-sm-5 tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'产品文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-32.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:position"], + ["xpath=//a[contains(.,'产品文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2e17d921-ab3f-4671-90ab-7b102a8b2569", + "comment": "", + "command": "mouseOut", + "target": "linkText=产品文档1", + "targets": [ + ["linkText=产品文档1", "linkText"], + ["css=.col-sm-5 tr:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'产品文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-32.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[4]/div/div[2]/table/tbody/tr/td/a", "xpath:position"], + ["xpath=//a[contains(.,'产品文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ab286a6a-02a4-44e2-a7bd-6bf7033516bf", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "ec393c6f-5be4-4a11-8146-98905a8a8615", + "name": "doc_byediteddate", + "commands": [{ + "id": "6d2997e4-b2ec-46e5-a5cf-a5f45c4deb23", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-browse-byediteddate.html", + "targets": [], + "value": "" + }, { + "id": "6e7c012a-5b8a-4694-aa45-1d3e2a5efe29", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "98ae5252-6b0b-49a1-bffc-b8cac58af168", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "a7c13e6a-8090-45e8-a062-84db6f15fd5a", + "comment": "", + "command": "click", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=tr:nth-child(1) > .c-name > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-35-0.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'  文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fb3571db-f165-433e-b13a-95a0b6e5fad8", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b78cf43-895f-4c71-a949-ffae343550fd", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .ajaxCollect > .icon", + "targets": [ + ["css=tr:nth-child(1) .ajaxCollect > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "f5f767a9-59dd-45aa-b77e-25bdcad3aeb1", + "comment": "", + "command": "click", + "target": "linkText=我的收藏", + "targets": [ + ["linkText=我的收藏", "linkText"], + ["css=.nav > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'我的收藏')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-collectedbyme.html')]", "xpath:href"], + ["xpath=//li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'我的收藏')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6d5c63c9-4728-45cd-9c9c-5be0725fcb80", + "comment": "", + "command": "click", + "target": "linkText=最近文档", + "targets": [ + ["linkText=最近文档", "linkText"], + ["css=.nav > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'最近文档')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-byediteddate.html')]", "xpath:href"], + ["xpath=//li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'最近文档')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5ef5809e-4c9c-4513-87dd-d17e4249e7de", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .ajaxCollect > .icon", + "targets": [ + ["css=tr:nth-child(1) .ajaxCollect > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8a936f36-dd34-4d6f-83c7-ca1582dc361b", + "comment": "", + "command": "click", + "target": "linkText=我的收藏", + "targets": [ + ["linkText=我的收藏", "linkText"], + ["css=.nav > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'我的收藏')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-collectedbyme.html')]", "xpath:href"], + ["xpath=//li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'我的收藏')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c3a3560d-c58e-4038-bf04-7d6338ff79fa", + "comment": "", + "command": "click", + "target": "linkText=最近文档", + "targets": [ + ["linkText=最近文档", "linkText"], + ["css=.nav > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'最近文档')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-byediteddate.html')]", "xpath:href"], + ["xpath=//li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'最近文档')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fea98d9f-83d8-4fb6-a3b5-ceb34a50f7c4", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) > .c-actions > .iframe > .icon", + "targets": [ + ["css=tr:nth-child(1) > .c-actions > .iframe > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "6af8ef4a-fdc4-4950-b150-1ed879e90fb4", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "de74ceef-4d2e-4dd8-a8d4-6478edb8a18e", + "comment": "", + "command": "click", + "target": "css=#contentBox > td", + "targets": [ + ["css=#contentBox > td", "css:finder"], + ["xpath=//tr[@id='contentBox']/td", "xpath:idRelative"], + ["xpath=//tr[6]/td", "xpath:position"], + ["xpath=//td[contains(.,'可以在编辑器直接贴图。')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "61ae1917-b645-4bba-9f3b-1bdc7b53df52", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "68539801-6c10-4d9b-8351-cc4365ccb0c8", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "40680b65-7c1e-49a9-bacb-4652d40aba1c", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "9eca86e0-02d3-4850-a06f-c271ee6cf7a5", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "743bf0d8-6494-47cc-9db0-2ea26af1a3d6", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "c61a6fdc-9ed2-472a-a5f3-bb28714dbf76", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) .icon-trash", + "targets": [ + ["css=tr:nth-child(2) .icon-trash", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr[2]/td[6]/a[3]/i", "xpath:idRelative"], + ["xpath=//tr[2]/td[6]/a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "529928dd-a860-499c-a2c4-04eb9c7768d7", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=//button[@type='button']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'每页 20 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "13b7397a-a5bb-4bf1-b3e2-22e8a5a01847", + "comment": "", + "command": "click", + "target": "linkText=15", + "targets": [ + ["linkText=15", "linkText"], + ["css=.btn-group li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'15')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/ul/li[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[3]", "xpath:href"], + ["xpath=//div/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'15')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f0bad5d2-dc4d-48f2-9eaf-bfd594d34f14", + "comment": "", + "command": "click", + "target": "css=.icon-angle-right", + "targets": [ + ["css=.icon-angle-right", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[6]/a/i", "xpath:idRelative"], + ["xpath=//li[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1b5dc5fa-db7a-4210-beb9-04223ed20878", + "comment": "", + "command": "click", + "target": "css=.icon-first-page", + "targets": [ + ["css=.icon-first-page", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[3]/a/i", "xpath:idRelative"], + ["xpath=//div/ul/li[3]/a/i", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "5a300f25-0a0d-446e-b6e6-1297b9c76a9d", + "name": "doc_openedbyme", + "commands": [{ + "id": "40a1f56d-a0c9-4ddc-bca1-5459de962a0b", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-browse-openedbyme.html", + "targets": [], + "value": "" + }, { + "id": "e09cabbe-f3c1-4ede-ad84-f175ec9ed9bd", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "0fa2957d-e459-435f-a1d1-327a40d51ba0", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "fbe80b56-d990-41bb-b4fd-08c40626d406", + "comment": "", + "command": "click", + "target": "css=tbody > tr:nth-child(1) > .c-name", + "targets": [ + ["css=tbody > tr:nth-child(1) > .c-name", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td", "xpath:idRelative"], + ["xpath=//td", "xpath:position"], + ["xpath=//td[contains(.,'  文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6954620b-650d-4b2c-8263-ade16bf1ca7e", + "comment": "", + "command": "click", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=tr:nth-child(1) > .c-name > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-38-0.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'  文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0146e033-caf1-4e28-831e-77b660c84fe3", + "comment": "", + "command": "mouseOver", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=tr:nth-child(1) > .c-name > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-38-0.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'  文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6b2aed49-9ff0-4b4b-aafb-8afd0f85c08b", + "comment": "", + "command": "mouseOut", + "target": "linkText=文档1", + "targets": [ + ["linkText=文档1", "linkText"], + ["css=tr:nth-child(1) > .c-name > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'文档1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-view-38-0.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'  文档1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "66d6ac59-65eb-4b6a-8232-fa1dedbf79c3", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5a4fe742-533c-4f8e-af39-7c7041aa8f6b", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .ajaxCollect > .icon", + "targets": [ + ["css=tr:nth-child(1) .ajaxCollect > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4d4f6955-9230-4fc0-9601-0645c26c505c", + "comment": "", + "command": "click", + "target": "linkText=我的收藏", + "targets": [ + ["linkText=我的收藏", "linkText"], + ["css=.nav > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'我的收藏')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-collectedbyme.html')]", "xpath:href"], + ["xpath=//li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'我的收藏')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a1cbeed4-f6d4-4e18-96f7-c2b62f5e65c7", + "comment": "", + "command": "click", + "target": "linkText=我的文档", + "targets": [ + ["linkText=我的文档", "linkText"], + ["css=.nav > li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'我的文档')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-browse-openedbyme.html')]", "xpath:href"], + ["xpath=//li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'我的文档')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6728debd-fc2b-4441-9b5d-a9686c5e9afe", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .ajaxCollect > .icon", + "targets": [ + ["css=tr:nth-child(1) .ajaxCollect > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8e8df255-1f9b-4aa3-9761-ca5b4081d143", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(2) > .c-actions > .iframe > .icon", + "targets": [ + ["css=tr:nth-child(2) > .c-actions > .iframe > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr[2]/td[6]/a[2]/i", "xpath:idRelative"], + ["xpath=//tr[2]/td[6]/a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "5c162782-e326-44e4-bffe-0f5c425ed0aa", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "a77c503c-9735-4dca-9efe-79d7d2b1b079", + "comment": "", + "command": "click", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9caef3b4-ea8c-4130-ba12-6b20cffef5f1", + "comment": "", + "command": "type", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "百度搜索" + }, { + "id": "2c539bab-32a7-4022-9932-c7dcc6488832", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2fe100dc-b90d-4c6b-8eaa-ebc3af06c0fc", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "0b6862d2-bba2-4a36-b109-f28ad305e677", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=//button[@type='button']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'每页 15 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f0f49e8b-811b-4641-8700-b92d881fefd7", + "comment": "", + "command": "click", + "target": "linkText=25", + "targets": [ + ["linkText=25", "linkText"], + ["css=.btn-group li:nth-child(5) > a", "css:finder"], + ["xpath=//a[contains(text(),'25')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/ul/li[5]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[5]", "xpath:href"], + ["xpath=//div/ul/li[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'25')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "a04e0925-bd68-4f62-a22c-f8190ed0be9d", + "name": "doc_collectedbyme", + "commands": [{ + "id": "3ac50cef-b619-4105-a1d7-49ac23887026", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-browse-collectedbyme.html", + "targets": [], + "value": "" + }, { + "id": "a84ec45f-03cb-4303-8fab-0ed6a06b29ec", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "e05efc30-a6a2-4255-994b-f10ac65f867f", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "1fcb65ae-c671-4d94-a758-53bccfbb69c0", + "comment": "", + "command": "click", + "target": "css=.icon-star-empty", + "targets": [ + ["css=.icon-star-empty", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "3ecc49c4-0ece-4ab0-8882-783a728ce00e", + "comment": "", + "command": "click", + "target": "css=html", + "targets": [ + ["css=html", "css:finder"], + ["xpath=//html", "xpath:position"] + ], + "value": "" + }, { + "id": "d2f72355-520c-4f41-bac7-1ac9951b017a", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) > .c-actions > .iframe > .icon", + "targets": [ + ["css=tr:nth-child(1) > .c-actions > .iframe > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/table/tbody/tr/td[6]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "d0a17748-c37c-429a-bfc4-a8d07e3dbbe8", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "4e52c13b-ee8c-4230-8574-5b244086973f", + "comment": "", + "command": "click", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "48522639-82fc-4ef9-8b9a-0653e3a64de8", + "comment": "", + "command": "type", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "百度" + }, { + "id": "b2401f45-f4e5-4a8e-9dc3-582664658217", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60e036be-9ecc-4a58-999b-d8d9cd2ea7c8", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "d24dd0b9-4aee-4cb8-bcca-37fb9b259ead", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=//button[@type='button']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'每页 25 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4e884c86-5178-4dc5-b447-1ff741db2917", + "comment": "", + "command": "click", + "target": "linkText=20", + "targets": [ + ["linkText=20", "linkText"], + ["css=.btn-group li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'20')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/ul/li[2]/div/ul/li[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[4]", "xpath:href"], + ["xpath=//div/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'20')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "e5bee740-4cba-4e50-87a4-0b4f27c0397d", + "name": "doc_product", + "commands": [{ + "id": "269405ad-6839-42b7-b5fd-97dbe9cd813e", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-objectLibs-product.html", + "targets": [], + "value": "" + }, { + "id": "ae60c46e-f256-46cc-8087-d66fdd9b59db", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "7c13543f-e222-42ac-9727-ff942bf35410", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "e9578dfc-f405-4df6-bec1-49646469c77b", + "comment": "", + "command": "click", + "target": "id=currentBranch", + "targets": [ + ["id=currentBranch", "id"], + ["css=#currentBranch", "css:finder"], + ["xpath=//button[@id='currentBranch']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'产品主库1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de733960-47b5-4dff-879c-f5e372e0f3e2", + "comment": "", + "command": "click", + "target": "linkText=产品主库1", + "targets": [ + ["linkText=产品主库1", "linkText"], + ["css=.open > #dropMenu .active", "css:finder"], + ["xpath=//a[contains(text(),'产品主库1')]", "xpath:link"], + ["xpath=(//div[@id='dropMenu']/div[2]/div/a)[10]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-2-2.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'产品主库1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "77eb2091-64ff-4582-92c1-c1141805f6b8", + "comment": "", + "command": "click", + "target": "css=.text", + "targets": [ + ["css=.text", "css:finder"], + ["xpath=//button[@id='currentItem']/span", "xpath:idRelative"], + ["xpath=//span", "xpath:position"], + ["xpath=//span[contains(.,'禅道旗舰版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f5cd756a-81aa-4252-90db-e3098e2a7fe1", + "comment": "", + "command": "click", + "target": "linkText=禅道优秀版", + "targets": [ + ["linkText=禅道优秀版", "linkText"], + ["css=.active:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'禅道优秀版')]", "xpath:link"], + ["xpath=//div[@id='dropMenu']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-16.html')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'禅道优秀版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b0e6fb53-9611-4147-ad3e-76e13ea507a8", + "comment": "", + "command": "click", + "target": "id=currentBranch", + "targets": [ + ["id=currentBranch", "id"], + ["css=#currentBranch", "css:finder"], + ["xpath=//button[@id='currentBranch']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'产品主库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "765723bc-e690-40d4-94ce-58f2e31db313", + "comment": "", + "command": "click", + "target": "linkText=产品主库", + "targets": [ + ["linkText=产品主库", "linkText"], + ["css=.list-group > .selected:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'产品主库')]", "xpath:link"], + ["xpath=(//div[@id='dropMenu']/div[2]/div/a)[10]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-16-55.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'产品主库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "088123cb-45ab-49e0-9295-e5a04370aa70", + "comment": "", + "command": "click", + "target": "linkText=维护目录", + "targets": [ + ["linkText=维护目录", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='product']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-55-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72df2b79-a830-4763-8b76-c070ac263e99", + "comment": "", + "command": "mouseOver", + "target": "css=.btn-info:nth-child(1)", + "targets": [ + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='product']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-55-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b5d18f60-8b93-4726-afd3-f258f66753aa", + "comment": "", + "command": "mouseOut", + "target": "linkText=维护目录", + "targets": [ + ["linkText=维护目录", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='product']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-55-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bd483593-7d1b-4361-a4ef-657a71c6cd11", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "4306ece2-a077-4e90-b24e-00dc55772a0f", + "comment": "", + "command": "click", + "target": "id=sonModule", + "targets": [ + ["id=sonModule", "id"], + ["css=#sonModule", "css:finder"], + ["xpath=//div[@id='sonModule']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr/td[2]/div", "xpath:idRelative"], + ["xpath=//td[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "945cb3d1-a8b1-43b6-8f72-44e5493ff04b", + "comment": "", + "command": "click", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "37e0ec4d-2968-4d04-9beb-fec9cb30dac7", + "comment": "", + "command": "type", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "第一章" + }, { + "id": "fb4ddf1b-3cb8-4d9b-b3ee-99f30a49dd53", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "46fb66a5-24a9-4b05-bd06-0faf5b33d474", + "comment": "", + "command": "type", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "第二章" + }, { + "id": "880a22e2-0b2d-4714-bd34-2c56a3a9c855", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f0e6bd58-8d57-467f-bb28-2a3f6beadbe5", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "def01bc3-e086-429f-9e39-690102dbe652", + "comment": "", + "command": "click", + "target": "linkText=编辑文档库", + "targets": [ + ["linkText=编辑文档库", "linkText"], + ["css=.btn:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'编辑文档库')]", "xpath:link"], + ["xpath=//div[@id='product']/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-editLib-55.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'编辑文档库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c73dd44a-72d4-4429-b2ad-da05d839bd64", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "9193a766-0d8d-40b7-98c6-c6d8c602d3b3", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[2]/td/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "d64613a8-2539-4b6f-894c-d36682f454fd", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[2]/td/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "禅道优秀版" + }, { + "id": "a2ea4f94-a12d-4e2c-adfc-6fcb7e21af54", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7720ee32-7008-4ad8-831f-2b1302f6712e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "2fb4d32c-3203-41ec-aa79-6d964a2c2add", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='createDropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'创建文档 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c154667f-2a67-4ba8-a4b1-8a541dc1af5c", + "comment": "", + "command": "click", + "target": "linkText=富文本", + "targets": [ + ["linkText=富文本", "linkText"], + ["css=#createDropdown li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'富文本')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-create-product-16-55-0-html.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'富文本')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "05d58c89-c28c-4c10-aad6-267d4138c37e", + "comment": "", + "command": "mouseDown", + "target": "css=#module_chosen span", + "targets": [ + ["css=#module_chosen span", "css:finder"], + ["xpath=//div[@id='module_chosen']/a/span", "xpath:idRelative"], + ["xpath=//span/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "47d59d79-8740-45c3-a492-4cd9d02d1f49", + "comment": "", + "command": "mouseUp", + "target": "css=#module_chosen input", + "targets": [ + ["css=#module_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[2]", "xpath:attributes"], + ["xpath=//div[@id='module_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//span/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "95bf7ee4-62e1-4721-be16-617f14a56b1b", + "comment": "", + "command": "click", + "target": "linkText=/", + "targets": [ + ["linkText=/", "linkText"], + ["css=#module_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='module_chosen']/a", "xpath:idRelative"], + ["xpath=//span/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "85623aa1-a653-4a72-8503-5478a2d5c3ab", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='module_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'/第一章')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d514cece-3de4-4d13-9a0d-67876e08d682", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2a6e7d07-ea46-4082-80da-029e87f95db1", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "第一节" + }, { + "id": "ccfc9f11-0bc0-4920-bfe5-e92a3adff9e3", + "comment": "", + "command": "click", + "target": "css=#mailto_chosen > .chosen-choices", + "targets": [ + ["css=#mailto_chosen > .chosen-choices", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/ul", "xpath:idRelative"], + ["xpath=//tr[9]/td/div/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "5896b63a-dac9-495c-a42e-66e2409478be", + "comment": "", + "command": "click", + "target": "css=#mailto_chosen > .chosen-drop li:nth-child(1)", + "targets": [ + ["css=#mailto_chosen > .chosen-drop li:nth-child(1)", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td/div/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "61a9571a-7f52-4be6-9d68-65cbf697ce8f", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(10) .radio-inline:nth-child(2)", + "targets": [ + ["css=tr:nth-child(10) .radio-inline:nth-child(2)", "css:finder"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/label[2]", "xpath:idRelative"], + ["xpath=//tr[10]/td/label[2]", "xpath:position"], + ["xpath=//label[contains(.,'自定义')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "92756215-1b16-40f4-ac87-b9de677077d7", + "comment": "", + "command": "click", + "target": "css=#groups_chosen > .chosen-choices", + "targets": [ + ["css=#groups_chosen > .chosen-choices", "css:finder"], + ["xpath=//div[@id='groups_chosen']/ul", "xpath:idRelative"], + ["xpath=//tr[11]/td/div/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "a1c87a64-5219-4f9e-a205-c16b2a2a86e3", + "comment": "", + "command": "runScript", + "target": "window.scrollTo(0,189)", + "targets": [], + "value": "" + }, { + "id": "bb02e514-9200-464f-8bb0-3f4a37034696", + "comment": "", + "command": "click", + "target": "css=#groups_chosen > .chosen-drop li:nth-child(1)", + "targets": [ + ["css=#groups_chosen > .chosen-drop li:nth-child(1)", "css:finder"], + ["xpath=//div[@id='groups_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//tr[11]/td/div/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "5b23c263-cc75-4310-adf8-9b21d04be575", + "comment": "", + "command": "click", + "target": "css=#users_chosen > .chosen-choices", + "targets": [ + ["css=#users_chosen > .chosen-choices", "css:finder"], + ["xpath=//div[@id='users_chosen']/ul", "xpath:idRelative"], + ["xpath=//td/div[2]/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "ab701b32-ba07-4df6-a5e2-4c7e118aa942", + "comment": "", + "command": "click", + "target": "css=#users_chosen > .chosen-drop li:nth-child(1)", + "targets": [ + ["css=#users_chosen > .chosen-drop li:nth-child(1)", "css:finder"], + ["xpath=//div[@id='users_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//div[2]/div/div/ul/li", "xpath:position"] + ], + "value": "" + }, { + "id": "b3617131-06cc-4998-be39-636a1967c63b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "02bde71c-82c3-45b7-94d8-e844a17678ab", + "comment": "", + "command": "click", + "target": "css=.icon-edit", + "targets": [ + ["css=.icon-edit", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a/i", "xpath:idRelative"], + ["xpath=//div[3]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a8d46e55-0afa-43d1-a3b9-c0de5ff51f7b", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "67ac7bce-4c3a-4670-88c6-eee0a48bf34c", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "44ce7d76-5603-46ad-9e96-c1abe617aa92", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ba7739c4-b9f1-4b2d-80e7-45db54bb0eaf", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5aa3bc97-bcaa-402b-b1e8-aa0cdcc7f29d", + "comment": "", + "command": "click", + "target": "css=.btn-link > .caret", + "targets": [ + ["css=.btn-link > .caret", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "85f9c54f-a2a3-4a54-a66c-76a96bad6f84", + "comment": "", + "command": "click", + "target": "linkText=#1", + "targets": [ + ["linkText=#1", "linkText"], + ["css=.btn-group li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'#1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-16-55-41-1.html')]", "xpath:href"], + ["xpath=//div/div/div/div[2]/div/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'#1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c39d4bdc-d069-48cf-a5fa-bbbff6038ae2", + "comment": "", + "command": "click", + "target": "linkText=#1", + "targets": [ + ["linkText=#1", "linkText"], + ["css=.text-ellipsis", "css:finder"], + ["xpath=//a[contains(text(),'#1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//div[2]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'#1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ebb4a670-1d00-48a9-b427-1994549a9840", + "comment": "", + "command": "click", + "target": "css=.btn-group li:nth-child(2) > a", + "targets": [ + ["css=.btn-group li:nth-child(2) > a", "css:finder"], + ["xpath=(//a[contains(text(),'#1')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-16-55-41-1.html')]", "xpath:href"], + ["xpath=//div/div/div/div[2]/div/div/ul/li[2]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "237156f2-840a-492f-9878-15a3dcd5fbda", + "comment": "", + "command": "click", + "target": "css=.icon-star", + "targets": [ + ["css=.icon-star", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "695d47e7-bb83-4bfc-82c3-323522807f8c", + "comment": "", + "command": "click", + "target": "css=.btn-comment", + "targets": [ + ["css=.btn-comment", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"], + ["xpath=//button[contains(.,' 添加备注')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4a793a17-864e-4c5a-b656-a65d2f6770f8", + "comment": "", + "command": "click", + "target": "id=comment", + "targets": [ + ["id=comment", "id"], + ["name=comment", "name"], + ["css=#comment", "css:finder"], + ["xpath=//textarea[@id='comment']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "3932d221-9ad7-4e87-ab9f-1c26dce4915b", + "comment": "", + "command": "type", + "target": "id=comment", + "targets": [ + ["id=comment", "id"], + ["name=comment", "name"], + ["css=#comment", "css:finder"], + ["xpath=//textarea[@id='comment']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "备注1" + }, { + "id": "b689e22f-4724-4112-9ccf-f92338f6e8a6", + "comment": "", + "command": "click", + "target": "css=.form-group > .btn-primary", + "targets": [ + ["css=.form-group > .btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "26d23a26-6c33-4dec-8a9e-7182f9ed113b", + "comment": "", + "command": "click", + "target": "id=currentBranch", + "targets": [ + ["id=currentBranch", "id"], + ["css=#currentBranch", "css:finder"], + ["xpath=//button[@id='currentBranch']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "b9b9af23-1917-4d3b-a7e9-0ee5b040b0b8", + "comment": "", + "command": "click", + "target": "id=currentItem", + "targets": [ + ["id=currentItem", "id"], + ["css=#currentItem", "css:finder"], + ["xpath=//button[@id='currentItem']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'禅道优秀版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5dda7a31-a6a7-4c0d-921e-6036f8221ab1", + "comment": "", + "command": "click", + "target": "linkText=测试产品线产品", + "targets": [ + ["linkText=测试产品线产品", "linkText"], + ["css=.open > #dropMenu .active", "css:finder"], + ["xpath=//a[contains(text(),'测试产品线产品')]", "xpath:link"], + ["xpath=//div[@id='dropMenu']/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-7.html')]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'测试产品线产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9fcf5280-0e8a-4bf3-b749-330908093733", + "comment": "", + "command": "click", + "target": "id=currentItem", + "targets": [ + ["id=currentItem", "id"], + ["css=#currentItem", "css:finder"], + ["xpath=//button[@id='currentItem']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div/div/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'测试产品线产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4b735d68-b30c-45e5-8a83-a3434b62384f", + "comment": "", + "command": "click", + "target": "linkText=产品111", + "targets": [ + ["linkText=产品111", "linkText"], + ["css=.search-list-item:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'产品111')]", "xpath:link"], + ["xpath=//div[@id='dropMenu']/div[2]/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-product-6.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,'产品111')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de61fb1e-b26a-4d89-9806-4b2c7e64f04d", + "comment": "", + "command": "click", + "target": "css=#createDropdown > .btn", + "targets": [ + ["css=#createDropdown > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='createDropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'创建文档 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dea435d0-0895-4b80-8b5d-a801de8b698e", + "comment": "", + "command": "click", + "target": "linkText=创建文档库", + "targets": [ + ["linkText=创建文档库", "linkText"], + ["css=li:nth-child(8) > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'创建文档库')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[8]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-product-6.html')]", "xpath:href"], + ["xpath=//div/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'创建文档库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c668dbb0-5133-4535-b1f2-3046e9afb80d", + "comment": "", + "command": "mouseOver", + "target": "linkText=创建文档库", + "targets": [ + ["linkText=创建文档库", "linkText"], + ["css=li:nth-child(8) > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'创建文档库')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[8]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-product-6.html')]", "xpath:href"], + ["xpath=//div/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'创建文档库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "459740a5-10ad-470f-8f7c-334837e44584", + "comment": "", + "command": "mouseOut", + "target": "css=li:nth-child(8) > .iframe", + "targets": [ + ["css=li:nth-child(8) > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'创建文档库')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[8]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-product-6.html')]", "xpath:href"], + ["xpath=//div/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'创建文档库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "446e0c86-7175-4ae5-94c0-5710f3842017", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "70b685f5-79d4-4f9a-9f84-b4e5f70ccaa0", + "comment": "", + "command": "click", + "target": "css=.required", + "targets": [ + ["css=.required", "css:finder"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td", "xpath:idRelative"], + ["xpath=//tr[5]/td", "xpath:position"] + ], + "value": "" + }, { + "id": "a33fac52-d69e-4955-bcf9-f011424e418f", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "74a04dfa-e8ad-4a8a-983b-ced888fb9e7d", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "产品111文档库" + }, { + "id": "83a01b29-d9f9-437a-be47-2850d8bb98f6", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "719154e4-f119-445e-8bb7-4749a89b0117", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "693e49fb-6e53-49ee-abfd-de03e4ef2afd", + "comment": "", + "command": "click", + "target": "linkText=删除文档库", + "targets": [ + ["linkText=删除文档库", "linkText"], + ["css=.btn:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'删除文档库')]", "xpath:link"], + ["xpath=//div[@id='product']/div[2]/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-deleteLib-61.html')]", "xpath:href"], + ["xpath=//div[2]/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'删除文档库')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "cbae7948-7b2f-4638-a5c6-79be3cba79eb", + "name": "doc_project", + "commands": [{ + "id": "3a26bf91-9aa8-4f8e-b88e-e2ff6c287c3a", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-objectLibs-project.html", + "targets": [], + "value": "" + }, { + "id": "9ffcdddb-68bc-4b02-9455-b40d0bcb68c4", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "3c240140-5ada-44f5-9a54-24a8b52d2432", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "23afad7c-f348-4e59-881b-c2f899aa3194", + "comment": "", + "command": "click", + "target": "id=currentBranch", + "targets": [ + ["id=currentBranch", "id"], + ["css=#currentBranch", "css:finder"], + ["xpath=//button[@id='currentBranch']", "xpath:attributes"], + ["xpath=//div[@id='pageNav']/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'111')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "322fdf23-2931-4511-b83c-65609e1ee34a", + "comment": "", + "command": "click", + "target": "linkText=文档库测试", + "targets": [ + ["linkText=文档库测试", "linkText"], + ["css=.active:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'文档库测试')]", "xpath:link"], + ["xpath=(//div[@id='dropMenu']/div[2]/div/a[3])[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-project-4-25.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/div[2]/div/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'文档库测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4ff11dd3-839d-47bc-bb3a-119eaf0ec3be", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='createDropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'创建文档 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "33c286f5-df8c-4ff8-947c-a6528508392f", + "comment": "", + "command": "click", + "target": "linkText=Markdown", + "targets": [ + ["linkText=Markdown", "linkText"], + ["css=#createDropdown li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'Markdown')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-create-project-4-25-0-markdown.html')]", "xpath:href"], + ["xpath=//div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'Markdown')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5e534698-2afd-4e30-903e-d3df43558c41", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "385c0156-56c0-4cfa-b1ea-bb712fdee40e", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "文档1" + }, { + "id": "716f3d4e-43e1-40d7-935f-b918e59b7d12", + "comment": "", + "command": "click", + "target": "css=.icon-columns", + "targets": [ + ["css=.icon-columns", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div/a[12]", "xpath:idRelative"], + ["xpath=//a[12]", "xpath:position"] + ], + "value": "" + }, { + "id": "2132f1c2-5f62-4bb0-8f5a-7c55dd718b77", + "comment": "", + "command": "click", + "target": "css=.icon-expand-full", + "targets": [ + ["css=.icon-expand-full", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div/a[13]", "xpath:idRelative"], + ["xpath=//a[13]", "xpath:position"] + ], + "value": "" + }, { + "id": "f00a3bee-3271-44b9-807e-a3669c9b7ec1", + "comment": "", + "command": "click", + "target": "css=.icon-table", + "targets": [ + ["css=.icon-table", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div/a[10]", "xpath:idRelative"], + ["xpath=//a[10]", "xpath:position"] + ], + "value": "" + }, { + "id": "06c541d6-8b50-4ea6-bcce-22f92898b1e7", + "comment": "", + "command": "click", + "target": "css=.CodeMirror-line:nth-child(3) > span", + "targets": [ + ["css=.CodeMirror-line:nth-child(3) > span", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div[2]/div[6]/div/div/div/div/div[5]/pre[3]/span", "xpath:idRelative"], + ["xpath=//pre[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'| 特性| Column 2 | Column 3 |')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "00e6910b-d09b-424e-abfc-4437da074f03", + "comment": "", + "command": "click", + "target": "css=.CodeMirror-line:nth-child(3) > span", + "targets": [ + ["css=.CodeMirror-line:nth-child(3) > span", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div[2]/div[6]/div/div/div/div/div[5]/pre[3]/span", "xpath:idRelative"], + ["xpath=//pre[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'| 特性| 性能 2 | Column 3 |')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ad5ef5fd-50c3-4958-92d7-e5c64d6110b0", + "comment": "", + "command": "click", + "target": "css=.CodeMirror-line:nth-child(3) > span", + "targets": [ + ["css=.CodeMirror-line:nth-child(3) > span", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div[2]/div[6]/div/div/div/div/div[5]/pre[3]/span", "xpath:idRelative"], + ["xpath=//pre[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'| 特性| 性能 | Column 3 |')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2aa332f7-016d-4183-8c86-50c63546d7ed", + "comment": "", + "command": "click", + "target": "css=.CodeMirror-line:nth-child(5) > span", + "targets": [ + ["css=.CodeMirror-line:nth-child(5) > span", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div[2]/div[6]/div/div/div/div/div[5]/pre[5]/span", "xpath:idRelative"], + ["xpath=//pre[5]/span", "xpath:position"], + ["xpath=//span[contains(.,'| Text     | Text     | Text     |')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "515c23a7-3ba9-482a-adff-3658154548ab", + "comment": "", + "command": "type", + "target": "css=div:nth-child(1) > textarea:nth-child(1)", + "targets": [ + ["css=div:nth-child(1) > textarea:nth-child(1)", "css:finder"], + ["xpath=//tr[@id='contentBox']/td/div[2]/div[2]/div/textarea", "xpath:idRelative"], + ["xpath=//div[2]/div/textarea", "xpath:position"] + ], + "value": "Text" + }, { + "id": "b8509846-f8ec-4344-a385-269a43568446", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "df9160d3-bdaa-406c-bbae-31399c34a7f2", + "comment": "", + "command": "click", + "target": "linkText=维护目录", + "targets": [ + ["linkText=维护目录", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='project']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-25-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e4a6a7ef-81ef-4697-ae6f-f4fdae184f85", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "84663589-d77f-403e-a94c-be53e809bbd7", + "comment": "", + "command": "click", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "d25abe24-3943-4dfd-a2b9-4bfabe561ea7", + "comment": "", + "command": "type", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "第一章" + }, { + "id": "ce9abf18-e9b9-4ddb-a85a-e096baf7e5d6", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "8b13be24-3c73-4e43-b2a8-05afdfe27845", + "comment": "", + "command": "type", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "第二章" + }, { + "id": "b29974cb-095d-48e1-a3e9-d8bb5138ab02", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dd40d5da-3841-42ed-95eb-502af134ccea", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "c856e7fd-af00-400c-a7ae-00ca832f7b2c", + "comment": "", + "command": "click", + "target": "css=.actions > .btn:nth-child(1)", + "targets": [ + ["css=.actions > .btn:nth-child(1)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-edit-44-false-project-4-25.html')]", "xpath:href"], + ["xpath=//div[3]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "8029656a-7cb0-4c4c-95fa-e48a0867cb73", + "comment": "", + "command": "mouseDown", + "target": "css=#module_chosen span", + "targets": [ + ["css=#module_chosen span", "css:finder"], + ["xpath=//div[@id='module_chosen']/a/span", "xpath:idRelative"], + ["xpath=//span/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "3e0c6a68-c350-4605-9eea-469a52373d48", + "comment": "", + "command": "mouseUp", + "target": "css=#module_chosen input", + "targets": [ + ["css=#module_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[2]", "xpath:attributes"], + ["xpath=//div[@id='module_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//span/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "112c19fd-28ac-47dc-8bdd-f4f47ee215ea", + "comment": "", + "command": "click", + "target": "linkText=/", + "targets": [ + ["linkText=/", "linkText"], + ["css=#module_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='module_chosen']/a", "xpath:idRelative"], + ["xpath=//span/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "42356ea0-db5f-4b49-8d3d-f1b6162a8785", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='module_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//span/div/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'/第一章')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b3f2e91f-7b2c-478a-9d4c-024e5291820d", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a86985f-5c60-4587-9f38-92b45cddb530", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "b6097b2c-f2b3-456e-ad39-604b5fa3f470", + "name": "doc_custom", + "commands": [{ + "id": "db323662-761a-4e9c-bb37-fb241f260016", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-objectLibs-custom.html", + "targets": [], + "value": "" + }, { + "id": "31f94840-1a52-4b9e-9c1b-dd3cde980e83", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "7199d20b-4b2f-4495-9448-595b0d97f15e", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "8aed6ebd-2bfa-4ce3-abc8-359ce8ae54e4", + "comment": "", + "command": "click", + "target": "css=#createDropdown > .btn", + "targets": [ + ["css=#createDropdown > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='createDropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'创建文档 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "aea873ff-c16f-4ab6-b4d5-34a8ecf86533", + "comment": "", + "command": "click", + "target": "linkText=创建文档库", + "targets": [ + ["linkText=创建文档库", "linkText"], + ["css=li:nth-child(8) > .iframe", "css:finder"], + ["xpath=//a[contains(text(),'创建文档库')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[8]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-custom-0.html')]", "xpath:href"], + ["xpath=//div/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'创建文档库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "87f95c8e-c6b8-4216-a386-c9b05b506d50", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "d01781a4-365d-4108-a632-2364dfec14a0", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d5ccaa29-dab4-4491-96e1-d565f3215f66", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "自定义文档库1" + }, { + "id": "e01badc5-002b-4a60-a279-0865d664218b", + "comment": "", + "command": "click", + "target": "css=span > .radio-inline:nth-child(3)", + "targets": [ + ["css=span > .radio-inline:nth-child(3)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[6]/td/span/label[3]", "xpath:idRelative"], + ["xpath=//span/label[3]", "xpath:position"], + ["xpath=//label[contains(.,'私有')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3a4a66c0-d76f-4bbc-b94f-6284f816742a", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cea4c1d9-5a1e-495d-9886-cff4f652e4a8", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4710dad0-ceea-4dc0-a9e7-05b0b9a8e106", + "comment": "", + "command": "click", + "target": "linkText=维护目录", + "targets": [ + ["linkText=维护目录", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='custom']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-63-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "640564bf-7a23-41ac-a4ee-0fc9d420eb8d", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "c1accd1a-3b50-4f10-b838-1e2675f5466f", + "comment": "", + "command": "click", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "c26c98fe-5291-45d0-a317-c1f1bcee8144", + "comment": "", + "command": "type", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "第一章" + }, { + "id": "2f305dac-78ca-43e9-9995-738f1045525e", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3241d15a-7268-4162-b073-2766b31599e7", + "comment": "", + "command": "type", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "第二章" + }, { + "id": "edb4cd2e-6531-46e0-9a3f-25984e096b4b", + "comment": "", + "command": "click", + "target": "css=.form-actions", + "targets": [ + ["css=.form-actions", "css:finder"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b7bdc596-4400-428e-99c2-2cadc7a44106", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d386a121-0e3f-441a-9b05-f95171c2488a", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "6490cf55-04c1-4c4e-b2ae-e6c180ef9548", + "comment": "", + "command": "click", + "target": "linkText=维护目录", + "targets": [ + ["linkText=维护目录", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护目录')]", "xpath:link"], + ["xpath=//div[@id='custom']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-63-doc.html?onlybody=yes')]", "xpath:href"], + ["xpath=//main/div/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'维护目录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0a05dd7a-76e4-49f7-b7d2-932e2f6df8fd", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "de32b3e7-afff-4485-b130-e9009999415f", + "comment": "", + "command": "click", + "target": "linkText=第一章", + "targets": [ + ["linkText=第一章", "linkText"], + ["css=.hover > .module-name > a", "css:finder"], + ["xpath=//a[contains(text(),'第一章')]", "xpath:link"], + ["xpath=//ul[@id='modulesTree']/li/span/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-63-doc-45-0-.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a", "xpath:position"], + ["xpath=//a[contains(.,'第一章')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c699c9c9-3532-44ed-8f09-d4cda9591aeb", + "comment": "", + "command": "click", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "37a2470e-f457-4b16-a654-a5b1439db295", + "comment": "", + "command": "type", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "第一节" + }, { + "id": "461bd9e3-2dab-43b1-9089-4979ca573b3a", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4c15b984-f94f-4526-9cde-59df9dd63b1b", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "0b1399aa-4a62-41c7-9a6f-a135e5e91e55", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='createDropdown']/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'创建文档 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "163eed52-539d-416e-8f97-92f6a2f0c29d", + "comment": "", + "command": "click", + "target": "linkText=链接", + "targets": [ + ["linkText=链接", "linkText"], + ["css=#createDropdown li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'链接')]", "xpath:link"], + ["xpath=//div[@id='createDropdown']/ul/li[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-create-custom-0-63-0-url.html')]", "xpath:href"], + ["xpath=//div/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'链接')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "383967ac-1d8f-46e9-ba28-656009f6e138", + "comment": "", + "command": "mouseDown", + "target": "css=#module_chosen span", + "targets": [ + ["css=#module_chosen span", "css:finder"], + ["xpath=//div[@id='module_chosen']/a/span", "xpath:idRelative"], + ["xpath=//span/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "7ef8e759-ebad-4c5f-bbdc-4d2b7f017ce1", + "comment": "", + "command": "mouseUp", + "target": "css=#module_chosen input", + "targets": [ + ["css=#module_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[2]", "xpath:attributes"], + ["xpath=//div[@id='module_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//span/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "40f7324a-353e-425b-8893-77b6d82ecfa1", + "comment": "", + "command": "click", + "target": "linkText=/", + "targets": [ + ["linkText=/", "linkText"], + ["css=#module_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='module_chosen']/a", "xpath:idRelative"], + ["xpath=//span/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "1a21c348-a841-4a23-8d6d-7d7775694b62", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(3)", + "targets": [ + ["css=.active-result:nth-child(3)", "css:finder"], + ["xpath=//div[@id='module_chosen']/div/ul/li[3]", "xpath:idRelative"], + ["xpath=//div/ul/li[3]", "xpath:position"], + ["xpath=//li[contains(.,'/第一章/第一节')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "eb197db9-f0bf-437d-a33b-cbd67902544f", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "1b8087ee-a1c9-48f4-a4a7-2fc5cdbaf42b", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "百度" + }, { + "id": "4b60d456-a38e-4850-ae52-7b075da0b502", + "comment": "", + "command": "click", + "target": "id=url", + "targets": [ + ["id=url", "id"], + ["name=url", "name"], + ["css=#url", "css:finder"], + ["xpath=//input[@id='url']", "xpath:attributes"], + ["xpath=//tr[@id='urlBox']/td/input", "xpath:idRelative"], + ["xpath=//tr[7]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e6435aa2-f3db-4f09-9bb2-024c3061c43c", + "comment": "", + "command": "type", + "target": "id=url", + "targets": [ + ["id=url", "id"], + ["name=url", "name"], + ["css=#url", "css:finder"], + ["xpath=//input[@id='url']", "xpath:attributes"], + ["xpath=//tr[@id='urlBox']/td/input", "xpath:idRelative"], + ["xpath=//tr[7]/td/input", "xpath:position"] + ], + "value": "www.baidu.com" + }, { + "id": "7781388d-4ca4-4ca6-8993-b46400c29367", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "62fa7dff-2ed3-4437-ac16-77c16c08acf2", + "comment": "", + "command": "click", + "target": "css=.ajaxCollect", + "targets": [ + ["css=.ajaxCollect", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a[3]", "xpath:idRelative"], + ["xpath=//div[3]/a[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "abb950ff-5f39-4761-ba27-e37baf1585da", + "comment": "", + "command": "click", + "target": "css=.actions > .btn:nth-child(1)", + "targets": [ + ["css=.actions > .btn:nth-child(1)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-edit-47-false-custom-0-63.html')]", "xpath:href"], + ["xpath=//div[3]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "116d5a51-fbac-4d58-853b-9f026c049714", + "comment": "", + "command": "click", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "80823520-6761-44bc-a0aa-f1dc8fa6c907", + "comment": "", + "command": "type", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/input", "xpath:idRelative"], + ["xpath=//tr[4]/td/input", "xpath:position"] + ], + "value": "百度" + }, { + "id": "a7751b03-0651-4e93-afdd-4807ea5f7dd6", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3a1e25eb-2619-4e97-9e3a-3bd05c72ac9f", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[12]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0690a9a2-523a-42c5-a1fc-0bd12a607bbd", + "comment": "", + "command": "click", + "target": "linkText=删除文档库", + "targets": [ + ["linkText=删除文档库", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'删除文档库')]", "xpath:link"], + ["xpath=//div[@id='custom']/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-deleteLib-63.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,'删除文档库')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "e999f85b-0257-4a1f-8444-407a5f612683", + "name": "doc_book", + "commands": [{ + "id": "0ee62b04-fa0d-4c57-83bb-1ee334d9195c", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/doc-objectLibs-book.html", + "targets": [], + "value": "" + }, { + "id": "f9788ba7-a56b-45c7-b621-ec45b6f04262", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "83c763ff-af47-4035-9117-1933b1208a5f", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "c1e875bc-6ba8-47c5-8d01-006879ecd508", + "comment": "", + "command": "click", + "target": "linkText=创建手册", + "targets": [ + ["linkText=创建手册", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'创建手册')]", "xpath:link"], + ["xpath=//div[@id='pageActions']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-book-0.html')]", "xpath:href"], + ["xpath=//div[2]/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'创建手册')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a9670f0a-c69d-409c-8fef-722ffdbe39b4", + "comment": "", + "command": "mouseOver", + "target": "linkText=创建手册", + "targets": [ + ["linkText=创建手册", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'创建手册')]", "xpath:link"], + ["xpath=//div[@id='pageActions']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-book-0.html')]", "xpath:href"], + ["xpath=//div[2]/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'创建手册')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f641c090-3234-4637-a464-965ece63b781", + "comment": "", + "command": "mouseOut", + "target": "linkText=创建手册", + "targets": [ + ["linkText=创建手册", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'创建手册')]", "xpath:link"], + ["xpath=//div[@id='pageActions']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-createLib-book-0.html')]", "xpath:href"], + ["xpath=//div[2]/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'创建手册')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f0c0b8b-c2b4-4460-a101-480b0ba60cab", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "b71e5cd7-5018-4f46-8333-98e697f527e2", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e7093693-4e50-46d4-b96b-33d6da70ff79", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "手册2" + }, { + "id": "d4b4d377-a90e-4bf1-a9d8-46bebd570a2b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fc30cf96-b882-4700-8dfa-d5bcc6831094", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "cd7c195a-b95f-463e-aa36-3343618735ea", + "comment": "", + "command": "click", + "target": "linkText=编辑手册", + "targets": [ + ["linkText=编辑手册", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'编辑手册')]", "xpath:link"], + ["xpath=//div[@id='book']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-editLib-67.html?onlybody=yes')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'编辑手册')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa383556-c3f4-4f98-993a-28aa0fc0be0e", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "b806b7e8-4762-4bb4-af35-da3303ad8b66", + "comment": "", + "command": "click", + "target": "css=td > .radio-inline:nth-child(2)", + "targets": [ + ["css=td > .radio-inline:nth-child(2)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[2]/td/label[2]", "xpath:idRelative"], + ["xpath=//td/label[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b286c520-1a44-4430-ac16-1bcb433cf095", + "comment": "", + "command": "click", + "target": "css=#whiteListBox > td", + "targets": [ + ["css=#whiteListBox > td", "css:finder"], + ["xpath=//tr[@id='whiteListBox']/td", "xpath:idRelative"], + ["xpath=//tr[3]/td", "xpath:position"] + ], + "value": "" + }, { + "id": "08fa486d-6fbc-4cee-af10-9b61905d747b", + "comment": "", + "command": "click", + "target": "css=#groups_chosen > .chosen-choices", + "targets": [ + ["css=#groups_chosen > .chosen-choices", "css:finder"], + ["xpath=//div[@id='groups_chosen']/ul", "xpath:idRelative"], + ["xpath=//ul", "xpath:position"] + ], + "value": "" + }, { + "id": "2a48ca5e-517c-43ce-b5b1-b7257a4fd017", + "comment": "", + "command": "click", + "target": "css=.chosen-results > li:nth-child(2)", + "targets": [ + ["css=.chosen-results > li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='groups_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "a70b77ec-7e21-40f6-bd81-dc2ca11c0ada", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[4]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a6e874d-8567-4ecb-baf0-bfb933a107a0", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "1baffcf6-f0d6-4fdf-8f39-01874fe93ccc", + "comment": "", + "command": "click", + "target": "linkText=维护手册", + "targets": [ + ["linkText=维护手册", "linkText"], + ["css=.btn:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'维护手册')]", "xpath:link"], + ["xpath=//div[@id='book']/div[2]/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-manageBook-67.html')]", "xpath:href"], + ["xpath=//div[2]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'维护手册')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "87a56bbf-ed29-40c8-bb1f-f7421604e985", + "comment": "", + "command": "click", + "target": "linkText=章节", + "targets": [ + ["linkText=章节", "linkText"], + ["css=p > .btn", "css:finder"], + ["xpath=(//a[contains(text(),'章节')])[2]", "xpath:link"], + ["xpath=//div[@id='mainRow']/div[2]/div/div[2]/div/p/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc-catalog-67-0.html')])[2]", "xpath:href"], + ["xpath=//p/a", "xpath:position"] + ], + "value": "" + }, { + "id": "4ba4c5cc-7422-4ed5-bcf6-76e6bc39b117", + "comment": "", + "command": "click", + "target": "id=title[]", + "targets": [ + ["id=title[]", "id"], + ["name=title[1]", "name"], + ["css=.text-center:nth-child(1) #title\\[\\]", "css:finder"], + ["xpath=//input[@id='title[]']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9ef58941-18c3-4d66-832b-5022ac4332b9", + "comment": "", + "command": "type", + "target": "id=title[]", + "targets": [ + ["id=title[]", "id"], + ["name=title[1]", "name"], + ["css=.text-center:nth-child(1) #title\\[\\]", "css:finder"], + ["xpath=//input[@id='title[]']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/input", "xpath:position"] + ], + "value": "第一章" + }, { + "id": "76eb0f20-2747-47cd-9fbf-7c783286b968", + "comment": "", + "command": "click", + "target": "css=.text-center:nth-child(2) > td:nth-child(2)", + "targets": [ + ["css=.text-center:nth-child(2) > td:nth-child(2)", "css:finder"], + ["xpath=//form[@id='dataform']/table/tbody/tr[2]/td[2]", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "9ae6c5bf-ecd8-4ca6-ab48-d90b2b1700b5", + "comment": "", + "command": "click", + "target": "name=title[2]", + "targets": [ + ["name=title[2]", "name"], + ["css=.text-center:nth-child(2) #title\\[\\]", "css:finder"], + ["xpath=(//input[@id='title[]'])[2]", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[2]/td[2]/input", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9c101d4d-feba-4d5d-b1e9-0786e666d23f", + "comment": "", + "command": "type", + "target": "name=title[2]", + "targets": [ + ["name=title[2]", "name"], + ["css=.text-center:nth-child(2) #title\\[\\]", "css:finder"], + ["xpath=(//input[@id='title[]'])[2]", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[2]/td[2]/input", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]/input", "xpath:position"] + ], + "value": "第二章" + }, { + "id": "e33c1c28-226a-4e79-b4d6-9d091a2da325", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "00fcde2d-64cf-4450-bec5-0e013496fec3", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f382adad-c76d-4029-be52-ba1d12ce9f2c", + "comment": "", + "command": "mouseOver", + "target": "css=.catalog:nth-child(2) .icon-move", + "targets": [ + ["css=.catalog:nth-child(2) .icon-move", "css:finder"], + ["xpath=//div[@id='mainRow']/div[2]/div/div[2]/div/dl/dd[2]/span/a[4]/i", "xpath:idRelative"], + ["xpath=//dd[2]/span/a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4f2dedd3-e4b5-4e54-becb-b2b275a2614d", + "comment": "", + "command": "mouseOut", + "target": "css=.drag-from .icon-move", + "targets": [ + ["css=.drag-from .icon-move", "css:finder"], + ["xpath=//div[@id='mainRow']/div[2]/div/div[2]/div/dl/dd[2]/span/a[4]/i", "xpath:idRelative"], + ["xpath=//dd[2]/span/a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "d6fddc0a-9bb9-44e2-8c9c-8a8f5452db19", + "comment": "", + "command": "click", + "target": "linkText=章节", + "targets": [ + ["linkText=章节", "linkText"], + ["css=.catalog:nth-child(1) > .actions > a:nth-child(2)", "css:finder"], + ["xpath=(//a[contains(text(),'章节')])[2]", "xpath:link"], + ["xpath=//div[@id='mainRow']/div[2]/div/div[2]/div/dl/dd/span/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/doc-catalog-67-55.html')])[2]", "xpath:href"], + ["xpath=//span/a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "12020db3-1fe9-424a-aa2f-968e09697ba6", + "comment": "", + "command": "click", + "target": "id=type", + "targets": [ + ["id=type", "id"], + ["name=type[1]", "name"], + ["css=.text-center:nth-child(1) #type", "css:finder"], + ["xpath=//select[@id='type']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td/select", "xpath:idRelative"], + ["xpath=//select", "xpath:position"], + ["xpath=//select[contains(.,'章节\n文章')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4ab94170-be77-4128-aac6-df7fd6a7e65a", + "comment": "", + "command": "select", + "target": "id=type", + "targets": [], + "value": "label=文章" + }, { + "id": "825957ba-dccb-4bea-8830-296c62aebb21", + "comment": "", + "command": "click", + "target": "id=type", + "targets": [ + ["id=type", "id"], + ["name=type[1]", "name"], + ["css=.text-center:nth-child(1) #type", "css:finder"], + ["xpath=//select[@id='type']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td/select", "xpath:idRelative"], + ["xpath=//select", "xpath:position"], + ["xpath=//select[contains(.,'章节\n文章')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f89c5f0-e254-41bd-9449-c04d24ca7ea4", + "comment": "", + "command": "click", + "target": "id=title[]", + "targets": [ + ["id=title[]", "id"], + ["name=title[1]", "name"], + ["css=.text-center:nth-child(1) #title\\[\\]", "css:finder"], + ["xpath=//input[@id='title[]']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "54747a99-cb2a-4b29-b66c-951c88715d9b", + "comment": "", + "command": "type", + "target": "id=title[]", + "targets": [ + ["id=title[]", "id"], + ["name=title[1]", "name"], + ["css=.text-center:nth-child(1) #title\\[\\]", "css:finder"], + ["xpath=//input[@id='title[]']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/input", "xpath:position"] + ], + "value": "第一节闰土" + }, { + "id": "0e3f8a1e-ea05-4986-8725-663b5cf3023b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "73e71b92-d5a3-4c10-8b2e-324f5d4e82ba", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f7017b5-f7e9-474b-abd0-766c9b46f109", + "comment": "", + "command": "click", + "target": "id=node57", + "targets": [ + ["id=node57", "id"], + ["name=node57", "name"], + ["css=#node57", "css:finder"], + ["xpath=(//a[contains(text(),'编辑')])[3]", "xpath:link"], + ["xpath=//a[@id='node57']", "xpath:attributes"], + ["xpath=//div[@id='mainRow']/div[2]/div/div[2]/div/dl/dd/dl/dd/span/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-edit-57-false-book.html')]", "xpath:href"], + ["xpath=//dd/dl/dd/span/a", "xpath:position"] + ], + "value": "" + }, { + "id": "e3f1e3e1-6d2b-4a17-a666-788a5f30598b", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "5a3f2ca6-c59b-4700-aee6-8d744a594048", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "1ecfec21-11a4-4454-af78-b8f047582247", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "3125739c-cd2b-41ae-ab7d-114033d469ee", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[6]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "662a8ef8-c13a-4d21-bef5-02fc6047bc18", + "comment": "", + "command": "click", + "target": "linkText=#2", + "targets": [ + ["linkText=#2", "linkText"], + ["css=.text-ellipsis", "css:finder"], + ["xpath=//a[contains(text(),'#2')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//div[2]/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'#2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d0153699-834d-4aee-a9bd-71b58bab4b76", + "comment": "", + "command": "click", + "target": "linkText=#1", + "targets": [ + ["linkText=#1", "linkText"], + ["css=.btn-group li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'#1')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[2]/div/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/doc-objectLibs-book-0-67-57-1.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'#1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "108d36dd-bd8e-4b60-bb8f-f5236b1281ac", + "comment": "", + "command": "click", + "target": "css=.ajaxCollect", + "targets": [ + ["css=.ajaxCollect", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a[3]", "xpath:idRelative"], + ["xpath=//div[3]/a[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "e108153b-0d9e-47b0-9739-e4c81e2c24b5", + "comment": "", + "command": "click", + "target": "css=.btn-comment", + "targets": [ + ["css=.btn-comment", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"], + ["xpath=//button[contains(.,' 添加备注')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c705905d-8fb4-458c-9884-d05cc7a34f1c", + "comment": "", + "command": "mouseOver", + "target": "css=.btn-comment", + "targets": [ + ["css=.btn-comment", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"], + ["xpath=//button[contains(.,' 添加备注')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "329721cb-167a-449d-9dbb-c7bbd97f8b16", + "comment": "", + "command": "mouseOut", + "target": "css=.btn-comment", + "targets": [ + ["css=.btn-comment", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"], + ["xpath=//button[contains(.,' 添加备注')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "359f830d-0278-4179-8afe-86aea3c246d1", + "comment": "", + "command": "click", + "target": "id=comment", + "targets": [ + ["id=comment", "id"], + ["name=comment", "name"], + ["css=#comment", "css:finder"], + ["xpath=//textarea[@id='comment']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "b793950d-3fb6-4ce8-bcb5-af89c22f2d43", + "comment": "", + "command": "type", + "target": "id=comment", + "targets": [ + ["id=comment", "id"], + ["name=comment", "name"], + ["css=#comment", "css:finder"], + ["xpath=//textarea[@id='comment']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "备注1" + }, { + "id": "46cb3fa3-a8a5-45ad-a362-2578d1647241", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//div[@id='actionbox']/div/div/div/div/div[2]/form/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9a1f6a71-7c5c-44f6-b6cd-9466afcfc8c8", + "comment": "", + "command": "click", + "target": "css=.icon-star", + "targets": [ + ["css=.icon-star", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div/div/div[3]/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }] + }], + "suites": [{ + "id": "324fa695-1190-4ecc-9e04-a28421f5048d", + "name": "doc", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["e999f85b-0257-4a1f-8444-407a5f612683", "ec393c6f-5be4-4a11-8146-98905a8a8615", "a04e0925-bd68-4f62-a22c-f8190ed0be9d", "b6097b2c-f2b3-456e-ad39-604b5fa3f470", "931f15b2-6086-4df9-b541-d50d80be89da", "5a300f25-0a0d-446e-b6e6-1297b9c76a9d", "cbae7948-7b2f-4638-a5c6-79be3cba79eb", "e5bee740-4cba-4e50-87a4-0b4f27c0397d"] + }], + "urls": ["http://max.zentao.com/doc/", "http://max.zentao.com/doc-browse-byediteddate.html", "http://max.zentao.com/doc-browse-openedbyme.html", "http://max.zentao.com/doc-browse-collectedbyme.html", "http://max.zentao.com/doc-objectLibs-product.html", "http://max.zentao.com/doc-objectLibs-project.html", "http://max.zentao.com/doc-objectLibs-custom.html", "http://max.zentao.com/doc-objectLibs-book.html"], + "plugins": [] +} \ No newline at end of file diff --git a/test/ui/qa.side b/test/ui/qa.side new file mode 100644 index 0000000000..a65c168b6e --- /dev/null +++ b/test/ui/qa.side @@ -0,0 +1,10010 @@ +{ + "id": "b63a2e51-f1f1-4e11-a0a0-3edd7c162c25", + "version": "2.0", + "name": "qa", + "url": "http://max.zentao.com/caselib-browse-0.html", + "tests": [{ + "id": "f7fbb9a9-518e-4d56-ba39-90d4ef089040", + "name": "qa_index", + "commands": [{ + "id": "3773774f-a568-46eb-8658-221baa884ec6", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/qa/", + "targets": [], + "value": "" + }, { + "id": "f98872eb-9a48-427c-9d17-53f53ae9afb3", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "5f4f8d4d-d770-43e0-926b-bd52a1a63c0e", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "c519b3c9-d129-4f21-94ba-8c3fc6f7cbe3", + "comment": "", + "command": "click", + "target": "css=.dropdown:nth-child(1) > .panel-action > .icon", + "targets": [ + ["css=.dropdown:nth-child(1) > .panel-action > .icon", "css:finder"], + ["xpath=//div[@id='block123']/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "280df66e-9313-4ade-9d17-d0ad45f5cce4", + "comment": "", + "command": "click", + "target": "linkText=禅道产品线/禅道优秀版", + "targets": [ + ["linkText=禅道产品线/禅道优秀版", "linkText"], + ["css=#nav-6084da315d47a > li:nth-child(3) > a:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'禅道产品线/禅道优秀版')]", "xpath:link"], + ["xpath=//ul[@id='nav-6084da315d47a']/li[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[6]", "xpath:href"], + ["xpath=//div/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'禅道产品线/禅道优秀版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b354a746-a451-497e-90ab-567265e48395", + "comment": "", + "command": "click", + "target": "linkText=产品111", + "targets": [ + ["linkText=产品111", "linkText"], + ["css=#nav-6084da315d47a > li:nth-child(4) > a:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'产品111')]", "xpath:link"], + ["xpath=//ul[@id='nav-6084da315d47a']/li[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[7]", "xpath:href"], + ["xpath=//div/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'产品111')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "17dc9250-22c2-479a-951a-79495b4fbd17", + "comment": "", + "command": "click", + "target": "linkText=禅道多分支产品", + "targets": [ + ["linkText=禅道多分支产品", "linkText"], + ["css=#nav-6084da315d47a > li:nth-child(5) > a:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'禅道多分支产品')]", "xpath:link"], + ["xpath=//ul[@id='nav-6084da315d47a']/li[5]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[8]", "xpath:href"], + ["xpath=//div/ul/li[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'禅道多分支产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e626eaba-ade9-4aef-8da4-6e791d9601de", + "comment": "", + "command": "click", + "target": "css=.dropdown:nth-child(1) > .panel-action > .icon", + "targets": [ + ["css=.dropdown:nth-child(1) > .panel-action > .icon", "css:finder"], + ["xpath=//div[@id='block123']/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "fe1f0376-6b12-4b41-b8a3-7dda430e1c14", + "comment": "", + "command": "click", + "target": "css=.open > .dropdown-menu", + "targets": [ + ["css=.open > .dropdown-menu", "css:finder"], + ["xpath=//div[@id='block123']/div/nav/li/ul", "xpath:idRelative"], + ["xpath=//nav/li/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "682926ae-b073-4b20-ae22-a19a039580d0", + "comment": "", + "command": "click", + "target": "css=.dropdown:nth-child(1) > .panel-action", + "targets": [ + ["css=.dropdown:nth-child(1) > .panel-action", "css:finder"], + ["xpath=//div[@id='block123']/div/nav/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//nav/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "32fd3920-2446-4518-8271-3368d005a1df", + "comment": "", + "command": "click", + "target": "linkText=刷新", + "targets": [ + ["linkText=刷新", "linkText"], + ["css=.open .refresh-panel", "css:finder"], + ["xpath=//a[contains(text(),'刷新')]", "xpath:link"], + ["xpath=//div[@id='block123']/div/nav/li/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[4]", "xpath:href"], + ["xpath=//nav/li/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'刷新')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1b93cd4b-a80b-4d4f-8059-0ec7863bcbf3", + "comment": "", + "command": "click", + "target": "css=.dropdown:nth-child(1) > .panel-action > .icon", + "targets": [ + ["css=.dropdown:nth-child(1) > .panel-action > .icon", "css:finder"], + ["xpath=//div[@id='block123']/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a7ac4b1c-04f5-4289-866b-cd1bced81509", + "comment": "", + "command": "click", + "target": "linkText=编辑", + "targets": [ + ["linkText=编辑", "linkText"], + ["css=.open .edit-block", "css:finder"], + ["xpath=//a[contains(text(),'编辑')]", "xpath:link"], + ["xpath=//div[@id='block123']/div/nav/li/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/block-admin-123-qa.html')]", "xpath:href"], + ["xpath=//nav/li/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "93e5aea7-1eb9-4956-b7bb-40a2bcffc33d", + "comment": "", + "command": "click", + "target": "linkText=测试统计", + "targets": [ + ["linkText=测试统计", "linkText"], + ["css=.chosen-single-with-deselect", "css:finder"], + ["xpath=//div[@id='moduleBlock_chosen']/a", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,'测试统计')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3a391d48-d1ba-448f-953a-a4d7e0e20d25", + "comment": "", + "command": "click", + "target": "css=.result-selected", + "targets": [ + ["css=.result-selected", "css:finder"], + ["xpath=//div[@id='moduleBlock_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//form/div/div/div/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'测试统计')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4079af97-079b-4ff3-886f-744881627f9a", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//div[@id='blockParams']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "906a06cc-3dbf-4375-b80c-4cf591d44ecc", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//div[@id='blockParams']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "测试统计1" + }, { + "id": "d1a43c7f-5b28-4c43-a822-cb8a6a170b85", + "comment": "", + "command": "click", + "target": "css=.btn-primary", + "targets": [ + ["css=.btn-primary", "css:finder"], + ["xpath=//button[@type='submit']", "xpath:attributes"], + ["xpath=//form[@id='blockAdminForm']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "56159efa-e13c-49e5-8da7-3cc90c6012a9", + "comment": "", + "command": "click", + "target": "css=#block126 .icon-more", + "targets": [ + ["css=#block126 .icon-more", "css:finder"], + ["xpath=//div[@id='block126']/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//div[2]/div/nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "767e2ea4-2a91-4518-b930-f4687b783057", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/qa/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60213bf7-70d9-4102-b426-d8cae2627dcf", + "comment": "", + "command": "click", + "target": "css=#block124 .icon-more", + "targets": [ + ["css=#block124 .icon-more", "css:finder"], + ["xpath=//div[@id='block124']/div/nav/li/a/i", "xpath:idRelative"], + ["xpath=//div[2]/div/div/nav/li/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "2ba59170-b2d6-40ed-8f77-49e2da001e80", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "2dccc5a8-939e-4f50-a476-739dfb98a191", + "comment": "", + "command": "click", + "target": "css=#appBar-qa span", + "targets": [ + ["css=#appBar-qa span", "css:finder"], + ["xpath=//li[@id='appBar-qa']/a/span", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "db53b477-a7a2-4c26-9a22-07867fd4b265", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "1124a7e5-9c85-4a01-bb75-46627e541f0d", + "comment": "", + "command": "click", + "target": "css=.c-status > .tablesorter-header-inner", + "targets": [ + ["css=.c-status > .tablesorter-header-inner", "css:finder"], + ["xpath=//div[@id='block124']/div[2]/table/thead/tr/th[3]/div", "xpath:idRelative"], + ["xpath=//div[2]/div/div[2]/table/thead/tr/th[3]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "020a498f-7ecd-4a7a-b903-0ce9efe14a2e", + "comment": "", + "command": "click", + "target": "css=.tablesorter-headerRow > .c-name", + "targets": [ + ["css=.tablesorter-headerRow > .c-name", "css:finder"], + ["xpath=//div[@id='block124']/div[2]/table/thead/tr/th[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div[2]/table/thead/tr/th[2]", "xpath:position"], + ["xpath=//th[contains(.,'Bug标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8240b73b-70c3-4677-92a6-3d1b51e3a8e8", + "comment": "", + "command": "click", + "target": "css=.c-name > .tablesorter-header-inner", + "targets": [ + ["css=.c-name > .tablesorter-header-inner", "css:finder"], + ["xpath=//div[@id='block124']/div[2]/table/thead/tr/th[2]/div", "xpath:idRelative"], + ["xpath=//div[2]/div/div[2]/table/thead/tr/th[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "ce54f52c-5378-4832-ae98-08d59df7677a", + "comment": "", + "command": "click", + "target": "css=#block125 .panel-actions > li:nth-child(1) > a", + "targets": [ + ["css=#block125 .panel-actions > li:nth-child(1) > a", "css:finder"], + ["xpath=//div[@id='block125']/div/nav/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/my-work-testcase-assigntome.html')]", "xpath:href"], + ["xpath=//div[2]/div[2]/div/nav/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "d5be4473-4812-4d59-97d1-15d9c4d00570", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "755229ff-976e-400b-9417-f2ccd518fe7b", + "comment": "", + "command": "click", + "target": "css=#appBar-qa > .show-in-app", + "targets": [ + ["css=#appBar-qa > .show-in-app", "css:finder"], + ["xpath=//li[@id='appBar-qa']/a", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "3b1c1611-99cb-45bc-8caf-0e26373efd6c", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "9306d3f3-44bf-4684-b6f9-14dfc8c166ec", + "comment": "", + "command": "click", + "target": "css=#block128 .panel-actions > li:nth-child(1) > a", + "targets": [ + ["css=#block128 .panel-actions > li:nth-child(1) > a", "css:finder"], + ["xpath=//div[@id='block128']/div/nav/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-browse-wait.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/nav/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "6af98cb9-aa86-4f96-a50c-d4ed1b243bbd", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/qa/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f69b0494-37ae-44ad-bfa4-eb83da35354b", + "comment": "", + "command": "click", + "target": "css=.hoover > .text-left:nth-child(2) > a", + "targets": [ + ["css=.hoover > .text-left:nth-child(2) > a", "css:finder"], + ["xpath=(//a[contains(text(),'禅道开源版')])[2]", "xpath:link"], + ["xpath=//div[@id='block126']/div[2]/table/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/product-browse-1.html')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "6bf1ce8a-0913-4093-a1da-7ee8c4054b7e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ffc40026-7002-4943-9b1b-ddf8a2a7c730", + "comment": "", + "command": "click", + "target": "css=#appBar-qa span", + "targets": [ + ["css=#appBar-qa span", "css:finder"], + ["xpath=//li[@id='appBar-qa']/a/span", "xpath:idRelative"], + ["xpath=//div[3]/ul/li/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "ec807d15-87a5-4f42-8dc3-50c62e1bde38", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "ae9b36ca-4157-4b9b-afde-87845b796e1e", + "comment": "", + "command": "click", + "target": "linkText=测试单1", + "targets": [ + ["linkText=测试单1", "linkText"], + ["css=.clicked > .text-left:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'测试单1')]", "xpath:link"], + ["xpath=//div[@id='block126']/div[2]/table/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-view-2.html')]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试单1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b089291d-e94f-448a-965e-be0963c99c09", + "comment": "", + "command": "click", + "target": "css=.main-actions #back", + "targets": [ + ["css=.main-actions #back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=(//a[@id='back'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/qa.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "b2099a2e-a2c4-4779-ab99-71d5172c97e4", + "comment": "", + "command": "click", + "target": "linkText=禅道开源版", + "targets": [ + ["linkText=禅道开源版", "linkText"], + ["css=#nav-6084da7c59046 > li:nth-child(8) > a:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'禅道开源版')]", "xpath:link"], + ["xpath=//ul[@id='nav-6084da7c59046']/li[8]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[11]", "xpath:href"], + ["xpath=//div/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'禅道开源版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "673b695c-dd54-4b8b-b988-c2ae89a9934e", + "comment": "", + "command": "click", + "target": "linkText=15", + "targets": [ + ["linkText=15", "linkText"], + ["css=#bugBox1 .product-info:nth-child(1) a", "css:finder"], + ["xpath=//a[contains(text(),'15')]", "xpath:link"], + ["xpath=//div[@id='bugBox1']/div[2]/div/div[2]/div[2]/strong/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-browse-1--unresolved.html')]", "xpath:href"], + ["xpath=//div[7]/div[2]/div[2]/div/div[2]/div[2]/strong/a", "xpath:position"], + ["xpath=//a[contains(.,'15')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "846b400e-deff-490b-ac39-fd62060d43fb", + "comment": "", + "command": "click", + "target": "linkText=仪表盘", + "targets": [ + ["linkText=仪表盘", "linkText"], + ["css=#navbar li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'仪表盘')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/qa/')])[2]", "xpath:href"], + ["xpath=//li/a", "xpath:position"], + ["xpath=//a[contains(.,'仪表盘')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "75d29277-d6b5-4467-99f0-b8e9c0216df9", + "comment": "", + "command": "click", + "target": "css=#block126 .dropdown .icon", + "targets": [ + ["css=#block126 .dropdown .icon", "css:finder"], + ["xpath=//div[@id='block126']/div/nav/li[2]/a/i", "xpath:idRelative"], + ["xpath=//nav/li[2]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8ebaba68-543e-4b9a-af25-edc016eeaa85", + "comment": "", + "command": "click", + "target": "css=.col-main", + "targets": [ + ["css=.col-main", "css:finder"], + ["xpath=//div[@id='dashboard']/div/div", "xpath:idRelative"], + ["xpath=//main/div/div/div/div", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "9b87bc72-d2bb-4071-9c40-2633a54b08d5", + "name": "bug_browse", + "commands": [{ + "id": "f95359b3-9bb1-4eac-911b-4581376fc18a", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/bug-browse-1.html", + "targets": [], + "value": "" + }, { + "id": "a5bb17d4-5262-4154-8134-5c6248339701", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "1df94585-d76c-43e8-9572-5646f9e120ec", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "23f028d0-1914-43a6-bdbf-10834774f891", + "comment": "", + "command": "click", + "target": "css=.pull-left > .btn:nth-child(1) > .text", + "targets": [ + ["css=.pull-left > .btn:nth-child(1) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"], + ["xpath=//span[contains(.,'所有')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8b42525d-32ca-461d-a3d2-7ef783b05056", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > .text", + "targets": [ + ["css=.btn:nth-child(2) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[2]/span", "xpath:idRelative"], + ["xpath=//a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'未关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b0271992-928e-4e2f-8943-506ab00a7705", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(3) > .text", + "targets": [ + ["css=.btn:nth-child(3) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[3]/span", "xpath:idRelative"], + ["xpath=//a[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'由我创建')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c169147b-6b31-43af-a1b1-dd20096f028a", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(4) > .text", + "targets": [ + ["css=.btn:nth-child(4) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'指派给我')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d9d1b77a-ec77-4026-a459-b33a3316ad41", + "comment": "", + "command": "click", + "target": "linkText=由我解决", + "targets": [ + ["linkText=由我解决", "linkText"], + ["css=.btn-link:nth-child(5)", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-browse-1-0-resolvedbyme.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"], + ["xpath=//a[contains(.,'由我解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "689330a6-8a67-440e-be74-3607e897e5a7", + "comment": "", + "command": "click", + "target": "linkText=待关闭", + "targets": [ + ["linkText=待关闭", "linkText"], + ["css=.btn:nth-child(6)", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[6]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-browse-1-0-toclosed.html')]", "xpath:href"], + ["xpath=//a[6]", "xpath:position"], + ["xpath=//a[contains(.,'待关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ebacd71c-e700-4764-8f87-805921db6421", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(7) > .text", + "targets": [ + ["css=.btn:nth-child(7) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[7]/span", "xpath:idRelative"], + ["xpath=//a[7]/span", "xpath:position"], + ["xpath=//span[contains(.,'未解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5da21613-6150-4eb9-a940-5f2bf41a27a1", + "comment": "", + "command": "click", + "target": "linkText=更多", + "targets": [ + ["linkText=更多", "linkText"], + ["css=.btn-group:nth-child(8) > .btn", "css:finder"], + ["xpath=//a[contains(text(),'更多')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//div[2]/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'更多 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a2cefc87-19a4-4a37-947b-e6a7f7660c2c", + "comment": "", + "command": "click", + "target": "linkText=来自反馈", + "targets": [ + ["linkText=来自反馈", "linkText"], + ["css=li:nth-child(7) > .btn", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[7]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-browse-1-0-feedback.html')]", "xpath:href"], + ["xpath=//div/ul/li[7]/a", "xpath:position"], + ["xpath=//a[contains(.,'来自反馈')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b0d48918-9cb3-4b77-b466-d2afa5ca048c", + "comment": "", + "command": "click", + "target": "css=.btn-group > .btn-active-text > .text", + "targets": [ + ["css=.btn-group > .btn-active-text > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'来自反馈')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84604c2a-c35f-4fe5-9a62-398c972d1643", + "comment": "", + "command": "click", + "target": "css=li:nth-child(6) .text", + "targets": [ + ["css=li:nth-child(6) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[6]/a/span", "xpath:idRelative"], + ["xpath=//li[6]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'软件需求变动')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0d437f8c-a305-452b-bf33-6ae2eb42ffc7", + "comment": "", + "command": "click", + "target": "css=.btn-group > .btn-active-text > .text", + "targets": [ + ["css=.btn-group > .btn-active-text > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'软件需求变动')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b8429cb-6bd5-46fd-9d67-7567e9e2f6a5", + "comment": "", + "command": "click", + "target": "css=li:nth-child(5) .text", + "targets": [ + ["css=li:nth-child(5) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[5]/a/span", "xpath:idRelative"], + ["xpath=//li[5]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'过期Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8670526d-e2fa-4181-95e4-290fdbe383e3", + "comment": "", + "command": "click", + "target": "css=.btn-info > .icon", + "targets": [ + ["css=.btn-info > .icon", "css:finder"], + ["xpath=//div[@id='mainContent']/div[2]/div[2]/p/a/i", "xpath:idRelative"], + ["xpath=//p/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "ba627264-d82c-4aca-b903-d809c962086a", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a9a99de4-36e5-4a3f-8560-8f031fdb2274", + "comment": "", + "command": "click", + "target": "css=.btn-group > .btn-active-text > .text", + "targets": [ + ["css=.btn-group > .btn-active-text > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'过期Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fe7ec258-f31b-41ec-9204-1032c4dfecd5", + "comment": "", + "command": "click", + "target": "css=li:nth-child(4) .text", + "targets": [ + ["css=li:nth-child(4) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[4]/a/span", "xpath:idRelative"], + ["xpath=//li[4]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'被延期')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2970f64e-432e-471b-99c0-44ce793073c2", + "comment": "", + "command": "click", + "target": "css=.label", + "targets": [ + ["css=.label", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span[2]", "xpath:idRelative"], + ["xpath=//a/span[2]", "xpath:position"], + ["xpath=//span[contains(.,'0')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dba27053-a1e3-4c16-9c9d-efdb5791ba21", + "comment": "", + "command": "click", + "target": "css=li:nth-child(3) .text", + "targets": [ + ["css=li:nth-child(3) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[3]/a/span", "xpath:idRelative"], + ["xpath=//li[3]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'久未处理')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9de781a3-32f1-4629-8465-a7397398f40d", + "comment": "", + "command": "click", + "target": "css=.btn-group > .btn-active-text > .text", + "targets": [ + ["css=.btn-group > .btn-active-text > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'久未处理')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "609378fe-878e-457b-a7e7-0118f402138e", + "comment": "", + "command": "click", + "target": "css=li:nth-child(2) .text", + "targets": [ + ["css=li:nth-child(2) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li[2]/a/span", "xpath:idRelative"], + ["xpath=//li[2]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'未指派')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "972f7503-eb2a-4180-ac2a-057f226cb110", + "comment": "", + "command": "click", + "target": "css=.btn-group > .btn-active-text > .text", + "targets": [ + ["css=.btn-group > .btn-active-text > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'未指派')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "44ec6d1b-6085-48be-aa7f-55c3f9e5d96d", + "comment": "", + "command": "click", + "target": "css=li:nth-child(1) .text", + "targets": [ + ["css=li:nth-child(1) .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/div/ul/li/a/span", "xpath:idRelative"], + ["xpath=//li/a/span", "xpath:position"], + ["xpath=//span[contains(.,'未确认')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "81d58613-938e-42ae-8cc5-3b472e8dada1", + "comment": "", + "command": "click", + "target": "id=bysearchTab", + "targets": [ + ["id=bysearchTab", "id"], + ["linkText=搜索", "linkText"], + ["css=#bysearchTab", "css:finder"], + ["xpath=//a[contains(text(),'搜索')]", "xpath:link"], + ["xpath=//a[@id='bysearchTab']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a[8]", "xpath:idRelative"], + ["xpath=//a[8]", "xpath:position"], + ["xpath=//a[contains(.,' 搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0cbcdf82-08c8-4e3c-8287-1359edf89c60", + "comment": "", + "command": "click", + "target": "css=.w-400px:nth-child(1)", + "targets": [ + ["css=.w-400px:nth-child(1)", "css:finder"], + ["xpath=//table[@id='bug-search']/tbody/tr/td", "xpath:idRelative"], + ["xpath=//div[2]/div/form/table/tbody/tr/td", "xpath:position"] + ], + "value": "" + }, { + "id": "6234dcf9-9b07-4e3f-88c1-6acde38cc636", + "comment": "", + "command": "type", + "target": "id=value1", + "targets": [ + ["id=value1", "id"], + ["name=value1", "name"], + ["css=#value1", "css:finder"], + ["xpath=//input[@id='value1']", "xpath:attributes"], + ["xpath=//td[@id='valueBox1']/input", "xpath:idRelative"], + ["xpath=//td[4]/input", "xpath:position"] + ], + "value": "2" + }, { + "id": "765bdc78-f1da-4dec-af4b-1eeee86b8c66", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='bug-search']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//div[2]/div/form/table/tbody/tr[2]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c652ef51-adce-4845-a6d4-ae14a8581cc9", + "comment": "", + "command": "click", + "target": "css=#toggle-queries > .icon", + "targets": [ + ["css=#toggle-queries > .icon", "css:finder"], + ["xpath=//div[@id='toggle-queries']/i", "xpath:idRelative"], + ["xpath=//div[2]/div/div/i", "xpath:position"] + ], + "value": "" + }, { + "id": "7a3b41ea-ea36-4035-925b-7e4084403e85", + "comment": "", + "command": "click", + "target": "css=#toggle-queries > .icon", + "targets": [ + ["css=#toggle-queries > .icon", "css:finder"], + ["xpath=//div[@id='toggle-queries']/i", "xpath:idRelative"], + ["xpath=//div[2]/div/div/i", "xpath:position"] + ], + "value": "" + }, { + "id": "9bf012f7-90b0-4fb2-b294-a0042a76918f", + "comment": "", + "command": "click", + "target": "css=.icon-chevron-double-down", + "targets": [ + ["css=.icon-chevron-double-down", "css:finder"], + ["xpath=//table[@id='bug-search']/tbody/tr[2]/td/button[3]/i", "xpath:idRelative"], + ["xpath=//button[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a1b68629-c7b5-4757-ac0c-0555d590ebe1", + "comment": "", + "command": "click", + "target": "css=.icon-chevron-double-down", + "targets": [ + ["css=.icon-chevron-double-down", "css:finder"], + ["xpath=//table[@id='bug-search']/tbody/tr[2]/td/button[3]/i", "xpath:idRelative"], + ["xpath=//button[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4cc4a01a-a9f1-409d-a66a-a0591e759a5c", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > .text", + "targets": [ + ["css=.btn:nth-child(2) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[2]/a[2]/span", "xpath:idRelative"], + ["xpath=//a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'未关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ff688339-d6e2-462a-9ea1-2fcc094ac073", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='bugForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ecbdc25-255b-4e08-8164-8dac3244d277", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='bugForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de7a471d-405b-45f2-8bf8-2584e8483df3", + "comment": "", + "command": "click", + "target": "id=bugIDList33", + "targets": [ + ["id=bugIDList33", "id"], + ["name=bugIDList[]", "name"], + ["css=#bugIDList33", "css:finder"], + ["xpath=//input[@id='bugIDList33']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9548a167-61a9-451e-a154-49cf39e0d8ee", + "comment": "", + "command": "click", + "target": "id=bugIDList32", + "targets": [ + ["id=bugIDList32", "id"], + ["css=#bugIDList32", "css:finder"], + ["xpath=//input[@id='bugIDList32']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "479931df-8117-4f4d-aa09-b22837a63a26", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "b93480f4-e5c6-456b-8c97-aa8611cf8ba3", + "comment": "", + "command": "click", + "target": "linkText=自定义列", + "targets": [ + ["linkText=自定义列", "linkText"], + ["css=.open li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='bugForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-bug-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "878f3ad4-7154-456e-abd0-dd431bd5d8e0", + "comment": "", + "command": "click", + "target": "css=.fixed-no:nth-child(5)", + "targets": [ + ["css=.fixed-no:nth-child(5)", "css:finder"], + ["xpath=//div[@id='colsFixedFlex']/div[5]", "xpath:idRelative"], + ["xpath=//div[2]/div[5]", "xpath:position"] + ], + "value": "" + }, { + "id": "c853043a-775d-434a-88aa-169c13bada53", + "comment": "", + "command": "click", + "target": "css=.fixed-no:nth-child(5) label", + "targets": [ + ["css=.fixed-no:nth-child(5) label", "css:finder"], + ["xpath=//div[@id='colsFixedFlex']/div[5]/div[2]/label", "xpath:idRelative"], + ["xpath=//div[2]/div[5]/div[2]/label", "xpath:position"] + ], + "value": "" + }, { + "id": "e0e77faf-4f71-4b0c-8755-2a38bb3539e7", + "comment": "", + "command": "click", + "target": "css=.clearfix:nth-child(6) label", + "targets": [ + ["css=.clearfix:nth-child(6) label", "css:finder"], + ["xpath=//div[@id='colsFixedFlex']/div[6]/div[2]/label", "xpath:idRelative"], + ["xpath=//div[6]/div[2]/label", "xpath:position"] + ], + "value": "" + }, { + "id": "31d6b5fb-fd49-428d-9fef-5226d0e80a7e", + "comment": "", + "command": "click", + "target": "id=btnSaveCustom", + "targets": [ + ["id=btnSaveCustom", "id"], + ["css=#btnSaveCustom", "css:finder"], + ["xpath=//button[@id='btnSaveCustom']", "xpath:attributes"], + ["xpath=//div[@id='customDatatable']/div/div[2]/div[4]/button", "xpath:idRelative"], + ["xpath=//div[4]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "e71cef33-3c81-4a5d-9ffa-1ca38af050ad", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c3f43acd-9a2d-42a8-9346-477d0e6a472e", + "comment": "", + "command": "click", + "target": "linkText=自定义列", + "targets": [ + ["linkText=自定义列", "linkText"], + ["css=.open li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='bugForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-bug-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ad23b4c3-a19a-4a2b-b915-9b3c853cb27e", + "comment": "", + "command": "click", + "target": "id=resetBtn", + "targets": [ + ["id=resetBtn", "id"], + ["css=#resetBtn", "css:finder"], + ["xpath=//button[@id='resetBtn']", "xpath:attributes"], + ["xpath=//div[@id='customDatatable']/div/div[2]/div[4]/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"], + ["xpath=//button[contains(.,'恢复默认')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "db382036-c7f3-4751-ba82-67d885e91e5f", + "comment": "", + "command": "click", + "target": "id=tableCustomBtn", + "targets": [ + ["id=tableCustomBtn", "id"], + ["css=#tableCustomBtn", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div/nav/div/button", "xpath:idRelative"], + ["xpath=//nav/div/button", "xpath:position"] + ], + "value": "" + }, { + "id": "1cf5885f-dbff-493e-b28e-d45a2e4a1109", + "comment": "", + "command": "click", + "target": "id=switchToDatatable", + "targets": [ + ["id=switchToDatatable", "id"], + ["linkText=切换到高级表格", "linkText"], + ["css=#switchToDatatable", "css:finder"], + ["xpath=//a[contains(text(),'切换到高级表格')]", "xpath:link"], + ["xpath=//a[@id='switchToDatatable']", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div/nav/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:saveDatatableConfig(\"mode\", \"datatable\", true);')]", "xpath:href"], + ["xpath=//nav/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'切换到高级表格')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d0207d1c-ef02-4fab-b1c4-41659cf135da", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "7ae256fc-ce24-49cc-98c8-c6ae45986144", + "comment": "", + "command": "click", + "target": "id=switchToDatatable", + "targets": [ + ["id=switchToDatatable", "id"], + ["linkText=切换到简单表格", "linkText"], + ["css=#switchToDatatable", "css:finder"], + ["xpath=//a[contains(text(),'切换到简单表格')]", "xpath:link"], + ["xpath=//a[@id='switchToDatatable']", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div/nav/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:saveDatatableConfig(\"mode\", \"table\", true);')]", "xpath:href"], + ["xpath=//nav/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'切换到简单表格')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "0ae6f660-17e1-4f0e-97dd-0d536e1b75c0", + "name": "bug_browse_actions", + "commands": [{ + "id": "f37e2929-c78b-4e20-9753-3d5a4fc53a6a", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/bug-browse-1.html", + "targets": [], + "value": "" + }, { + "id": "ed00e379-26cb-4646-9070-5f674a684bde", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "0531cc2d-0bc1-4472-83fe-021cc9e39a45", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "1b6d36d2-dbaf-4696-adbd-a563e463f88c", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .icon-bug-confirmBug", + "targets": [ + ["css=tr:nth-child(3) .icon-bug-confirmBug", "css:finder"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[11]/a/i", "xpath:idRelative"], + ["xpath=//tr[3]/td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a4728f1c-6ca3-42eb-a257-c56be2d47475", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "20a25d80-9707-468f-9066-0a2372b3bab0", + "comment": "", + "command": "mouseDown", + "target": "css=#assignedTo_chosen span", + "targets": [ + ["css=#assignedTo_chosen span", "css:finder"], + ["xpath=//div[@id='assignedTo_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "e89c8125-cf5f-4136-b488-8c63c9891c1e", + "comment": "", + "command": "mouseUp", + "target": "css=#assignedTo_chosen input", + "targets": [ + ["css=#assignedTo_chosen input", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='assignedTo_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "7e02c904-4655-47fb-8048-1db2f6ccd770", + "comment": "", + "command": "click", + "target": "css=#assignedTo_chosen > .chosen-single", + "targets": [ + ["css=#assignedTo_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='assignedTo_chosen']/a", "xpath:idRelative"], + ["xpath=//a", "xpath:position"] + ], + "value": "" + }, { + "id": "cc97d6a0-c36c-4174-a59f-f5ca9cf7d6d9", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='assignedTo_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//li[2]", "xpath:position"], + ["xpath=//li[contains(.,'D:开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3dc2aa29-064c-4b34-99b6-bfdfd5866df7", + "comment": "", + "command": "mouseDown", + "target": "css=#type_chosen span", + "targets": [ + ["css=#type_chosen span", "css:finder"], + ["xpath=//div[@id='type_chosen']/a/span", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "be42b279-f4d4-4d95-ae6d-9d1907367e90", + "comment": "", + "command": "mouseUp", + "target": "css=#type_chosen input", + "targets": [ + ["css=#type_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[2]", "xpath:attributes"], + ["xpath=//div[@id='type_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a6dc0830-152e-451a-9585-822961aabc0c", + "comment": "", + "command": "click", + "target": "css=#type_chosen > .chosen-single", + "targets": [ + ["css=#type_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='type_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "52659b9c-61f6-4798-80de-44d46a87af7f", + "comment": "", + "command": "click", + "target": "css=#type_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#type_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='type_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'配置相关')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "07d8cff7-da78-43ed-ae9f-361102174ee7", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-default > span", + "targets": [ + ["css=.chosen-default > span", "css:finder"], + ["xpath=//div[@id='pri_chosen']/a/span", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "77212e6a-6d8f-4f28-9d07-74296ef0e350", + "comment": "", + "command": "mouseUp", + "target": "css=.chosen-search:nth-child(3) > input", + "targets": [ + ["css=.chosen-search:nth-child(3) > input", "css:finder"], + ["xpath=(//input[@type='text'])[3]", "xpath:attributes"], + ["xpath=//div[@id='pri_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c45092b9-8652-4935-a563-746310b1f26e", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='pri_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "d9f977a9-fcde-4fba-9711-f49c4134765e", + "comment": "", + "command": "click", + "target": "css=#pri_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#pri_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='pri_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "fd1c227b-e096-43de-9e40-a9a96e288033", + "comment": "", + "command": "click", + "target": "css=.chosen-choices", + "targets": [ + ["css=.chosen-choices", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/ul", "xpath:idRelative"], + ["xpath=//td/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "829f83d0-3b55-460e-a9ce-0ab159d7d38e", + "comment": "", + "command": "click", + "target": "css=#mailto_chosen > .chosen-drop li:nth-child(2)", + "targets": [ + ["css=#mailto_chosen > .chosen-drop li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[5]/td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "00d155c6-1beb-4af1-a9bc-6f1b7d40f5c1", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "5e062a8f-b205-4066-80f0-65c8f3fe7b0c", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "569b7214-bb86-4bc3-b728-d9a059d2efe3", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "5f98ff9c-3033-44dd-916f-9e26851232d5", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a05b1690-3518-4d86-b87b-c38b192ee67e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "84f2b08c-e600-47ae-af84-a9c01c0d8daf", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .icon-bug-resolve", + "targets": [ + ["css=tr:nth-child(3) .icon-bug-resolve", "css:finder"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[11]/a/i", "xpath:idRelative"], + ["xpath=//tr[3]/td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8f1d1dc8-88f1-44e4-a3e2-6c41691e243e", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "a356568e-a57d-400b-8597-feb1155f4e23", + "comment": "", + "command": "mouseDown", + "target": "css=#resolution_chosen span", + "targets": [ + ["css=#resolution_chosen span", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "9cad41af-f9d9-4fe3-bf00-2f41a6ab91d1", + "comment": "", + "command": "mouseUp", + "target": "css=#resolution_chosen input", + "targets": [ + ["css=#resolution_chosen input", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='resolution_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "6c48c38f-c662-4e73-9f49-fc7ba0f916d8", + "comment": "", + "command": "click", + "target": "css=#resolution_chosen > .chosen-single", + "targets": [ + ["css=#resolution_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a", "xpath:idRelative"], + ["xpath=//a", "xpath:position"] + ], + "value": "" + }, { + "id": "de3cf751-4711-409e-ab74-97da9fc3a10c", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(4)", + "targets": [ + ["css=.active-result:nth-child(4)", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/div/ul/li[4]", "xpath:idRelative"], + ["xpath=//li[4]", "xpath:position"], + ["xpath=//li[contains(.,'已解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d22efbc0-b6d9-4c8b-86d6-35dd21a23665", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='resolvedBuild_chosen']/a", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "838980d3-8d6b-4781-8961-a82922463b07", + "comment": "", + "command": "click", + "target": "css=#resolvedBuild_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#resolvedBuild_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='resolvedBuild_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/div/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'敏捷迭代版本')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "02908c1b-9dff-402e-834b-b789364c0374", + "comment": "", + "command": "click", + "target": "css=.text-center", + "targets": [ + ["css=.text-center", "css:finder"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[9]/td", "xpath:idRelative"], + ["xpath=//tr[9]/td", "xpath:position"], + ["xpath=//td[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9f929dec-6225-4c89-a251-24b757fae4a3", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[9]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de3c5bc6-48a0-43b7-b0b3-78c2b787692e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "d1da9104-bf97-4faa-b627-0f1e143d8eb3", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .icon-bug-close", + "targets": [ + ["css=tr:nth-child(3) .icon-bug-close", "css:finder"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[11]/a/i", "xpath:idRelative"], + ["xpath=//tr[3]/td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4010fa38-c90e-4fac-9e2f-f7402ddcad12", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "5ab3ef68-7b84-4218-9f00-def8658f9896", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "310af52e-08b9-46fc-9428-50e297aad0fc", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "c63f1d5b-5d16-40ab-b090-f976e6dbe9fe", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "00f90682-7810-4264-8c39-6e686c442099", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b1b416fe-ff95-4690-8420-61a4a7ddede6", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "7972a661-66cf-47d2-b73e-22f132d92c46", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .icon-common-edit", + "targets": [ + ["css=tr:nth-child(3) .icon-common-edit", "css:finder"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[11]/a[3]/i", "xpath:idRelative"], + ["xpath=//tr[3]/td[11]/a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "03e39f34-1f96-4b11-80ae-54d88a4029f1", + "comment": "", + "command": "click", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div[2]/div/div/table/tbody/tr[13]/td/input", "xpath:idRelative"], + ["xpath=//tr[13]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "03cc41bc-895d-4c5e-b9b5-02fcfcaf1bca", + "comment": "", + "command": "type", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div[2]/div/div/table/tbody/tr[13]/td/input", "xpath:idRelative"], + ["xpath=//tr[13]/td/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "f6230c04-4fab-40c3-b353-24196b363854", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div/div/div[5]/button", "xpath:idRelative"], + ["xpath=//div[5]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c32681f3-3687-40c1-ad54-2d2125098414", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/bug-browse-1.html')])[3]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "95b0c5bd-6248-4c66-baa4-b49ade727498", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(3) .icon-common-copy", + "targets": [ + ["css=tr:nth-child(3) .icon-common-copy", "css:finder"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[11]/a[4]/i", "xpath:idRelative"], + ["xpath=//a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8a56385e-c860-483a-8ee5-c753decf3055", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=.input-control > #title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[5]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "d4b0a551-764c-457a-904b-173ae038bb61", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=.input-control > #title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[5]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "331" + }, { + "id": "68194698-d91b-4e92-aa8c-c67b217bd884", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3e21ee3d-c331-4e30-9c00-68aa6423d016", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "9a5ca57b-f56a-4a0b-970c-37d04ddb6287", + "comment": "", + "command": "runScript", + "target": "window.scrollTo(0,176)", + "targets": [], + "value": "" + }, { + "id": "c39d30b3-008c-45b3-b4d9-97aaa2d08a1a", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "7810aeef-bfd0-4434-b341-d084e5e0ef2b", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "85b70099-e15a-4e78-b919-2f38114f7651", + "comment": "", + "command": "click", + "target": "css=.dropup > .btn:nth-child(2)", + "targets": [ + ["css=.dropup > .btn:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[44]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//div/button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "af902d1b-bdc6-4037-887b-d1b1cc2957fc", + "comment": "", + "command": "click", + "target": "css=.open > .dropdown-menu > li:nth-child(1) > a", + "targets": [ + ["css=.open > .dropdown-menu > li:nth-child(1) > a", "css:finder"], + ["xpath=(//a[contains(text(),'确认')])[3]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/bug-batchConfirm.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[4]", "xpath:href"], + ["xpath=//div[3]/div[2]/div/ul/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "0e7abdc7-7ea2-4feb-8d20-60292805c103", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "8e09a4f3-d6dd-4b5b-bc96-bd9a0a77df40", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b1386fe6-a1e7-40e1-adb9-38709c65dc82", + "comment": "", + "command": "click", + "target": "css=.dropup > .btn:nth-child(2) > .caret", + "targets": [ + ["css=.dropup > .btn:nth-child(2) > .caret", "css:finder"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/button[2]/span", "xpath:idRelative"], + ["xpath=//button[2]/span", "xpath:position"] + ], + "value": "" + }, { + "id": "5d941407-34af-4953-8434-1381b9b31f10", + "comment": "", + "command": "click", + "target": "linkText=关闭", + "targets": [ + ["linkText=关闭", "linkText"], + ["css=.open > .dropdown-menu > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'关闭')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/bug-batchClose.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[5]", "xpath:href"], + ["xpath=//div[3]/div[2]/div/ul/li[2]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "85e45aed-391d-4c08-a84a-f2b7cddf28e0", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "5b63827d-bd87-480c-a57d-91cd2dc2fe93", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "831bfa03-837a-437d-aaf1-b64e2faf552f", + "comment": "", + "command": "click", + "target": "css=.dropup > .btn:nth-child(2)", + "targets": [ + ["css=.dropup > .btn:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[44]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//div/button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "db3c6a6b-653b-41cc-bda7-a094f928bebc", + "comment": "", + "command": "click", + "target": "linkText=激活", + "targets": [ + ["linkText=激活", "linkText"], + ["css=.dropdown-menu:nth-child(3) > li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'激活')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/bug-batchActivate-1-0.html')\"]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/ul/li[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[6]", "xpath:href"], + ["xpath=//div[3]/div[2]/div/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'激活')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "58954e6c-6aab-4122-a66f-4592b4b68342", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2626dd0e-e6c3-4190-a95c-18f61683e466", + "comment": "", + "command": "runScript", + "target": "window.scrollTo(0,267)", + "targets": [], + "value": "" + }, { + "id": "a20e2fda-bde4-4a36-88ce-4f759d94d93c", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "901fcafd-9eba-4805-a773-fe4ceca1914c", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "b0d51b48-4746-436f-b221-641c7851d62c", + "comment": "", + "command": "click", + "target": "css=.dropup > .btn:nth-child(2)", + "targets": [ + ["css=.dropup > .btn:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[44]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//div/button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "5119e1bb-499c-439c-8b64-dd78aecf0465", + "comment": "", + "command": "click", + "target": "linkText=不予解决", + "targets": [ + ["linkText=不予解决", "linkText"], + ["css=.dropdown-submenu:nth-child(4) li:nth-child(6) > a", "css:finder"], + ["xpath=//a[contains(text(),'不予解决')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/bug-batchResolve-willnotfix.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div/ul/li[4]/ul/li[6]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[18]", "xpath:href"], + ["xpath=//li[4]/ul/li[6]/a", "xpath:position"], + ["xpath=//a[contains(.,'不予解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dbae00c4-1aec-447f-890b-ab6fd35b63a6", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a3f07e24-1738-4f0f-a51a-eed747cc7f45", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3ad3284b-677f-4d6d-8006-067792ca61fb", + "comment": "", + "command": "click", + "target": "css=.dropup:nth-child(2) > .btn", + "targets": [ + ["css=.dropup:nth-child(2) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[45]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'模块 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ab49231-6749-4067-85cc-d87dd03181ed", + "comment": "", + "command": "click", + "target": "linkText=/模块1", + "targets": [ + ["linkText=/模块1", "linkText"], + ["css=.open a:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'/模块1')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/bug-batchChangeModule-51.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div[2]/div/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], + ["xpath=//div[2]/div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'/模块1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "45ce60cc-8069-48eb-a251-87c52de93faf", + "comment": "", + "command": "click", + "target": "id=bugIDList3", + "targets": [ + ["id=bugIDList3", "id"], + ["css=#bugIDList3", "css:finder"], + ["xpath=//input[@id='bugIDList3']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[20]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[20]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "757b2bb9-9d69-4117-89f6-7b999c0e98c5", + "comment": "", + "command": "click", + "target": "id=bugIDList4", + "targets": [ + ["id=bugIDList4", "id"], + ["css=#bugIDList4", "css:finder"], + ["xpath=//input[@id='bugIDList4']", "xpath:attributes"], + ["xpath=//table[@id='bugList']/tbody/tr[19]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[19]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "0647161f-5e42-4d03-9f97-51217c22129f", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(3) > .btn", + "targets": [ + ["css=.btn-group:nth-child(3) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[46]", "xpath:attributes"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div[3]/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'指派给 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e95f9652-b8c3-4a7d-8c52-186ebb8142a2", + "comment": "", + "command": "click", + "target": "linkText=开发2", + "targets": [ + ["linkText=开发2", "linkText"], + ["css=.open a:nth-child(4)", "css:finder"], + ["xpath=//a[contains(text(),'开发2')]", "xpath:link"], + ["xpath=//form[@id='bugForm']/div[3]/div[2]/div[3]/div/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:$(\"#assignedTo\").val(\"dev2\");setFormAction(\"/bug-batchAssignTo-1-product.html\", \"hiddenwin\")')]", "xpath:href"], + ["xpath=//div[3]/div/div/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'开发2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d4652f85-8901-4bbf-9fc7-98bd483f156a", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle > .text", + "targets": [ + ["css=.dropdown-toggle > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button/span", "xpath:idRelative"], + ["xpath=//div[3]/div/button/span", "xpath:position"], + ["xpath=//span[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "deedd034-d283-44ec-b47d-57fa08daa7d3", + "comment": "", + "command": "click", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=.export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-export-1-id_desc-unclosed.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e31c7778-3fa0-4715-b6ce-655f2c19361e", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "24cfbdf4-7e26-4843-a3ef-8de8bfe7cd5b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//tr[7]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ce50977f-eb48-4043-8e30-55b10180040b", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "61b16ef9-bac8-48e3-afff-2a2dcad1a918", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle > .text", + "targets": [ + ["css=.dropdown-toggle > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button/span", "xpath:idRelative"], + ["xpath=//div[3]/div/button/span", "xpath:position"], + ["xpath=//span[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "57a614cb-4879-4821-b001-cfa96b337f2f", + "comment": "", + "command": "click", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=.exportTemplet", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-exportTemplet-1-0.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "351133fd-76ce-4be7-8a9f-a137e85aaf4b", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "ae2bcead-5dd0-436d-a2e3-4b3c8c3d990f", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0314f863-9b12-49c9-9a79-ffcafc9d22de", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "87d0edb6-deda-4f45-a28e-539b4beebe93", + "comment": "", + "command": "click", + "target": "linkText=导入", + "targets": [ + ["linkText=导入", "linkText"], + ["css=.import", "css:finder"], + ["xpath=//a[contains(text(),'导入')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-import-1-0.html')]", "xpath:href"], + ["xpath=//div[3]/a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 导入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0d48871b-6d52-4036-949f-19f24f0d5597", + "comment": "", + "command": "click", + "target": "css=.modal-dialog:nth-child(2) .close", + "targets": [ + ["css=.modal-dialog:nth-child(2) .close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "03203236-1b09-47bc-b17f-09468797fc23", + "name": "bug_view", + "commands": [{ + "id": "18604dcc-5613-468e-8cb0-219d668938b5", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/bug-browse-1.html", + "targets": [], + "value": "" + }, { + "id": "2ddc3adf-96f5-4909-91dd-e9f16bd90873", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "511142bb-de59-4973-8070-9d9d297eac00", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "c02f8da7-bbe6-49ca-9c9c-d495b3f4d64f", + "comment": "", + "command": "click", + "target": "linkText=11", + "targets": [ + ["linkText=11", "linkText"], + ["css=tr:nth-child(3) > .c-title > a", "css:finder"], + ["xpath=//a[contains(text(),'11')]", "xpath:link"], + ["xpath=//table[@id='bugList']/tbody/tr[3]/td[5]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/bug-view-28.html')])[2]", "xpath:href"], + ["xpath=//tr[3]/td[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'11')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "326fcbee-8b20-44b1-aa6a-73a3422e1223", + "comment": "", + "command": "click", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-bug-28.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "677303db-3169-4ea0-b758-acb94b556a28", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "927f5383-7b40-40af-babc-e3ae4cf79b5a", + "comment": "", + "command": "click", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "0438b2ae-7ae9-49dd-9dff-76f854d114f7", + "comment": "", + "command": "type", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "b1f07178-50c3-4c1b-8ad6-06f5ff834d45", + "comment": "", + "command": "click", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "eeedfd93-a963-41fe-9db5-492b944e2004", + "comment": "", + "command": "type", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "1" + }, { + "id": "b7a041a8-bd43-4344-9810-f6e0cedc9be3", + "comment": "", + "command": "click", + "target": "css=.text-center", + "targets": [ + ["css=.text-center", "css:finder"], + ["xpath=//div[@id='mainContent']/form/table/tfoot/tr/td", "xpath:idRelative"], + ["xpath=//tfoot/tr/td", "xpath:position"], + ["xpath=//td[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "efab3c17-1d98-4d1c-a41b-acbe18c76f72", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3ab16f3e-8d0c-41c2-91af-f38915010d47", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "cfff5073-0c54-46a3-a66e-ce7882f0e4f4", + "comment": "", + "command": "click", + "target": "linkText=确认", + "targets": [ + ["linkText=确认", "linkText"], + ["css=.btn:nth-child(4)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-confirmBug-28.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,' 确认')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "48f73c19-7693-45ee-8155-d704f98d0512", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "11da3b46-f66b-4b51-aadf-260ca2718cff", + "comment": "", + "command": "click", + "target": "css=#assignedTo_chosen > .chosen-single", + "targets": [ + ["css=#assignedTo_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='assignedTo_chosen']/a", "xpath:idRelative"], + ["xpath=//a", "xpath:position"] + ], + "value": "" + }, { + "id": "dd3b7c82-45e1-4449-9427-bac8796e4a17", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='assignedTo_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//li[2]", "xpath:position"], + ["xpath=//li[contains(.,'D:开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d464c500-a2c2-40be-aa52-29efaba38f5b", + "comment": "", + "command": "click", + "target": "css=#type_chosen > .chosen-single", + "targets": [ + ["css=#type_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='type_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "2a35501f-2588-4ae1-b0d9-f0ed0f30306c", + "comment": "", + "command": "click", + "target": "css=#type_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#type_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='type_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'配置相关')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f9b6f076-1552-4537-abc2-d72def4c5c0a", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-default > span", + "targets": [ + ["css=.chosen-default > span", "css:finder"], + ["xpath=//div[@id='pri_chosen']/a/span", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "3bb754e5-f9e3-458e-9fc8-4f0052283928", + "comment": "", + "command": "mouseUp", + "target": "css=.chosen-search:nth-child(3) > input", + "targets": [ + ["css=.chosen-search:nth-child(3) > input", "css:finder"], + ["xpath=(//input[@type='text'])[3]", "xpath:attributes"], + ["xpath=//div[@id='pri_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c3b47a00-506b-47b4-bf93-50ffc4882b7c", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='pri_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "87f3b9ce-ed02-4e95-bf33-a8221dd0007d", + "comment": "", + "command": "click", + "target": "css=#pri_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#pri_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='pri_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "23c9e7af-f41a-4491-8293-4301cf4f61f4", + "comment": "", + "command": "click", + "target": "css=.chosen-choices", + "targets": [ + ["css=.chosen-choices", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/ul", "xpath:idRelative"], + ["xpath=//td/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "c2313b17-a46c-4b53-b7a9-3d6ccc926b03", + "comment": "", + "command": "click", + "target": "css=#mailto_chosen > .chosen-drop li:nth-child(2)", + "targets": [ + ["css=#mailto_chosen > .chosen-drop li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='mailto_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//tr[5]/td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "30819549-d407-47de-8756-ac6f080052e0", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f991088-8ae6-4423-bbc9-3f7c785be857", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "22c7ed78-cc8e-44d4-a439-7e60df02c23f", + "comment": "", + "command": "click", + "target": "css=.icon-bug-assignTo", + "targets": [ + ["css=.icon-bug-assignTo", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "f53ecd73-8468-4352-8e22-2a56360cc2f6", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "3c9feb21-9f63-4044-8051-f6b66131aff4", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[5]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a1fd4146-e58b-4311-8fce-9c3f20bf8b5a", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ae959b62-fc58-469d-9bbd-be5d4fe3ffc4", + "comment": "", + "command": "click", + "target": "css=.showinonlybody > .text", + "targets": [ + ["css=.showinonlybody > .text", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0a1ddf69-d207-4dbb-a6ca-25b0663e4f30", + "comment": "", + "command": "mouseOver", + "target": "css=.showinonlybody > .text", + "targets": [ + ["css=.showinonlybody > .text", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "331ad3c7-c6ec-43c8-be20-27d3cdcdd435", + "comment": "", + "command": "mouseOut", + "target": "css=.showinonlybody > .text", + "targets": [ + ["css=.showinonlybody > .text", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'解决')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "43b16ad0-028a-43c9-abc8-6a449c53678e", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "5b1ddca0-9113-4825-aee0-0111ddd3ddfd", + "comment": "", + "command": "mouseDown", + "target": "css=#resolution_chosen span", + "targets": [ + ["css=#resolution_chosen span", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "a143989e-70be-41ff-ab5b-969b0652f7ad", + "comment": "", + "command": "mouseUp", + "target": "css=#resolution_chosen input", + "targets": [ + ["css=#resolution_chosen input", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='resolution_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "5c33876c-3e90-4b40-8bcf-5076f0d41b2a", + "comment": "", + "command": "click", + "target": "css=#resolution_chosen > .chosen-single", + "targets": [ + ["css=#resolution_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a", "xpath:idRelative"], + ["xpath=//a", "xpath:position"] + ], + "value": "" + }, { + "id": "7fe0520d-24e0-4852-b2c5-7590a0ab1be4", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//li[2]", "xpath:position"], + ["xpath=//li[contains(.,'重复Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "27e049cf-3d97-4d53-9c28-a5a525dee01a", + "comment": "", + "command": "click", + "target": "id=duplicateBug", + "targets": [ + ["id=duplicateBug", "id"], + ["name=duplicateBug", "name"], + ["css=#duplicateBug", "css:finder"], + ["xpath=//input[@id='duplicateBug']", "xpath:attributes"], + ["xpath=//tr[@id='duplicateBugBox']/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "7d37e2ff-5cc0-4b09-8795-efaff87ac5f4", + "comment": "", + "command": "mouseDown", + "target": "css=#resolution_chosen span", + "targets": [ + ["css=#resolution_chosen span", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"], + ["xpath=//span[contains(.,'重复Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4c40fb1d-7c46-4492-b454-0e2a9c17c54e", + "comment": "", + "command": "mouseUp", + "target": "css=#resolution_chosen input", + "targets": [ + ["css=#resolution_chosen input", "css:finder"], + ["xpath=//input[@type='text']", "xpath:attributes"], + ["xpath=//div[@id='resolution_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//input", "xpath:position"] + ], + "value": "" + }, { + "id": "eb62225a-7389-4ef8-8a23-795180b121b7", + "comment": "", + "command": "click", + "target": "linkText=重复Bug", + "targets": [ + ["linkText=重复Bug", "linkText"], + ["css=#resolution_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/a", "xpath:idRelative"], + ["xpath=//a", "xpath:position"], + ["xpath=//a[contains(.,'重复Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f7c782b3-4a23-4457-a15c-e81043921dc9", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(3)", + "targets": [ + ["css=.active-result:nth-child(3)", "css:finder"], + ["xpath=//div[@id='resolution_chosen']/div/ul/li[3]", "xpath:idRelative"], + ["xpath=//li[3]", "xpath:position"], + ["xpath=//li[contains(.,'外部原因')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6950cc30-aee7-4236-9881-2cc7d88882c1", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-default > span", + "targets": [ + ["css=.chosen-default > span", "css:finder"], + ["xpath=//div[@id='resolvedBuild_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "88739e42-82d2-4d5f-ad14-c61a7a6a756e", + "comment": "", + "command": "mouseUp", + "target": "css=.chosen-default input", + "targets": [ + ["css=.chosen-default input", "css:finder"], + ["xpath=(//input[@type='text'])[4]", "xpath:attributes"], + ["xpath=//div[@id='resolvedBuild_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "51964416-c776-4688-b7f8-2d7b60c73441", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='resolvedBuild_chosen']/a", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "18217ada-4dc6-4caa-b862-4dc884dc0a15", + "comment": "", + "command": "click", + "target": "css=#resolvedBuild_chosen .active-result:nth-child(3)", + "targets": [ + ["css=#resolvedBuild_chosen .active-result:nth-child(3)", "css:finder"], + ["xpath=//div[@id='resolvedBuild_chosen']/div/ul/li[3]", "xpath:idRelative"], + ["xpath=//div/div/div/ul/li[3]", "xpath:position"], + ["xpath=//li[contains(.,'版本测试2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a0e0d63e-c3e6-4b98-9ceb-9f0c2db68f6f", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[9]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8641d012-c293-4118-9d7d-e9aa2cd048a0", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "97ead06c-8abe-4ecd-97d4-9deb6ffc1da7", + "comment": "", + "command": "click", + "target": "linkText=关闭", + "targets": [ + ["linkText=关闭", "linkText"], + ["css=.text-danger", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[4]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-close-28.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[4]", "xpath:position"], + ["xpath=//a[contains(.,' 关闭')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9f5f3b92-2a79-478b-96cc-808b0b59e92f", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "394fe155-ee00-414a-ae56-981cfc4d7b16", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "46643dd0-f0fd-4869-894b-e5f43fc11302", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "eb9b056c-8a19-423f-9bd3-634282ecbb40", + "comment": "", + "command": "click", + "target": "css=.text-success > .text", + "targets": [ + ["css=.text-success > .text", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'激活')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6ceeb7b6-223b-43fb-a7ff-990dfc8eae5d", + "comment": "", + "command": "selectFrame", + "target": "index=2", + "targets": [ + ["index=2"] + ], + "value": "" + }, { + "id": "507b9c37-2085-4c5a-adf6-9243418ca081", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[6]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ad6c9fae-44b9-4968-9ad3-36df52efe5b7", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "0a063580-ebde-4b15-9f88-7a3ea8fbb560", + "comment": "", + "command": "click", + "target": "linkText=转软件需求", + "targets": [ + ["linkText=转软件需求", "linkText"], + ["css=.btn:nth-child(6)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-create-1-0-0-0-0-28.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"], + ["xpath=//a[contains(.,' 转软件需求')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "520b4925-07d3-4278-8010-1ffc0b95aec8", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "942d7eaf-d966-405e-a625-86bcf75c39de", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "3f157464-2540-4cb6-a1a3-3589e326ea5c", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a858ee5-9fdb-412d-b559-c6447d102008", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "3853229f-e2cc-493b-97b2-fcd526cb5583", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "05ea1ff8-6b3b-4746-9b13-fbe39c9d2b66", + "comment": "", + "command": "click", + "target": "css=.icon-testcase-create", + "targets": [ + ["css=.icon-testcase-create", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[6]/i", "xpath:idRelative"], + ["xpath=//a[6]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "89005ade-0739-4858-b29a-76fd12d90f56", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6aabb2f9-0130-4853-8792-dfeb5ca0557b", + "comment": "", + "command": "click", + "target": "css=.icon-common-edit", + "targets": [ + ["css=.icon-common-edit", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[7]/i", "xpath:idRelative"], + ["xpath=//a[7]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "0463eeb4-ba9b-45a9-b792-ce435581308a", + "comment": "", + "command": "click", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div[2]/div/div/table/tbody/tr[13]/td/input", "xpath:idRelative"], + ["xpath=//tr[13]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "3505fbaa-664d-4138-b29b-3d2c5f99b880", + "comment": "", + "command": "type", + "target": "id=keywords", + "targets": [ + ["id=keywords", "id"], + ["name=keywords", "name"], + ["css=#keywords", "css:finder"], + ["xpath=//input[@id='keywords']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div[2]/div/div/table/tbody/tr[13]/td/input", "xpath:idRelative"], + ["xpath=//tr[13]/td/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "a9772d43-db23-440a-882f-dbb636a4c035", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div[2]/div/div/div[5]/button", "xpath:idRelative"], + ["xpath=//div[5]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "478f4ad9-bfe3-43fa-a037-14d47f39de6f", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(11)", + "targets": [ + ["css=.btn:nth-child(11)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a[8]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/bug-create-1-0-bugID=28.html')]", "xpath:href"], + ["xpath=//a[8]", "xpath:position"] + ], + "value": "" + }, { + "id": "02ffc9d0-b202-4cb2-b20c-95198b06a741", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a05a6687-d4cc-45c2-843e-2020dfbf1ac5", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/bug-browse-1.html')])[3]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "fe627c39-f52f-4eef-a65c-d85f8bbdeeab", + "name": "bug_tree", + "commands": [{ + "id": "d8468764-269c-4d7d-9f0b-494626ddcd45", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/bug-browse-1.html", + "targets": [], + "value": "" + }, { + "id": "7debd54b-16c1-401c-8fdf-e535a454c9d6", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "54cb8f21-098d-46a0-bcba-45fec52b5bf4", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "973f0600-4d98-4d14-9c37-505d3a2609f6", + "comment": "", + "command": "click", + "target": "linkText=维护模块", + "targets": [ + ["linkText=维护模块", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护模块')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-1-bug-0-0-qa.html')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'维护模块')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9291f6db-80f1-4016-ab24-dfba55d7f0ed", + "comment": "", + "command": "click", + "target": "id=modules[id51]", + "targets": [ + ["id=modules[id51]", "id"], + ["name=modules[id51]", "name"], + ["css=#modules\\[id51\\]", "css:finder"], + ["xpath=//input[@id='modules[id51]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "feb0d56b-f029-4246-8a1c-b3e81c3ecdc6", + "comment": "", + "command": "type", + "target": "id=modules[id51]", + "targets": [ + ["id=modules[id51]", "id"], + ["name=modules[id51]", "name"], + ["css=#modules\\[id51\\]", "css:finder"], + ["xpath=//input[@id='modules[id51]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "模块11" + }, { + "id": "b819e300-d579-4456-89cd-d78b4992892c", + "comment": "", + "command": "click", + "target": "id=modules[id52]", + "targets": [ + ["id=modules[id52]", "id"], + ["name=modules[id52]", "name"], + ["css=#modules\\[id52\\]", "css:finder"], + ["xpath=//input[@id='modules[id52]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "cd9099c4-7c25-4d51-bf7a-051eee245f0f", + "comment": "", + "command": "type", + "target": "id=modules[id52]", + "targets": [ + ["id=modules[id52]", "id"], + ["name=modules[id52]", "name"], + ["css=#modules\\[id52\\]", "css:finder"], + ["xpath=//input[@id='modules[id52]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "模块22" + }, { + "id": "69136ec5-56d0-448d-a07e-68c3dd0b9b49", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-add > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-add > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "045557ff-eab2-4fb8-9722-676abb140c55", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-add > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-add > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "828e43aa-998c-4fe0-b01c-c9c8b2fd9a9b", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-delete > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-delete > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button[2]/i", "xpath:idRelative"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "72b01334-9d74-4578-85c7-8c8e69351aa2", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-delete > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-delete > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button[2]/i", "xpath:idRelative"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a66338dd-0381-461c-8292-8057ca7f756f", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f07390e3-dd2a-48c1-8f54-0b3d59adf341", + "comment": "", + "command": "mouseDownAt", + "target": "css=.side-col .panel-heading", + "targets": [ + ["css=.side-col .panel-heading", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/div", "xpath:position"] + ], + "value": "122,41" + }, { + "id": "660e9aca-15d7-454d-9a2d-e192c4af5319", + "comment": "", + "command": "mouseMoveAt", + "target": "css=.side-col .panel-heading", + "targets": [ + ["css=.side-col .panel-heading", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/div", "xpath:position"] + ], + "value": "122,41" + }, { + "id": "c2ee141a-c20c-4bd2-8aca-de96ce30b953", + "comment": "", + "command": "mouseUpAt", + "target": "css=.side-col .panel-heading", + "targets": [ + ["css=.side-col .panel-heading", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div/div", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/div", "xpath:position"] + ], + "value": "122,41" + }, { + "id": "ed74398b-ce10-4c9f-a2e8-11ca18e3ff54", + "comment": "", + "command": "click", + "target": "css=.tree-actions:nth-child(3) .icon-edit", + "targets": [ + ["css=.tree-actions:nth-child(3) .icon-edit", "css:finder"], + ["xpath=//ul[@id='modulesTree']/li/div/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "8c6b4b51-7929-4b08-b2a6-99673772875d", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "ae3daf21-56f5-4848-b90a-7a4192f2cae9", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/input", "xpath:position"] + ], + "value": "模块111" + }, { + "id": "5e14da4e-4775-46c8-a458-bbabdaa9d5e2", + "comment": "", + "command": "click", + "target": "css=.text-center > #submit", + "targets": [ + ["css=.text-center > #submit", "css:finder"], + ["xpath=(//button[@id='submit'])[2]", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[6]/td/button", "xpath:idRelative"], + ["xpath=//tr[6]/td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "3d7c03b7-1549-4ca1-99de-5b7f951bf3ec", + "comment": "", + "command": "click", + "target": "css=.tree-actions:nth-child(3) .icon-split", + "targets": [ + ["css=.tree-actions:nth-child(3) .icon-split", "css:finder"], + ["xpath=//ul[@id='modulesTree']/li/div/a[4]/i", "xpath:idRelative"], + ["xpath=//a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "65c8b1e8-bda9-4f84-9eb3-ec339a75c68a", + "comment": "", + "command": "click", + "target": "id=modules[id53]", + "targets": [ + ["id=modules[id53]", "id"], + ["name=modules[id53]", "name"], + ["css=#modules\\[id53\\]", "css:finder"], + ["xpath=//input[@id='modules[id53]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e50c18e7-cc9d-4f4f-bf8b-1e763a0d35c5", + "comment": "", + "command": "type", + "target": "id=modules[id53]", + "targets": [ + ["id=modules[id53]", "id"], + ["name=modules[id53]", "name"], + ["css=#modules\\[id53\\]", "css:finder"], + ["xpath=//input[@id='modules[id53]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "子模块11" + }, { + "id": "22df83a6-5729-4613-838a-b712b18889eb", + "comment": "", + "command": "click", + "target": "id=modules[id54]", + "targets": [ + ["id=modules[id54]", "id"], + ["name=modules[id54]", "name"], + ["css=#modules\\[id54\\]", "css:finder"], + ["xpath=//input[@id='modules[id54]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e41cf1ab-791e-49c6-987b-1b1f728efccc", + "comment": "", + "command": "type", + "target": "id=modules[id54]", + "targets": [ + ["id=modules[id54]", "id"], + ["name=modules[id54]", "name"], + ["css=#modules\\[id54\\]", "css:finder"], + ["xpath=//input[@id='modules[id54]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "子模块22" + }, { + "id": "ef6014f8-0aec-4346-9bad-217233a64c78", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-add > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-add > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "e97b5f36-8a01-4b6a-bebb-2b5a40336935", + "comment": "", + "command": "mouseOver", + "target": "css=.table-row:nth-child(3) .btn-add > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-add > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "696c4cb2-1aeb-44f1-85a7-f8e14059dae2", + "comment": "", + "command": "mouseOut", + "target": "css=.table-row:nth-child(3) .btn-add > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-add > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "78cd15f0-8677-4ab7-be49-ec04e5df7f2d", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(3) .btn-delete > .icon", + "targets": [ + ["css=.table-row:nth-child(3) .btn-delete > .icon", "css:finder"], + ["xpath=//div[@id='sonModule']/div[3]/div[3]/button[2]/i", "xpath:idRelative"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "510621df-64ec-4898-8257-43edc8d4df36", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "24abbde5-217f-4cca-8df0-583137dbef37", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-wide:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/bug-browse-1.html')])[2]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fcbb26f0-6dcd-47cd-9748-ed22be2c667c", + "comment": "", + "command": "click", + "target": "linkText=模块设置", + "targets": [ + ["linkText=模块设置", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'模块设置')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#showModuleModal')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'模块设置')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fe3d229c-0706-4abf-8c63-591ca73e23a9", + "comment": "", + "command": "click", + "target": "css=.radio-inline:nth-child(1)", + "targets": [ + ["css=.radio-inline:nth-child(1)", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr/td[2]/label", "xpath:idRelative"], + ["xpath=//td[2]/label", "xpath:position"], + ["xpath=//label[contains(.,'不显示')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "234a2b84-c5ca-4a70-a9a5-4f6d5b54827d", + "comment": "", + "command": "click", + "target": "id=setShowModule", + "targets": [ + ["id=setShowModule", "id"], + ["css=#setShowModule", "css:finder"], + ["xpath=//button[@id='setShowModule']", "xpath:attributes"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "025051b4-3dc1-49ff-9da3-d3fe73b17074", + "comment": "", + "command": "click", + "target": "linkText=模块设置", + "targets": [ + ["linkText=模块设置", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'模块设置')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#showModuleModal')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'模块设置')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "141fdd19-dda2-48e1-ad64-6f4b2452e2c3", + "comment": "", + "command": "click", + "target": "css=.radio-inline:nth-child(2)", + "targets": [ + ["css=.radio-inline:nth-child(2)", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr/td[2]/label[2]", "xpath:idRelative"], + ["xpath=//label[2]", "xpath:position"], + ["xpath=//label[contains(.,'只显示一级模块')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8438f6ab-076e-4682-bb5a-5dafb8b32450", + "comment": "", + "command": "click", + "target": "id=setShowModule", + "targets": [ + ["id=setShowModule", "id"], + ["css=#setShowModule", "css:finder"], + ["xpath=//button[@id='setShowModule']", "xpath:attributes"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "30c3a192-47d2-41a9-b6a6-94d6dbc85f7e", + "comment": "", + "command": "click", + "target": "linkText=模块设置", + "targets": [ + ["linkText=模块设置", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'模块设置')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#showModuleModal')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'模块设置')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5bbda2fd-62fc-44d8-8799-07eca5328493", + "comment": "", + "command": "click", + "target": "css=tbody:nth-child(1) td:nth-child(2)", + "targets": [ + ["css=tbody:nth-child(1) td:nth-child(2)", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr/td[2]", "xpath:idRelative"], + ["xpath=//td[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b84dfe92-9eca-438d-aa0e-495d1aa74e63", + "comment": "", + "command": "click", + "target": "css=tbody:nth-child(1) td:nth-child(2)", + "targets": [ + ["css=tbody:nth-child(1) td:nth-child(2)", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr/td[2]", "xpath:idRelative"], + ["xpath=//td[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "9ff58e41-303f-4b90-8e45-2c173dfa37a1", + "comment": "", + "command": "click", + "target": "css=.radio-inline:nth-child(3)", + "targets": [ + ["css=.radio-inline:nth-child(3)", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr/td[2]/label[3]", "xpath:idRelative"], + ["xpath=//label[3]", "xpath:position"], + ["xpath=//label[contains(.,'只显示最后一级模块')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a156898-9806-431a-af4b-ba6f81dacb9f", + "comment": "", + "command": "click", + "target": "id=setShowModule", + "targets": [ + ["id=setShowModule", "id"], + ["css=#setShowModule", "css:finder"], + ["xpath=//button[@id='setShowModule']", "xpath:attributes"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "a5129d05-0b4d-4b96-9641-a0f22620faad", + "name": "testcase_browse", + "commands": [{ + "id": "c99e17b4-bc6f-4fb7-a0f3-b6b7cfb35388", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testcase-browse-2-0-all.html", + "targets": [], + "value": "" + }, { + "id": "91298d2a-0c84-4faf-b4f7-6b532cf0339a", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "a6846da3-4365-4478-a68b-f6dcdb300011", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "7035fee9-c504-4ba8-89d1-5acc02c5fec1", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-down", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-all-0-id_asc-5-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "382e6a04-72f9-4795-ae5a-d459829b91bd", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-all-0-id_desc-5-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c1ef8263-b7b3-443b-9713-3b571469b52c", + "comment": "", + "command": "click", + "target": "linkText=用例标题", + "targets": [ + ["linkText=用例标题", "linkText"], + ["css=.c-title > .header", "css:finder"], + ["xpath=//a[contains(text(),'用例标题')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-all-0-title_asc-5-20.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0717ecd4-370e-49de-a171-08ad292f1c57", + "comment": "", + "command": "click", + "target": "linkText=用例标题", + "targets": [ + ["linkText=用例标题", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'用例标题')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-all-0-title_desc-5-20.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a41b3589-07f2-4ad8-98a4-6a63a57e5b8e", + "comment": "", + "command": "click", + "target": "linkText=1", + "targets": [ + ["linkText=1", "linkText"], + ["css=tr:nth-child(1) > .c-results > .iframe", "css:finder"], + ["xpath=(//a[contains(text(),'1')])[6]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[11]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-1.html')]", "xpath:href"], + ["xpath=//td[11]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "da3b856e-09f0-4e09-9c0e-a5af01e352ca", + "comment": "", + "command": "click", + "target": "css=.modal-dialog:nth-child(2) .close", + "targets": [ + ["css=.modal-dialog:nth-child(2) .close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "203fca05-ce26-41f6-a747-a99c0423f5c1", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-testtask-results", + "targets": [ + ["css=tr:nth-child(1) .icon-testtask-results", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[13]/a/i", "xpath:idRelative"], + ["xpath=//td[13]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "0fb40527-09d4-4d59-a804-68c1f5f75e30", + "comment": "", + "command": "click", + "target": "css=.modal-dialog:nth-child(2) .close", + "targets": [ + ["css=.modal-dialog:nth-child(2) .close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fcfff592-5272-446a-98e6-2ab9b11e2643", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-testtask-runCase", + "targets": [ + ["css=tr:nth-child(1) .icon-testtask-runCase", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[13]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c291ffe9-6466-4079-b4a9-937549d78a33", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "5d32d9a5-74f5-4975-bb3c-e4a20183858e", + "comment": "", + "command": "click", + "target": "id=reals[0]", + "targets": [ + ["id=reals[0]", "id"], + ["name=reals[0]", "name"], + ["css=#reals\\[0\\]", "css:finder"], + ["xpath=//textarea[@id='reals[0]']", "xpath:attributes"], + ["xpath=//table[@id='steps']/tbody/tr/td[4]/table/tbody/tr/td/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "7c30622c-7f40-4b45-98b7-9d11d6043ff6", + "comment": "", + "command": "type", + "target": "id=reals[0]", + "targets": [ + ["id=reals[0]", "id"], + ["name=reals[0]", "name"], + ["css=#reals\\[0\\]", "css:finder"], + ["xpath=//textarea[@id='reals[0]']", "xpath:attributes"], + ["xpath=//table[@id='steps']/tbody/tr/td[4]/table/tbody/tr/td/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "111" + }, { + "id": "8dbd50ef-9772-4d06-b931-1446dd3ca879", + "comment": "", + "command": "click", + "target": "id=steps0", + "targets": [ + ["id=steps0", "id"], + ["name=steps[0]", "name"], + ["css=#steps0", "css:finder"], + ["xpath=//select[@id='steps0']", "xpath:attributes"], + ["xpath=//table[@id='steps']/tbody/tr/td[3]/select", "xpath:idRelative"], + ["xpath=//select", "xpath:position"], + ["xpath=//select[contains(.,'忽略\n通过\n失败\n阻塞')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "82c20681-a0e9-4f75-a547-a137efb63cdf", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='steps']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//tr[2]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1c49cf6e-b269-45d2-bd49-034e260fb8a0", + "comment": "", + "command": "click", + "target": "css=.createBtn", + "targets": [ + ["css=.createBtn", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//tr[@id='tr-detail_1']/td/form/table/tbody/tr[2]/td[7]/button", "xpath:idRelative"], + ["xpath=//td[7]/button", "xpath:position"], + ["xpath=//button[contains(.,'转Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8d0cf6ff-d7dd-460f-8167-8c8c38636ebe", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "f8676f05-24b9-4776-882a-f3c7e3cc8c8b", + "comment": "", + "command": "click", + "target": "linkText=用例", + "targets": [ + ["linkText=用例", "linkText"], + ["css=.nav > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'用例')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2.html')]", "xpath:href"], + ["xpath=//li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "002d3971-edb8-45ec-b814-9583cf75c199", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-common-edit", + "targets": [ + ["css=tr:nth-child(1) .icon-common-edit", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[13]/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c3fde2da-34cc-4b8a-9784-ed521562ebf8", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div/div/div/div[6]/button", "xpath:idRelative"], + ["xpath=//div[6]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e28adb80-0a00-4e96-a6c4-d944b4ae7c53", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testcase-browse-2.html')])[3]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "d1f38869-aca6-498a-92f0-e2fb3bc59d3b", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-common-copy", + "targets": [ + ["css=tr:nth-child(1) .icon-common-copy", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[13]/a[4]/i", "xpath:idRelative"], + ["xpath=//a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "9df6759e-a04b-4cc6-b3f6-871584ae7bb2", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "a1784f43-6b17-42dc-990c-403dd6fc64aa", + "comment": "", + "command": "click", + "target": "id=caseIDList14", + "targets": [ + ["id=caseIDList14", "id"], + ["name=caseIDList[]", "name"], + ["css=#caseIDList14", "css:finder"], + ["xpath=//input[@id='caseIDList14']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "9845f200-fb67-4694-ac67-f817089079a0", + "comment": "", + "command": "click", + "target": "id=caseIDList10", + "targets": [ + ["id=caseIDList10", "id"], + ["css=#caseIDList10", "css:finder"], + ["xpath=//input[@id='caseIDList10']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "920ca51e-2a8d-4a7c-a500-b7cb7de17e6a", + "comment": "", + "command": "click", + "target": "css=.table-actions > .btn-group:nth-child(1) > .btn:nth-child(1)", + "targets": [ + ["css=.table-actions > .btn-group:nth-child(1) > .btn:nth-child(1)", "css:finder"], + ["xpath=(//button[@type='button'])[11]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84819b70-4d57-4954-9d15-c8a09638d3d0", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ad403642-d9b6-43b0-8522-4f490120b95f", + "comment": "", + "command": "click", + "target": "id=caseIDList14", + "targets": [ + ["id=caseIDList14", "id"], + ["name=caseIDList[]", "name"], + ["css=#caseIDList14", "css:finder"], + ["xpath=//input[@id='caseIDList14']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "40bd71d5-1b84-4100-af8d-5aa10d806ed1", + "comment": "", + "command": "click", + "target": "id=caseIDList10", + "targets": [ + ["id=caseIDList10", "id"], + ["css=#caseIDList10", "css:finder"], + ["xpath=//input[@id='caseIDList10']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a2e5cc29-0b1e-4594-89a8-c759fae01dee", + "comment": "", + "command": "click", + "target": "css=.dropup > .btn:nth-child(2)", + "targets": [ + ["css=.dropup > .btn:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[12]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//button[2]", "xpath:position"], + ["xpath=//button[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a176ef65-fced-4419-b741-dbe4f058472d", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='batchEditForm']/div/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "41d6fc76-7585-409b-b6e2-a6a22f2060af", + "comment": "", + "command": "click", + "target": "id=caseIDList14", + "targets": [ + ["id=caseIDList14", "id"], + ["name=caseIDList[]", "name"], + ["css=#caseIDList14", "css:finder"], + ["xpath=//input[@id='caseIDList14']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2bdd47f6-25b4-4089-94ea-b15e8c89d182", + "comment": "", + "command": "click", + "target": "id=caseIDList10", + "targets": [ + ["id=caseIDList10", "id"], + ["css=#caseIDList10", "css:finder"], + ["xpath=//input[@id='caseIDList10']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a537c237-8d7a-466b-bce9-70bae2f0629d", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(3)", + "targets": [ + ["css=.dropdown-toggle:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "89b8f603-70dc-4914-8dd9-865d15841e9c", + "comment": "", + "command": "click", + "target": "linkText=功能测试", + "targets": [ + ["linkText=功能测试", "linkText"], + ["css=.dropdown-submenu:nth-child(2) li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'功能测试')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testcase-batchCaseTypeChange-feature.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//ul[@id='moreActionMenu']/li[2]/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[3]", "xpath:href"], + ["xpath=//li[2]/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'功能测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4db84163-fda1-4fd2-88e7-60a677b607e3", + "comment": "", + "command": "click", + "target": "id=caseIDList14", + "targets": [ + ["id=caseIDList14", "id"], + ["name=caseIDList[]", "name"], + ["css=#caseIDList14", "css:finder"], + ["xpath=//input[@id='caseIDList14']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "f8455d47-511a-4377-871e-f3434ecd32a2", + "comment": "", + "command": "click", + "target": "id=caseIDList10", + "targets": [ + ["id=caseIDList10", "id"], + ["css=#caseIDList10", "css:finder"], + ["xpath=//input[@id='caseIDList10']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "05f32694-e3f9-49f3-b2c1-e2ba433d5f5c", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(3)", + "targets": [ + ["css=.dropdown-toggle:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[13]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "fbb278e9-7020-4036-9f64-f7ffd85142a6", + "comment": "", + "command": "click", + "target": "linkText=确认软件需求变动", + "targets": [ + ["linkText=确认软件需求变动", "linkText"], + ["css=#moreActionMenu > li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'确认软件需求变动')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testcase-batchConfirmStoryChange-2.html')\"]", "xpath:attributes"], + ["xpath=//ul[@id='moreActionMenu']/li[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[11]", "xpath:href"], + ["xpath=//div[2]/div/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'确认软件需求变动')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d3a909d0-dfab-43d9-83a4-98c0a51b3e2a", + "comment": "", + "command": "click", + "target": "id=caseIDList14", + "targets": [ + ["id=caseIDList14", "id"], + ["name=caseIDList[]", "name"], + ["css=#caseIDList14", "css:finder"], + ["xpath=//input[@id='caseIDList14']", "xpath:attributes"], + ["xpath=//table[@id='caseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "2d4e1a71-93d8-4b00-9c11-f726fa70b3e3", + "comment": "", + "command": "click", + "target": "css=.slectable-item:nth-child(2) > .c-id", + "targets": [ + ["css=.slectable-item:nth-child(2) > .c-id", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr[2]/td", "xpath:idRelative"], + ["xpath=//div[2]/table/tbody/tr[2]/td", "xpath:position"], + ["xpath=//td[contains(.,'010')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "78b3d69d-b907-48b4-8090-fc334405424c", + "comment": "", + "command": "click", + "target": "css=.dropup:nth-child(2) > .btn", + "targets": [ + ["css=.dropup:nth-child(2) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[14]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'模块 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e46a6fc4-e414-49ea-8c22-4fa94385239c", + "comment": "", + "command": "click", + "target": "linkText=/11", + "targets": [ + ["linkText=/11", "linkText"], + ["css=.list-group > a:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'/11')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testcase-batchChangeModule-4.html', 'hiddenwin')\"]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div[2]/div/div/a[2]", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '#')])[13]", "xpath:href"], + ["xpath=//div[2]/div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'/11')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c782987-e49f-4523-89c4-48ff5e19bcb6", + "comment": "", + "command": "click", + "target": "css=.list-toggle", + "targets": [ + ["css=.list-toggle", "css:finder"], + ["xpath=//ul[@id='modules']/li/i", "xpath:idRelative"], + ["xpath=//li/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1e5fc5c7-7488-4a4d-820d-bf1dad8f468f", + "comment": "", + "command": "click", + "target": "css=.list-toggle", + "targets": [ + ["css=.list-toggle", "css:finder"], + ["xpath=//ul[@id='modules']/li/i", "xpath:idRelative"], + ["xpath=//li/i", "xpath:position"] + ], + "value": "" + }, { + "id": "01015f2e-cce2-4063-a619-5da5075fab59", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4d426a68-c162-4bdc-bae9-2371f0acda7a", + "comment": "", + "command": "click", + "target": "linkText=自定义列", + "targets": [ + ["linkText=自定义列", "linkText"], + ["css=.open > .dropdown-menu > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-testcase-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b3e96b2a-c592-4472-b6e7-81e08b5d33a4", + "comment": "", + "command": "click", + "target": "css=.fixed-no:nth-child(2) label", + "targets": [ + ["css=.fixed-no:nth-child(2) label", "css:finder"], + ["xpath=//div[@id='colsFixedFlex']/div[2]/div[2]/label", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div[2]/label", "xpath:position"] + ], + "value": "" + }, { + "id": "5b76709f-4386-4bf7-bb39-d90994e254b4", + "comment": "", + "command": "click", + "target": "id=btnSaveCustom", + "targets": [ + ["id=btnSaveCustom", "id"], + ["css=#btnSaveCustom", "css:finder"], + ["xpath=//button[@id='btnSaveCustom']", "xpath:attributes"], + ["xpath=//div[@id='customDatatable']/div/div[2]/div[4]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[4]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "af5c5678-76d7-4444-9f9a-69e50cf28271", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "35dd201c-c09e-4cde-befd-ff90399efdae", + "comment": "", + "command": "click", + "target": "linkText=自定义列", + "targets": [ + ["linkText=自定义列", "linkText"], + ["css=.open > .dropdown-menu > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-testcase-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e7029ec2-57de-4adc-a33b-453016c901f8", + "comment": "", + "command": "mouseOver", + "target": "linkText=自定义列", + "targets": [ + ["linkText=自定义列", "linkText"], + ["css=.open > .dropdown-menu > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-testcase-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "db667833-3083-40df-b990-edf0ba628d6d", + "comment": "", + "command": "mouseOut", + "target": "css=.btn-toolbar > .dropdown > .pull-right > li:nth-child(1) > a", + "targets": [ + ["css=.btn-toolbar > .dropdown > .pull-right > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'自定义列')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/datatable-ajaxCustom-testcase-browse.html')]", "xpath:href"], + ["xpath=//nav/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'自定义列')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b5bde2b1-bef0-412a-b526-44bf2d076260", + "comment": "", + "command": "click", + "target": "css=#customDatatable .modal-body", + "targets": [ + ["css=#customDatatable .modal-body", "css:finder"], + ["xpath=//div[@id='customDatatable']/div/div[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/div/div[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "9c9df369-2169-4620-8088-e4ee36105da7", + "comment": "", + "command": "click", + "target": "id=resetBtn", + "targets": [ + ["id=resetBtn", "id"], + ["css=#resetBtn", "css:finder"], + ["xpath=//button[@id='resetBtn']", "xpath:attributes"], + ["xpath=//div[@id='customDatatable']/div/div[2]/div[4]/button[3]", "xpath:idRelative"], + ["xpath=//div[4]/button[3]", "xpath:position"], + ["xpath=//button[contains(.,'恢复默认')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b01d433-5d6c-4f5d-b4c0-6c5e3b35a71e", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "f4516095-92ff-446c-b98d-c9599450c191", + "comment": "", + "command": "click", + "target": "id=switchToDatatable", + "targets": [ + ["id=switchToDatatable", "id"], + ["linkText=切换到高级表格", "linkText"], + ["css=#switchToDatatable", "css:finder"], + ["xpath=//a[contains(text(),'切换到高级表格')]", "xpath:link"], + ["xpath=//a[@id='switchToDatatable']", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:saveDatatableConfig(\"mode\", \"datatable\", true);')]", "xpath:href"], + ["xpath=//nav/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'切换到高级表格')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8e8a4622-917f-44cc-bee8-5b44708840b6", + "comment": "", + "command": "click", + "target": "css=#tableCustomBtn > .icon-cog-outline", + "targets": [ + ["css=#tableCustomBtn > .icon-cog-outline", "css:finder"], + ["xpath=//button[@id='tableCustomBtn']/i", "xpath:idRelative"], + ["xpath=//nav/div/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "cb640c5a-1a9f-4b80-a5c0-6dbd025c2c3e", + "comment": "", + "command": "click", + "target": "id=switchToDatatable", + "targets": [ + ["id=switchToDatatable", "id"], + ["linkText=切换到简单表格", "linkText"], + ["css=#switchToDatatable", "css:finder"], + ["xpath=//a[contains(text(),'切换到简单表格')]", "xpath:link"], + ["xpath=//a[@id='switchToDatatable']", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div/nav/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:saveDatatableConfig(\"mode\", \"table\", true);')]", "xpath:href"], + ["xpath=//nav/div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'切换到简单表格')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "02d4ca50-4c3a-4fae-83eb-42bb126fc200", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[15]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'每页 20 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7494981d-60c1-4e21-885a-d9bde4aa30d6", + "comment": "", + "command": "click", + "target": "linkText=5", + "targets": [ + ["linkText=5", "linkText"], + ["css=.pager-size-menu li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'5')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div[3]/ul/li[2]/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '###')]", "xpath:href"], + ["xpath=//li[2]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'5')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "30bdeee3-ed8c-47c4-8fe0-e3bf0d6f9de0", + "comment": "", + "command": "click", + "target": "css=.btn > strong", + "targets": [ + ["css=.btn > strong", "css:finder"], + ["xpath=//form[@id='caseForm']/div[3]/ul/li[2]/div/button/strong", "xpath:idRelative"], + ["xpath=//button/strong", "xpath:position"] + ], + "value": "" + }, { + "id": "67972d24-f54a-4967-b266-27ce646b8c65", + "comment": "", + "command": "click", + "target": "linkText=20", + "targets": [ + ["linkText=20", "linkText"], + ["css=.btn-group > .dropdown-menu > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'20')]", "xpath:link"], + ["xpath=//form[@id='caseForm']/div[3]/ul/li[2]/div/ul/li[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[4]", "xpath:href"], + ["xpath=//li[2]/div/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'20')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dfbe9879-2781-4efd-bb71-cfa060209c3f", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(1) > .btn-link", + "targets": [ + ["css=.btn-group:nth-child(1) > .btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' 导出 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f7fd48b7-dfa3-4a29-bdfa-099513a0e4b4", + "comment": "", + "command": "click", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-id_desc-0-all.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "66fccd86-f621-44c5-8a06-c87b073ac2ca", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "7bf84091-df12-4e9a-bd63-8135b4c43f41", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//tr[7]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e1cac621-ff81-4be7-ac7e-8f750c7afaec", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "7b184731-2016-44fa-bfff-c63ad431fd31", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(1) > .btn-link", + "targets": [ + ["css=.btn-group:nth-child(1) > .btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' 导出 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5ebb44e3-80ae-4965-b492-34a84f74d65c", + "comment": "", + "command": "click", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=li:nth-child(2) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-exportTemplet-2.html')]", "xpath:href"], + ["xpath=//div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a595ea3a-b0a6-45f7-a3b7-d2bce5aa4528", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "d50f85df-53cc-4ffb-bbbc-09c7878b2dc4", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1a176aaa-d7c3-497d-a05c-a2b9c416911d", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "b5aad5a4-9802-41ab-a178-de11b36d1a68", + "comment": "", + "command": "click", + "target": "linkText=维护模块", + "targets": [ + ["linkText=维护模块", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护模块')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-2-case-0-0-qa.html')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a", "xpath:position"], + ["xpath=//a[contains(.,'维护模块')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "557ef534-47c1-43fb-97e2-b39611fb00eb", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-wide:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2--all-0-id_desc-6-20-1-0.html')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "707ffd2a-3740-47e6-a2f7-76004e5ed511", + "comment": "", + "command": "click", + "target": "linkText=模块设置", + "targets": [ + ["linkText=模块设置", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'模块设置')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#showModuleModal')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'模块设置')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "947abf45-8de8-44dc-92bb-5bacdc4465e3", + "comment": "", + "command": "click", + "target": "id=setShowModule", + "targets": [ + ["id=setShowModule", "id"], + ["css=#setShowModule", "css:finder"], + ["xpath=//button[@id='setShowModule']", "xpath:attributes"], + ["xpath=//div[@id='showModuleModal']/div/div/div[2]/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "cb992c7e-0989-4620-bd3e-09230728beb7", + "name": "testcase_create", + "commands": [{ + "id": "1da8bcac-a92b-445c-a851-60e723f5a6ec", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testcase-browse-2-0-all.html", + "targets": [], + "value": "" + }, { + "id": "04f9d4fd-f4e7-463d-8802-581cad1b09a5", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "6f925bb5-237d-47ce-b6d4-93cdabba3403", + "comment": "", + "command": "click", + "target": "linkText=建用例", + "targets": [ + ["linkText=建用例", "linkText"], + ["css=.open > .btn:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'建用例')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/div[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-create-2-0-0.html')]", "xpath:href"], + ["xpath=//div[3]/a", "xpath:position"], + ["xpath=//a[contains(.,' 建用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d0152e96-e73b-4b95-8437-f86ec68d8add", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "4f314dd6-34cc-4dbc-8b1f-97a594f3a367", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='story_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "23702a7f-8464-4962-90a7-742bc19d4c34", + "comment": "", + "command": "mouseUp", + "target": "css=.chosen-default input", + "targets": [ + ["css=.chosen-default input", "css:finder"], + ["xpath=(//input[@type='text'])[5]", "xpath:attributes"], + ["xpath=//div[@id='story_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "e2cb0138-f6d1-4252-bc9f-215a5f5777cd", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='story_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "a842bf52-eaab-4d49-93d9-e0de8c2a22dd", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='story_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td/div/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'36:零用例软件需求2 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "db7667ef-a122-44ff-8abb-5e3e9d842563", + "comment": "", + "command": "click", + "target": "css=tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(3)", + "targets": [ + ["css=tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(3)", "css:finder"], + ["xpath=//form[@id='dataform']/table/tbody/tr[2]/td[2]", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "b65721ee-8754-4a2e-9e98-6ddf71dc019a", + "comment": "", + "command": "click", + "target": "css=.chosen-choices", + "targets": [ + ["css=.chosen-choices", "css:finder"], + ["xpath=//div[@id='stage_chosen']/ul", "xpath:idRelative"], + ["xpath=//td[2]/div/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "f18e614c-bb0d-4cf0-8565-70d36b28d540", + "comment": "", + "command": "click", + "target": "css=#stage_chosen > .chosen-drop li:nth-child(2)", + "targets": [ + ["css=#stage_chosen > .chosen-drop li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='stage_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "27c7982d-8245-4448-a9f1-6b3d341396d9", + "comment": "", + "command": "mouseDown", + "target": "css=#type_chosen span", + "targets": [ + ["css=#type_chosen span", "css:finder"], + ["xpath=//div[@id='type_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'功能测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72fd369d-dd3f-44d7-ac7c-5c432b5fe480", + "comment": "", + "command": "mouseUp", + "target": "css=#type_chosen input", + "targets": [ + ["css=#type_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[3]", "xpath:attributes"], + ["xpath=//div[@id='type_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "0310d9ad-cef9-4dd0-b3bf-29d110c91eb8", + "comment": "", + "command": "click", + "target": "linkText=功能测试", + "targets": [ + ["linkText=功能测试", "linkText"], + ["css=#type_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='type_chosen']/a", "xpath:idRelative"], + ["xpath=//td/div/a", "xpath:position"], + ["xpath=//a[contains(.,'功能测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a46a8277-61d6-48e2-be07-648a8b81d12e", + "comment": "", + "command": "click", + "target": "css=#type_chosen .active-result:nth-child(2)", + "targets": [ + ["css=#type_chosen .active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='type_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'性能测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "51a983f2-254c-4ac0-9fe0-ab877977d884", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "eaf06bce-97b0-4b69-951b-7cf314d14947", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "测试用例01" + }, { + "id": "6bd4c88e-f7ee-4466-979c-2277534c502f", + "comment": "", + "command": "click", + "target": "id=steps[]", + "targets": [ + ["id=steps[]", "id"], + ["name=steps[1]", "name"], + ["css=.step:nth-child(1) #steps\\[\\]", "css:finder"], + ["xpath=//textarea[@id='steps[]']", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//div/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "0afe03d2-954e-40f3-836e-1a7020a2fa74", + "comment": "", + "command": "type", + "target": "id=steps[]", + "targets": [ + ["id=steps[]", "id"], + ["name=steps[1]", "name"], + ["css=.step:nth-child(1) #steps\\[\\]", "css:finder"], + ["xpath=//textarea[@id='steps[]']", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//div/textarea", "xpath:position"] + ], + "value": "1" + }, { + "id": "9d722fa5-cbdf-430a-acbc-4c9937372e79", + "comment": "", + "command": "click", + "target": "css=.step:nth-child(1) .step-group-toggle", + "targets": [ + ["css=.step:nth-child(1) .step-group-toggle", "css:finder"], + ["xpath=(//input[@type='checkbox'])[5]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr/td[2]/div/span[2]/div/input", "xpath:idRelative"], + ["xpath=//span[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "56ab6c6b-77fa-4fef-98c0-4771a10eea3d", + "comment": "", + "command": "click", + "target": "name=steps[1.1]", + "targets": [ + ["name=steps[1.1]", "name"], + ["css=.step:nth-child(2) #steps\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='steps[]'])[2]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[2]/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]/div/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "6b187f8c-80f9-4b13-a66c-f83d71479a48", + "comment": "", + "command": "type", + "target": "name=steps[1.1]", + "targets": [ + ["name=steps[1.1]", "name"], + ["css=.step:nth-child(2) #steps\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='steps[]'])[2]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[2]/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//tr[2]/td[2]/div/textarea", "xpath:position"] + ], + "value": "1.1" + }, { + "id": "a9898620-d142-4f3c-8389-eb4deaeadde4", + "comment": "", + "command": "click", + "target": "name=steps[1.2]", + "targets": [ + ["name=steps[1.2]", "name"], + ["css=.step:nth-child(3) #steps\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='steps[]'])[3]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[3]/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//tr[3]/td[2]/div/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "598fb178-2ea4-4fc8-a956-74859c276c4c", + "comment": "", + "command": "type", + "target": "name=steps[1.2]", + "targets": [ + ["name=steps[1.2]", "name"], + ["css=.step:nth-child(3) #steps\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='steps[]'])[3]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[3]/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//tr[3]/td[2]/div/textarea", "xpath:position"] + ], + "value": "1.2" + }, { + "id": "ca2d8e50-66d5-4610-92f2-9f8d90f4c831", + "comment": "", + "command": "click", + "target": "name=expects[1.2]", + "targets": [ + ["name=expects[1.2]", "name"], + ["css=.step:nth-child(3) #expects\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='expects[]'])[3]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[3]/td[3]/textarea", "xpath:idRelative"], + ["xpath=//tr[3]/td[3]/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "62bcd7d3-cb6b-46fb-ab93-8a749c7c4e6f", + "comment": "", + "command": "click", + "target": "name=expects[1.1]", + "targets": [ + ["name=expects[1.1]", "name"], + ["css=.step:nth-child(2) #expects\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='expects[]'])[2]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[2]/td[3]/textarea", "xpath:idRelative"], + ["xpath=//tr[2]/td[3]/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "3a2fa135-665a-4fc0-96e7-dff38348515a", + "comment": "", + "command": "type", + "target": "name=expects[1.1]", + "targets": [ + ["name=expects[1.1]", "name"], + ["css=.step:nth-child(2) #expects\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='expects[]'])[2]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[2]/td[3]/textarea", "xpath:idRelative"], + ["xpath=//tr[2]/td[3]/textarea", "xpath:position"] + ], + "value": "1" + }, { + "id": "906da315-54ee-4470-9c2d-cdddb8a42414", + "comment": "", + "command": "click", + "target": "name=expects[1.2]", + "targets": [ + ["name=expects[1.2]", "name"], + ["css=.step:nth-child(3) #expects\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='expects[]'])[3]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[3]/td[3]/textarea", "xpath:idRelative"], + ["xpath=//tr[3]/td[3]/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "113bcab7-37fb-4b90-9320-baae6a0779ba", + "comment": "", + "command": "type", + "target": "name=expects[1.2]", + "targets": [ + ["name=expects[1.2]", "name"], + ["css=.step:nth-child(3) #expects\\[\\]", "css:finder"], + ["xpath=(//textarea[@id='expects[]'])[3]", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr[3]/td[3]/textarea", "xpath:idRelative"], + ["xpath=//tr[3]/td[3]/textarea", "xpath:position"] + ], + "value": "2" + }, { + "id": "d6e4bfba-27fa-4cb0-b707-22af4d854915", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "ea9c605b-a664-484d-aac0-6d01c5ad2989", + "comment": "", + "command": "click", + "target": "css=.btn-primary:nth-child(2)", + "targets": [ + ["css=.btn-primary:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div[3]/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "c7233b8d-113b-42d7-a67a-f28011a46321", + "comment": "", + "command": "click", + "target": "linkText=批量建用例", + "targets": [ + ["linkText=批量建用例", "linkText"], + ["css=.dropdown-menu:nth-child(3) > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'批量建用例')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/div[3]/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-batchCreate-2-0-0.html')]", "xpath:href"], + ["xpath=//div[3]/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'批量建用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cedcf2c9-0c4c-4599-8b1b-d3f6d39285f0", + "comment": "", + "command": "click", + "target": "css=#story0_chosen > .chosen-single", + "targets": [ + ["css=#story0_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='story0_chosen']/a", "xpath:idRelative"], + ["xpath=//td[4]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "a26b157c-a7b0-4a38-8874-7a81d67407da", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='story0_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td[4]/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'36:零用例软件需求2 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "00f14143-dcad-4339-b98f-08f4ffb7f87f", + "comment": "", + "command": "click", + "target": "id=title[0]", + "targets": [ + ["id=title[0]", "id"], + ["name=title[0]", "name"], + ["css=#title\\[0\\]", "css:finder"], + ["xpath=//input[@id='title[0]']", "xpath:attributes"], + ["xpath=//table[@id='tableBody']/tbody/tr/td[5]/div/input", "xpath:idRelative"], + ["xpath=//td[5]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "aaf7f88d-437d-4c59-89b9-fe418b924d65", + "comment": "", + "command": "type", + "target": "id=title[0]", + "targets": [ + ["id=title[0]", "id"], + ["name=title[0]", "name"], + ["css=#title\\[0\\]", "css:finder"], + ["xpath=//input[@id='title[0]']", "xpath:attributes"], + ["xpath=//table[@id='tableBody']/tbody/tr/td[5]/div/input", "xpath:idRelative"], + ["xpath=//td[5]/div/input", "xpath:position"] + ], + "value": "测试用例02" + }, { + "id": "f8d34467-de1f-411c-b0a3-9ca266ea9143", + "comment": "", + "command": "click", + "target": "css=.pull-right > .btn", + "targets": [ + ["css=.pull-right > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/button", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'多项录入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4b3d4679-6fcc-45ee-a080-1f648cce8c37", + "comment": "", + "command": "mouseOver", + "target": "css=.pull-right > .btn", + "targets": [ + ["css=.pull-right > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/button", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'多项录入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6fe88266-d428-450c-9d5b-aabde47d41c5", + "comment": "", + "command": "mouseOut", + "target": "css=.pull-right > .btn", + "targets": [ + ["css=.pull-right > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div/button", "xpath:idRelative"], + ["xpath=//main/div/div/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'多项录入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "efa72d92-80e6-491a-8691-52911a8e8e11", + "comment": "", + "command": "click", + "target": "id=importLines", + "targets": [ + ["id=importLines", "id"], + ["name=importLines", "name"], + ["css=#importLines", "css:finder"], + ["xpath=//textarea[@id='importLines']", "xpath:attributes"], + ["xpath=//div[@id='importLinesModal']/div/div/div[2]/textarea", "xpath:idRelative"], + ["xpath=//div[2]/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "4270ee73-a995-4106-a74e-2edab055c7cf", + "comment": "", + "command": "click", + "target": "id=importLines", + "targets": [ + ["id=importLines", "id"], + ["name=importLines", "name"], + ["css=#importLines", "css:finder"], + ["xpath=//textarea[@id='importLines']", "xpath:attributes"], + ["xpath=//div[@id='importLinesModal']/div/div/div[2]/textarea", "xpath:idRelative"], + ["xpath=//div[2]/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "f32a3ab4-542e-4504-bcb8-db0d7e9aa73b", + "comment": "", + "command": "type", + "target": "id=importLines", + "targets": [ + ["id=importLines", "id"], + ["name=importLines", "name"], + ["css=#importLines", "css:finder"], + ["xpath=//textarea[@id='importLines']", "xpath:attributes"], + ["xpath=//div[@id='importLinesModal']/div/div/div[2]/textarea", "xpath:idRelative"], + ["xpath=//div[2]/textarea", "xpath:position"] + ], + "value": "测试用例03\\n测试用例04" + }, { + "id": "6c1a2dc0-4402-46d3-9025-3c256158a786", + "comment": "", + "command": "click", + "target": "id=importLinesBtn", + "targets": [ + ["id=importLinesBtn", "id"], + ["css=#importLinesBtn", "css:finder"], + ["xpath=//button[@id='importLinesBtn']", "xpath:attributes"], + ["xpath=//div[@id='importLinesModal']/div/div/div[3]/button", "xpath:idRelative"], + ["xpath=//div/div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "b40b4ff5-1973-4b14-be87-ccc8cbe6af58", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='tableBody']/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "7142bf14-ce93-4d19-8766-9b281de5dd08", + "comment": "", + "command": "click", + "target": "css=.btn-primary:nth-child(2)", + "targets": [ + ["css=.btn-primary:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div[3]/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"] + ], + "value": "" + }, { + "id": "cab5e969-656a-4ca5-968c-4fc7b6286e24", + "comment": "", + "command": "click", + "target": "id=mainMenu", + "targets": [ + ["id=mainMenu", "id"], + ["css=#mainMenu", "css:finder"], + ["xpath=//div[@id='mainMenu']", "xpath:attributes"], + ["xpath=//main[@id='main']/div/div[2]", "xpath:idRelative"], + ["xpath=//main/div/div[2]", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "43cf968e-85db-4510-bf18-3efe51a8f2b0", + "name": "testcase_browse_needconfirm", + "commands": [{ + "id": "5e5eb871-019e-4a06-b594-9e07d746f331", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testcase-browse-2-0-all.html", + "targets": [], + "value": "" + }, { + "id": "5a5fda24-ef37-410f-ad1a-65135e774fd7", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "9c807178-86d8-4bdd-917a-ca3b954d99d3", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "7f26bd52-d1d1-461d-b4ea-60dce2de9de1", + "comment": "", + "command": "click", + "target": "id=needconfirmTab", + "targets": [ + ["id=needconfirmTab", "id"], + ["linkText=软件需求变动", "linkText"], + ["css=#needconfirmTab", "css:finder"], + ["xpath=//a[@id='needconfirmTab']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-needconfirm.html')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,'软件需求变动')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b040ca09-8e65-4a98-bf15-c148635ab114", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-down", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-needconfirm-0-id_asc-7-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6c6bf2f1-4f17-4c9a-a6a3-3055c4ebe6ae", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-needconfirm-0-id_desc-7-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "666b2b6a-c642-4551-a5ea-0dafe0a24726", + "comment": "", + "command": "click", + "target": "linkText=用例标题", + "targets": [ + ["linkText=用例标题", "linkText"], + ["css=.c-title > .header", "css:finder"], + ["xpath=//a[contains(text(),'用例标题')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-needconfirm-0-title_asc-7-20.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b38a6ac8-b7a9-4ec8-a9ef-e35d0b82ebb8", + "comment": "", + "command": "click", + "target": "linkText=用例标题", + "targets": [ + ["linkText=用例标题", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'用例标题')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-needconfirm-0-title_desc-7-20.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5b0e2f01-d010-4f6d-9bda-3e8c715724b6", + "comment": "", + "command": "click", + "target": "linkText=测试用例01", + "targets": [ + ["linkText=测试用例33", "linkText"], + ["css=tr:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'测试用例33')]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-18-1.html')]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试用例33')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e5e6df5c-ef99-4e87-bbc6-35e5c78e6408", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testcase-browse-2-0-needconfirm-0-title_desc-7-20.html')])[2]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "ed7eb6b3-bd4d-47e9-baad-d84d6ac0d50c", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-testcase-confirmstorychange", + "targets": [ + ["css=tr:nth-child(1) .icon-testcase-confirmstorychange", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[13]/a/i", "xpath:idRelative"], + ["xpath=//td[13]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "71d750bb-57b9-4698-9e32-935c852ec447", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='caseForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a8a63006-3361-493a-8f19-c79fa127835c", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(3)", + "targets": [ + ["css=.dropdown-toggle:nth-child(3)", "css:finder"], + ["xpath=(//button[@type='button'])[10]", "xpath:attributes"], + ["xpath=//form[@id='caseForm']/div[3]/div[2]/div/button[3]", "xpath:idRelative"], + ["xpath=//button[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "dee9845e-d6e7-4615-9cc4-0e461984b808", + "comment": "", + "command": "click", + "target": "css=html", + "targets": [ + ["css=html", "css:finder"], + ["xpath=//html", "xpath:position"] + ], + "value": "" + }, { + "id": "c75ba90c-0cb4-4254-8e7e-2d11ac69ae2d", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='caseForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ac0fb8cc-126b-46d5-affc-0194fb07b6db", + "comment": "", + "command": "click", + "target": "linkText=测试用例01", + "targets": [ + ["linkText=测试用例22", "linkText"], + ["css=tr:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'测试用例22')]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-17-1.html')]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试用例22')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "54738a33-d9a1-4723-a090-3c1ae351c501", + "comment": "", + "command": "click", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-17.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "cc942351-d41a-4204-b2f4-54f72fcd4d08", + "comment": "", + "command": "mouseOver", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-17.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9151fdd9-3aae-4617-97cb-88bce42f74dd", + "comment": "", + "command": "mouseOut", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-17.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "af5fe7de-ea08-441c-97e2-0a7fa61b6d5a", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "74f43b97-d449-40a5-8212-c6f0ad52207a", + "comment": "", + "command": "click", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "7d96d17d-103d-473c-ba4c-499a02b9c07b", + "comment": "", + "command": "type", + "target": "id=consumed[1]", + "targets": [ + ["id=consumed[1]", "id"], + ["name=consumed[1]", "name"], + ["css=#consumed\\[1\\]", "css:finder"], + ["xpath=//input[@id='consumed[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/input", "xpath:idRelative"], + ["xpath=//td[3]/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "e97e7a2d-795b-4584-b86f-3f060ca4f94e", + "comment": "", + "command": "click", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "8ba5804d-2975-405a-a50d-9eeb11ad403d", + "comment": "", + "command": "type", + "target": "id=work[1]", + "targets": [ + ["id=work[1]", "id"], + ["name=work[1]", "name"], + ["css=#work\\[1\\]", "css:finder"], + ["xpath=//textarea[@id='work[1]']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[4]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "1" + }, { + "id": "26160eed-0536-41ad-814a-8e12415289de", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a221a31-4cd8-44f2-b02c-78659843391e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "03e5ce10-19c5-41bd-a13c-c47358ab8a44", + "comment": "", + "command": "click", + "target": "linkText=执行", + "targets": [ + ["linkText=执行", "linkText"], + ["css=.btn:nth-child(5)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-runCase-0-17-1.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,' 执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "431cf0b3-21be-41f4-ac35-4e74bf56e76a", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "a45c3a4b-bbd0-4c87-9b46-4db3cc8fa90a", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='steps']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//tr[2]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "94450f52-3948-4f1a-b2ed-8eb3cb95e2e5", + "comment": "", + "command": "click", + "target": "css=.form-actions", + "targets": [ + ["css=.form-actions", "css:finder"], + ["xpath=//table[@id='steps']/tbody/tr[4]/td", "xpath:idRelative"], + ["xpath=//tr[4]/td", "xpath:position"] + ], + "value": "" + }, { + "id": "d970904e-4b80-4df8-9296-e2242234af91", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "63dc0c53-0dd9-434f-883f-fabd7bee4bad", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2ba044b5-8368-4ba7-a3df-aa0f64ae0978", + "comment": "", + "command": "click", + "target": "linkText=结果", + "targets": [ + ["linkText=结果", "linkText"], + ["css=.btn:nth-child(6)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[4]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-17-1.html')]", "xpath:href"], + ["xpath=//a[4]", "xpath:position"], + ["xpath=//a[contains(.,' 结果')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "492133cc-634a-4795-9b8f-89a1ff7fb0f5", + "comment": "", + "command": "mouseOver", + "target": "linkText=结果", + "targets": [ + ["linkText=结果", "linkText"], + ["css=.btn:nth-child(6)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[4]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-17-1.html')]", "xpath:href"], + ["xpath=//a[4]", "xpath:position"], + ["xpath=//a[contains(.,' 结果')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0aa4cf5-cc24-4033-a2f4-74159acd3592", + "comment": "", + "command": "mouseOut", + "target": "linkText=结果", + "targets": [ + ["linkText=结果", "linkText"], + ["css=.btn:nth-child(6)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[4]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-17-1.html')]", "xpath:href"], + ["xpath=//a[4]", "xpath:position"], + ["xpath=//a[contains(.,' 结果')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6b06cb6e-8809-4ec0-bced-65a374b63b57", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ac9afcbd-add1-47e3-9cce-ebe2a46aba14", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(8)", + "targets": [ + ["css=.btn:nth-child(8)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-edit-17.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"] + ], + "value": "" + }, { + "id": "9b108c3d-a78c-48f3-8b09-e9f783481ac8", + "comment": "", + "command": "click", + "target": "id=precondition", + "targets": [ + ["id=precondition", "id"], + ["name=precondition", "name"], + ["css=#precondition", "css:finder"], + ["xpath=//textarea[@id='precondition']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div/div/div/div[2]/div[2]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "d4bb2cad-7a77-4135-adc6-b34bfc5da998", + "comment": "", + "command": "type", + "target": "id=precondition", + "targets": [ + ["id=precondition", "id"], + ["name=precondition", "name"], + ["css=#precondition", "css:finder"], + ["xpath=//textarea[@id='precondition']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div/div/div/div[2]/div[2]/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "1" + }, { + "id": "77495738-8126-4c59-acd0-1d7d95063925", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/div/div/div/div[6]/button", "xpath:idRelative"], + ["xpath=//div[6]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "01ff462d-4c79-4594-b091-b68cdb574a15", + "comment": "", + "command": "click", + "target": "css=.icon-common-copy", + "targets": [ + ["css=.icon-common-copy", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[6]/i", "xpath:idRelative"], + ["xpath=//a[6]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "667616c8-cc8f-4b2e-9650-2b40075a1c11", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2b6de8b1-67cb-41ca-99c8-24742b290dc4", + "comment": "", + "command": "click", + "target": "css=.icon-goback", + "targets": [ + ["css=.icon-goback", "css:finder"], + ["xpath=//a[@id='back']/i", "xpath:idRelative"], + ["xpath=//div[2]/div/a/i", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "d9e198c6-c658-442a-b54b-28b09eb2e597", + "name": "testcase_groupcase", + "commands": [{ + "id": "c2f05901-e98f-4e77-8c22-216961f4639d", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testcase-groupCase-2-0-story.html", + "targets": [], + "value": "" + }, { + "id": "ec8dba28-f4e5-49c7-972e-fb2e773c3ffd", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "fb92ade8-ab32-4611-a2ef-4055ff6156af", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "84fd2c63-1c2a-4bf1-b306-c206403b49c5", + "comment": "", + "command": "click", + "target": "css=.group-collapse-all", + "targets": [ + ["css=.group-collapse-all", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/thead/tr/th/div/button", "xpath:idRelative"], + ["xpath=//th/div/button", "xpath:position"], + ["xpath=//button[contains(.,'全部折叠 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4cb9d2cc-f5af-40b5-9935-8c86bf30ce67", + "comment": "", + "command": "click", + "target": "css=.icon-caret-up", + "targets": [ + ["css=.icon-caret-up", "css:finder"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/thead/tr/th/div/button[2]/i", "xpath:idRelative"], + ["xpath=//button[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "e94ac946-58f4-41d4-91ce-2590fc8263dd", + "comment": "", + "command": "click", + "target": "css=.divider-top:nth-child(1) .icon-caret-down", + "targets": [ + ["css=.divider-top:nth-child(1) .icon-caret-down", "css:finder"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr/td/div/a/i", "xpath:idRelative"], + ["xpath=//td/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "3ab83b50-fc22-4056-954c-aa7d7fe90abb", + "comment": "", + "command": "click", + "target": "css=.group-toggle:nth-child(8) .icon-caret-right", + "targets": [ + ["css=.group-toggle:nth-child(8) .icon-caret-right", "css:finder"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr[8]/td/a/i", "xpath:idRelative"], + ["xpath=//tr[8]/td/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4d70f228-9621-4d33-b540-22f78dec606a", + "comment": "", + "command": "click", + "target": "linkText=无软件需求", + "targets": [ + ["linkText=无软件需求", "linkText"], + ["css=.divider-top:nth-child(1) .text-primary", "css:finder"], + ["xpath=//a[contains(text(),'无软件需求')]", "xpath:link"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr/td/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '###')]", "xpath:href"], + ["xpath=//td/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 无软件需求')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "edf1834b-105a-472b-9107-5912a290e4c1", + "comment": "", + "command": "click", + "target": "linkText=无软件需求", + "targets": [ + ["linkText=无软件需求", "linkText"], + ["css=.group-toggle:nth-child(8) a", "css:finder"], + ["xpath=(//a[contains(text(),'无软件需求')])[2]", "xpath:link"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr[8]/td/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[2]", "xpath:href"], + ["xpath=//tr[8]/td/a", "xpath:position"] + ], + "value": "" + }, { + "id": "7789b332-62f9-4922-8268-d28ec67db5a9", + "comment": "", + "command": "click", + "target": "linkText=软件需求1", + "targets": [ + ["linkText=软件需求1", "linkText"], + ["css=.divider-top:nth-child(9) .text-primary", "css:finder"], + ["xpath=//a[contains(text(),'软件需求1')]", "xpath:link"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr[9]/td/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[3]", "xpath:href"], + ["xpath=//tr[9]/td/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 软件需求1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "72346596-f5c4-4d06-9e15-b7a62f206bae", + "comment": "", + "command": "click", + "target": "css=.group-toggle:nth-child(15) > .c-side", + "targets": [ + ["css=.group-toggle:nth-child(15) > .c-side", "css:finder"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr[15]/td", "xpath:idRelative"], + ["xpath=//tr[15]/td", "xpath:position"] + ], + "value": "" + }, { + "id": "e242c5be-b682-4866-b37a-0e9081c92530", + "comment": "", + "command": "click", + "target": "linkText=用例测试01", + "targets": [ + ["linkText=用例测试01", "linkText"], + ["css=.divider-top:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'用例测试01')]", "xpath:link"], + ["xpath=//div[@id='table-11ulx8w18lq']/table/tbody/tr/td[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-1.html')]", "xpath:href"], + ["xpath=//td[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例测试01')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a5ed581-f107-41e8-8ea2-8f4536bfa27e", + "comment": "", + "command": "click", + "target": "css=.icon-goback", + "targets": [ + ["css=.icon-goback", "css:finder"], + ["xpath=//a[@id='back']/i", "xpath:idRelative"], + ["xpath=//div[2]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "f062aef3-c6d9-41c9-9915-bfbfe988e5d1", + "comment": "", + "command": "click", + "target": "css=.divider-top:nth-child(1) .icon-common-edit", + "targets": [ + ["css=.divider-top:nth-child(1) .icon-common-edit", "css:finder"], + ["xpath=//div[@id='table-11uly0cfiaa']/table/tbody/tr/td[13]/a/i", "xpath:idRelative"], + ["xpath=//td[13]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "17439641-eda3-40e6-8b1a-4cfc9d3ef2eb", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(1) > .btn-link", + "targets": [ + ["css=.btn-group:nth-child(1) > .btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' 导出 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60248e41-41f4-467a-865d-6522ab95b19b", + "comment": "", + "command": "click", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-story-0-group.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f745b76d-62d8-4c43-995f-a7a37085335a", + "comment": "", + "command": "mouseOver", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-story-0-group.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "13dcfabc-5100-4741-9615-4f726b43e3b0", + "comment": "", + "command": "mouseOut", + "target": "css=#exportActionMenu > li:nth-child(1) > .export", + "targets": [ + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-story-0-group.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d63ec7f8-dabd-4b2d-996b-749b96f5edc6", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "b5666ce2-e3f5-40ab-9926-e274391f2afe", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[7]/td/button", "xpath:idRelative"], + ["xpath=//tr[7]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'导出')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8b30e6f0-a8c5-472c-93df-9343a042d4ac", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ce1b1582-da64-4bbe-87c1-4f87b59b13f4", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(1) > .btn-link", + "targets": [ + ["css=.btn-group:nth-child(1) > .btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' 导出 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "728a33e5-06b3-4f3f-b12e-04c87fafb0d9", + "comment": "", + "command": "click", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=li:nth-child(2) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-exportTemplet-2.html')]", "xpath:href"], + ["xpath=//div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2316dabe-7960-4feb-8bae-2729ac4d15f3", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "c7eecf43-a87d-4e4b-b68d-7c06d2869561", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6dc42f74-0bc7-4cea-9f41-3fda817a288f", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "940d12f2-9354-40c5-a1f7-6fa1a1895ef1", + "comment": "", + "command": "click", + "target": "css=.icon-import", + "targets": [ + ["css=.icon-import", "css:finder"], + ["xpath=//button[@id='importAction']/i", "xpath:idRelative"], + ["xpath=//div[2]/button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "87b9e09f-0410-433d-9dfd-5de8b0064126", + "comment": "", + "command": "click", + "target": "linkText=导入Excel", + "targets": [ + ["linkText=导入Excel", "linkText"], + ["css=#importActionMenu .export", "css:finder"], + ["xpath=//a[contains(text(),'导入Excel')]", "xpath:link"], + ["xpath=//ul[@id='importActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-import-2-0.html')]", "xpath:href"], + ["xpath=//div[3]/div[2]/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导入Excel')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "def730f7-eed1-4667-9ce8-afa351ee90ee", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "79247743-fb65-45be-ad58-e94bfe9dffc6", + "comment": "", + "command": "click", + "target": "id=importAction", + "targets": [ + ["id=importAction", "id"], + ["css=#importAction", "css:finder"], + ["xpath=//button[@id='importAction']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[3]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,' 导入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "89faa5a1-57a6-4774-ad1b-3dbb82af9b04", + "comment": "", + "command": "click", + "target": "linkText=从用例库中导入", + "targets": [ + ["linkText=从用例库中导入", "linkText"], + ["css=#importActionMenu > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'从用例库中导入')]", "xpath:link"], + ["xpath=//ul[@id='importActionMenu']/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-importFromLib-2-0.html')]", "xpath:href"], + ["xpath=//div[2]/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'从用例库中导入')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "018d0fef-8437-4495-ba01-f9d17858c3a5", + "comment": "", + "command": "click", + "target": "css=.btn-toolbar:nth-child(3) > .btn", + "targets": [ + ["css=.btn-toolbar:nth-child(3) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//form[@id='importFromLib']/div/div[3]/button", "xpath:idRelative"], + ["xpath=//div[3]/button", "xpath:position"], + ["xpath=//button[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "45669cc1-b4aa-4cd1-ac8f-0dd632134c8f", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/div/div/div/div[6]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//div[6]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "72dcb868-2277-4cd3-85f6-8ff19e745b49", + "name": " testcase_browse_bysuite", + "commands": [{ + "id": "8ffdb58e-c4a8-4b67-a864-f71de5d7c57e", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testcase-browse-2-0-bySuite-5.html", + "targets": [], + "value": "" + }, { + "id": "29116509-18f8-49ae-9177-7ab82cb95778", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "8e9c5afe-4a4b-43c9-92dc-daa1db8e316f", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "0cadab3f-7380-46cc-8e1f-96da5aa63a87", + "comment": "", + "command": "click", + "target": "linkText=用例测试01", + "targets": [ + ["linkText=用例测试01", "linkText"], + ["css=.text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'用例测试01')]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-1-1.html')]", "xpath:href"], + ["xpath=//td[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例测试01')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3f603209-8fb7-4f31-ad31-d2111272a76d", + "comment": "", + "command": "click", + "target": "css=.icon-goback", + "targets": [ + ["css=.icon-goback", "css:finder"], + ["xpath=//a[@id='back']/i", "xpath:idRelative"], + ["xpath=//div[2]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "92573fee-7b07-4a7f-9195-982f99eb0562", + "comment": "", + "command": "click", + "target": "linkText=用例标题", + "targets": [ + ["linkText=用例标题", "linkText"], + ["css=.c-title > .header", "css:finder"], + ["xpath=//a[contains(text(),'用例标题')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-bysuite-5-title_asc-1-20.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例标题')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e4172dc5-e529-431f-92a8-c0580e92eef5", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.header:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-bysuite-5-id_asc-1-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "705cdc73-8f62-4d8d-9820-60aad61f6961", + "comment": "", + "command": "click", + "target": "css=tbody .c-results", + "targets": [ + ["css=tbody .c-results", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[11]", "xpath:idRelative"], + ["xpath=//td[11]", "xpath:position"] + ], + "value": "" + }, { + "id": "624819d1-a772-4d66-ae18-ccec4e9df630", + "comment": "", + "command": "click", + "target": "css=.checked > .c-results", + "targets": [ + ["css=.checked > .c-results", "css:finder"], + ["xpath=//table[@id='caseList']/tbody/tr/td[11]", "xpath:idRelative"], + ["xpath=//td[11]", "xpath:position"] + ], + "value": "" + }, { + "id": "36808e55-b02a-48d1-acae-16884bb57d87", + "comment": "", + "command": "mouseOver", + "target": "linkText=3", + "targets": [ + ["linkText=3", "linkText"], + ["css=.c-results > .iframe", "css:finder"], + ["xpath=(//a[contains(text(),'3')])[2]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[11]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-1.html')]", "xpath:href"], + ["xpath=//td[11]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "5b4b4ffe-9264-47c5-a55e-0d68510f11b1", + "comment": "", + "command": "click", + "target": "linkText=3", + "targets": [ + ["linkText=3", "linkText"], + ["css=.c-results > .iframe", "css:finder"], + ["xpath=(//a[contains(text(),'3')])[2]", "xpath:link"], + ["xpath=//table[@id='caseList']/tbody/tr/td[11]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-results-0-1.html')]", "xpath:href"], + ["xpath=//td[11]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "8a84e607-aba2-41c2-9a47-a2e3fe2efcbe", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "47225490-0e9f-42f2-b0e8-5fb9d867031c", + "comment": "", + "command": "click", + "target": "css=#tr-detail_1 .btn", + "targets": [ + ["css=#tr-detail_1 .btn", "css:finder"], + ["xpath=//button[@type='button']", "xpath:attributes"], + ["xpath=//tr[@id='tr-detail_1']/td/form/table/tbody/tr[2]/td[7]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'转Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c84485d0-5de2-45c0-b978-8e40d89347ec", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4037d3e7-d1e6-47ea-af09-aeb7da366e37", + "comment": "", + "command": "click", + "target": "linkText=用例", + "targets": [ + ["linkText=用例", "linkText"], + ["css=.nav > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'用例')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2.html')]", "xpath:href"], + ["xpath=//li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2a0c987b-e0fb-4879-b92c-57e5472a3bfc", + "comment": "", + "command": "click", + "target": "css=#groupTab .text", + "targets": [ + ["css=#groupTab .text", "css:finder"], + ["xpath=//div[@id='groupTab']/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'软件需求分组')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5099576a-8147-4a4f-a006-40a959d7d1e1", + "comment": "", + "command": "click", + "target": "css=#bysuiteTab .text", + "targets": [ + ["css=#bysuiteTab .text", "css:finder"], + ["xpath=//div[@id='bysuiteTab']/a/span", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/a/span", "xpath:position"], + ["xpath=//span[contains(.,'套件')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e05c8410-72ae-45b0-8e0c-db2e47c18b15", + "comment": "", + "command": "click", + "target": "linkText=旗舰版套件", + "targets": [ + ["linkText=旗舰版套件", "linkText"], + ["css=#bysuiteTab > .dropdown-menu a", "css:finder"], + ["xpath=//a[contains(text(),'旗舰版套件')]", "xpath:link"], + ["xpath=//div[@id='bysuiteTab']/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-browse-2-0-bySuite-5.html')]", "xpath:href"], + ["xpath=//div[2]/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'旗舰版套件')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "1ab2eb9a-abb9-42ed-9fc0-744e8b706d05", + "name": "story_zerocase", + "commands": [{ + "id": "5bcf011d-0f88-4f1c-9e82-a4a33b7e0086", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/story-zerocase-2.html", + "targets": [], + "value": "" + }, { + "id": "35ee301a-ea3f-4064-bb0b-f6d43dec3ba2", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "c9d164db-acdc-4b02-bd4f-550f4a4355ea", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "03cf914d-569b-41de-aa6f-df156053ca98", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-down", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='storyList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-id_asc.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "373f00af-35a0-4ac1-bac5-a78ed7914739", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='storyList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-id_desc.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "c0f9bd30-be23-4d83-a2df-a7875b1cddf8", + "comment": "", + "command": "click", + "target": "linkText=软件需求名称", + "targets": [ + ["linkText=软件需求名称", "linkText"], + ["css=.w-p30 > .header", "css:finder"], + ["xpath=//a[contains(text(),'软件需求名称')]", "xpath:link"], + ["xpath=//table[@id='storyList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-title_asc.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'软件需求名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f6e7681a-dc05-4ea6-a661-8edf98b90b1a", + "comment": "", + "command": "click", + "target": "linkText=软件需求名称", + "targets": [ + ["linkText=软件需求名称", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'软件需求名称')]", "xpath:link"], + ["xpath=//table[@id='storyList']/thead/tr/th[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-title_desc.html')]", "xpath:href"], + ["xpath=//th[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'软件需求名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a41dd5c-d7c5-49c8-8c19-e1c9bc85b106", + "comment": "", + "command": "click", + "target": "linkText=零用例软件需求1", + "targets": [ + ["linkText=零用例软件需求1", "linkText"], + ["css=nobr > a", "css:finder"], + ["xpath=//a[contains(text(),'零用例软件需求1')]", "xpath:link"], + ["xpath=//table[@id='storyList']/tbody/tr/td[3]/nobr/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-view-35-0-0.html')]", "xpath:href"], + ["xpath=//nobr/a", "xpath:position"], + ["xpath=//a[contains(.,'零用例软件需求1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0491248d-6f74-4864-8149-db2eb0565bfb", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "506831ef-f335-443e-a14f-017caeda6638", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "b4805d37-d7e6-4f95-9ce2-b4925e7bc3aa", + "comment": "", + "command": "click", + "target": "css=.icon-goback", + "targets": [ + ["css=.icon-goback", "css:finder"], + ["xpath=//a[@id='back']/i", "xpath:idRelative"], + ["xpath=//div[3]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c334d752-539c-4cdb-abb3-b592914d6805", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "3851dc3f-3818-42a3-bfaa-c5e27810bf88", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "09fb1449-adb2-4c20-8fe8-fdf37ced46aa", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='productStoryForm']/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fc0d4972-ec5d-4941-aa32-ad9aeb6db171", + "comment": "", + "command": "click", + "target": "css=.table-actions > .btn", + "targets": [ + ["css=.table-actions > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[5]", "xpath:attributes"], + ["xpath=//form[@id='productStoryForm']/div/div[2]/button", "xpath:idRelative"], + ["xpath=//form/div/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e452ec04-4725-476c-8be2-23d79069675a", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='batchEditForm']/div/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "deb54b7a-5d7a-451d-b322-660890b6b0d3", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='productStoryForm']/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6b141a03-f46a-4df0-a642-03f78ba3a299", + "comment": "", + "command": "click", + "target": "css=.dropup:nth-child(2) > .btn", + "targets": [ + ["css=.dropup:nth-child(2) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//form[@id='productStoryForm']/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'评审')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "37d98b53-4120-468f-90f8-06beff3c9a09", + "comment": "", + "command": "click", + "target": "css=.dropup:nth-child(3) > .btn", + "targets": [ + ["css=.dropup:nth-child(3) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[7]", "xpath:attributes"], + ["xpath=//form[@id='productStoryForm']/div/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'阶段')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ca97aa08-355d-4a8d-a4e1-a10c519064ea", + "comment": "", + "command": "click", + "target": "css=html", + "targets": [ + ["css=html", "css:finder"], + ["xpath=//html", "xpath:position"] + ], + "value": "" + }, { + "id": "778311c9-a5b8-436d-8a3b-ab5a4d24036d", + "comment": "", + "command": "click", + "target": "css=.icon-story-change", + "targets": [ + ["css=.icon-story-change", "css:finder"], + ["xpath=//table[@id='storyList']/tbody/tr/td[11]/a/i", "xpath:idRelative"], + ["xpath=//td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a71e3bbf-f709-4878-8b2c-3123c4396746", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "debfdf8c-c6de-4b6c-b716-108a56be159a", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "9d8762f7-4717-4055-808f-ec3deb279f5a", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn:nth-child(4)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[9]/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-title_desc.html#app=qa')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8ee1a4f6-fe8d-4916-9598-8c33f9286a12", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "ed7628b9-5b8a-42a7-83bd-c78547384fe6", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "8b2807e7-263c-46e9-a113-20b16c4149eb", + "comment": "", + "command": "click", + "target": "css=.icon-story-review", + "targets": [ + ["css=.icon-story-review", "css:finder"], + ["xpath=//table[@id='storyList']/tbody/tr/td[11]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "68082ac5-5767-4d67-b7ae-60e7d923f3e2", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "506ec476-c9b4-4401-8d8a-20453fe2b745", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "40e6f707-b301-4c41-94bf-95e930f0f3ca", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/form/table/tbody/tr[13]/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-title_desc.html#app=qa')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "38d1f8cd-14f8-43d3-b9ff-0846beef5d4e", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4c110994-72d6-43b2-a134-71654acc49bb", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "84caf199-fa85-4e72-ae93-2a5d5a07d8df", + "comment": "", + "command": "click", + "target": "css=.icon-story-close", + "targets": [ + ["css=.icon-story-close", "css:finder"], + ["xpath=//table[@id='storyList']/tbody/tr/td[11]/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "dff5f2d6-c01a-48fd-9f93-81947a56835d", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2bf17780-554d-4069-8a77-a56ac7d8d262", + "comment": "", + "command": "click", + "target": "css=.icon-common-edit", + "targets": [ + ["css=.icon-common-edit", "css:finder"], + ["xpath=//table[@id='storyList']/tbody/tr/td[11]/a[4]/i", "xpath:idRelative"], + ["xpath=//a[4]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "36e3da13-cbf1-4fb2-8229-119c9051e6a9", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "1560a561-6bcf-41e4-bc36-762eed436dcc", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "87ce350e-da15-483a-adbe-f68dcfca0b91", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn:nth-child(4)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/div[2]/div/div/div[5]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/story-zerocase-2-0-title_desc.html#app=qa')]", "xpath:href"], + ["xpath=//div[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e39e05f6-f85b-4e51-a56a-e8b07f85546f", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4b36603f-bb6d-4179-b6c3-3037992e687a", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "44825dbe-7e78-4f1e-9506-fee2f2451914", + "comment": "", + "command": "click", + "target": "css=.icon-testcase-create", + "targets": [ + ["css=.icon-testcase-create", "css:finder"], + ["xpath=//table[@id='storyList']/tbody/tr/td[11]/a[5]/i", "xpath:idRelative"], + ["xpath=//a[5]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "1f36fad8-f83e-4a7f-b9a1-0485144bf7ae", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "46ba4a49-6ffd-452f-aa62-c4030f16b991", + "name": "testtask_browseunits", + "commands": [{ + "id": "e39aec0c-3e01-4808-a5b0-81d975923c0b", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testtask-browseUnits-2.html", + "targets": [], + "value": "" + }, { + "id": "6c12dd5a-cbf7-40ad-a934-fcd6d9daf7ac", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "1a309cee-b261-44d3-873f-527f08d4ae46", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "cc252697-04c0-4008-b21b-056caa2c949e", + "comment": "", + "command": "click", + "target": "css=#allUnitTab > .text", + "targets": [ + ["css=#allUnitTab > .text", "css:finder"], + ["xpath=//a[@id='allUnitTab']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "426fb6ec-9453-42f4-b23b-ddee67c25f09", + "comment": "", + "command": "click", + "target": "css=#newestUnitTab > .text", + "targets": [ + ["css=#newestUnitTab > .text", "css:finder"], + ["xpath=//a[@id='newestUnitTab']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'最近')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fc93efa8-9fa4-42b7-b62e-5e37438d83cf", + "comment": "", + "command": "click", + "target": "id=thisWeekUnitTab", + "targets": [ + ["id=thisWeekUnitTab", "id"], + ["linkText=本周", "linkText"], + ["css=#thisWeekUnitTab", "css:finder"], + ["xpath=//a[@id='thisWeekUnitTab']", "xpath:attributes"], + ["xpath=//div[@id='sidebar']/div[2]/div/div/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browseUnits-2-thisWeek-id_desc.html')]", "xpath:href"], + ["xpath=//div[2]/div/div/a[3]", "xpath:position"], + ["xpath=//a[contains(.,'本周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e967facf-30dc-48df-b60a-abaf104d3ab0", + "comment": "", + "command": "click", + "target": "css=#lastWeekUnitTab > .text", + "targets": [ + ["css=#lastWeekUnitTab > .text", "css:finder"], + ["xpath=//a[@id='lastWeekUnitTab']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'上周')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1788fae0-cb3b-4949-95f6-2d4c7432ffde", + "comment": "", + "command": "click", + "target": "css=#thisMonthUnitTab > .text", + "targets": [ + ["css=#thisMonthUnitTab > .text", "css:finder"], + ["xpath=//a[@id='thisMonthUnitTab']/span", "xpath:idRelative"], + ["xpath=//a[5]/span", "xpath:position"], + ["xpath=//span[contains(.,'本月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9e43141d-ade2-4308-822a-56a4b0c42ce0", + "comment": "", + "command": "click", + "target": "css=#lastMonthUnitTab > .text", + "targets": [ + ["css=#lastMonthUnitTab > .text", "css:finder"], + ["xpath=//a[@id='lastMonthUnitTab']/span", "xpath:idRelative"], + ["xpath=//a[6]/span", "xpath:position"], + ["xpath=//span[contains(.,'上月')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d89efeb6-ec8c-4680-b211-96b41da7ded7", + "comment": "", + "command": "click", + "target": "css=#newestUnitTab > .text", + "targets": [ + ["css=#newestUnitTab > .text", "css:finder"], + ["xpath=//a[@id='newestUnitTab']/span", "xpath:idRelative"], + ["xpath=//div[2]/div/div/a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'最近')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fa272048-30c0-4d7c-81ba-e89946368e1b", + "comment": "", + "command": "click", + "target": "linkText=2021-04-25 13:07:53 自动化测试", + "targets": [ + ["linkText=2021-04-25 13:07:53 自动化测试", "linkText"], + ["css=.c-name:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'2021-04-25 13:07:53 自动化测试')]", "xpath:link"], + ["xpath=//table[@id='taskList']/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-unitCases-6.html')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'2021-04-25 13:07:53 自动化测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1f77ae18-5a5f-4ab5-a9f6-60c92f7d9290", + "comment": "", + "command": "click", + "target": "linkText=com.ngtesting.autotest.test.TestLogin 登录成功", + "targets": [ + ["linkText=com.ngtesting.autotest.test.TestLogin 登录成功", "linkText"], + ["css=.text-left:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'com.ngtesting.autotest.test.TestLogin 登录成功')]", "xpath:link"], + ["xpath=//div[@id='table-11utffw2t0i']/table/tbody/tr/td[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-view-11-1-testtask-6.html')]", "xpath:href"], + ["xpath=//td[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'com.ngtesting.autotest.test.TestLogin 登录成功')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "8a658484-f1fd-4269-9686-f80eb4d85a4b", + "comment": "", + "command": "click", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-11.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "fac6d11c-237e-49d4-898e-7e0f6a373f6a", + "comment": "", + "command": "mouseOver", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-11.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2dd523cf-d317-4507-a0d3-26fdfa5eb7b2", + "comment": "", + "command": "mouseOut", + "target": "linkText=日志", + "targets": [ + ["linkText=日志", "linkText"], + ["css=.effort", "css:finder"], + ["xpath=(//a[contains(text(),'日志')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/effort-createForObject-testcase-11.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 日志')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f791089d-a36e-4917-adee-b55261c10cb9", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4b984859-8c0d-4bda-973d-34340ca22739", + "comment": "", + "command": "click", + "target": "css=.icon-testtask-results", + "targets": [ + ["css=.icon-testtask-results", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "16fbbeb3-9238-4132-bc00-6ad2d425e5a0", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d0f601ca-b8a5-4277-81cc-9c5df64c9e67", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["css=#back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-unitCases-6.html')])[2]", "xpath:href"], + ["xpath=//div[2]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "e9c58f32-dba1-44c3-b72f-ca9548590f12", + "comment": "", + "command": "click", + "target": "css=.c-actions:nth-child(11) .icon-testtask-results", + "targets": [ + ["css=.c-actions:nth-child(11) .icon-testtask-results", "css:finder"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/tbody/tr/td[11]/a/i", "xpath:idRelative"], + ["xpath=//td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4d3f3f56-2173-4198-b295-62c7afe83c9d", + "comment": "", + "command": "mouseOver", + "target": "css=.c-actions:nth-child(11) .icon-testtask-results", + "targets": [ + ["css=.c-actions:nth-child(11) .icon-testtask-results", "css:finder"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/tbody/tr/td[11]/a/i", "xpath:idRelative"], + ["xpath=//td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "437cee3b-7384-45c1-8c93-a37c45229167", + "comment": "", + "command": "mouseOut", + "target": "css=.c-actions:nth-child(11) .icon-testtask-results", + "targets": [ + ["css=.c-actions:nth-child(11) .icon-testtask-results", "css:finder"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/tbody/tr/td[11]/a/i", "xpath:idRelative"], + ["xpath=//td[11]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "772c4a1b-df92-4adf-87eb-78e8cde13694", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5604116e-7dbe-4ad7-9991-b56a11407189", + "comment": "", + "command": "click", + "target": "css=.group-collapse-all", + "targets": [ + ["css=.group-collapse-all", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/thead/tr/th/div/button", "xpath:idRelative"], + ["xpath=//th/div/button", "xpath:position"], + ["xpath=//button[contains(.,'全部折叠 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0a4d0347-7d40-498b-ac9b-975c0d986b85", + "comment": "", + "command": "click", + "target": "css=.group-expand-all", + "targets": [ + ["css=.group-expand-all", "css:finder"], + ["xpath=(//button[@type='button'])[4]", "xpath:attributes"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/thead/tr/th/div/button[2]", "xpath:idRelative"], + ["xpath=//button[2]", "xpath:position"], + ["xpath=//button[contains(.,'全部展开 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "09dd42ea-f009-4f7f-be93-eecc7cee30fb", + "comment": "", + "command": "click", + "target": "linkText=com.ngtesting.autotest.test.TestLogin", + "targets": [ + ["linkText=com.ngtesting.autotest.test.TestLogin", "linkText"], + ["css=.text-primary", "css:finder"], + ["xpath=//a[contains(text(),'com.ngtesting.autotest.test.TestLogin')]", "xpath:link"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/tbody/tr/td/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '###')]", "xpath:href"], + ["xpath=//td/div/a", "xpath:position"], + ["xpath=//a[contains(.,' com.ngtesting.autotest.test.TestLogin')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "92b4a716-cd51-4e13-8896-ce0ac5d07549", + "comment": "", + "command": "click", + "target": "linkText=com.ngtesting.autotest.test.TestLogin", + "targets": [ + ["linkText=com.ngtesting.autotest.test.TestLogin", "linkText"], + ["css=.c-side > a", "css:finder"], + ["xpath=(//a[contains(text(),'com.ngtesting.autotest.test.TestLogin')])[5]", "xpath:link"], + ["xpath=//div[@id='table-11utg6tkfhs']/table/tbody/tr[4]/td/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[2]", "xpath:href"], + ["xpath=//tr[4]/td/a", "xpath:position"] + ], + "value": "" + }, { + "id": "72b4d8fc-9dcf-4866-b619-fda4f2224966", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browseUnits-2-newest-id_desc.html')]", "xpath:href"], + ["xpath=//main/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d201ea71-07bc-40a2-8e06-b9f0a2ad652a", + "comment": "", + "command": "click", + "target": "linkText=版本测试2", + "targets": [ + ["linkText=版本测试2", "linkText"], + ["css=.c-name:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'版本测试2')]", "xpath:link"], + ["xpath=//table[@id='taskList']/tbody/tr/td[4]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/build-view-7.html')]", "xpath:href"], + ["xpath=//td[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'版本测试2')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "2c7c3947-ac08-427f-b42f-737e9c7a19b4", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "1d1f0587-5b59-4867-9c84-855005b6a81a", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "ca16fa62-14e4-4f5f-8175-8dd22df489d3", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browseUnits-2-newest-id_desc.html#app=qa')]", "xpath:href"], + ["xpath=//main/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ba86a80e-c589-4309-9cf1-ffac867cef85", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4eb4ff2d-1fdf-4967-b019-2fb1f53cd036", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "2eacf12c-5646-41c8-ac2b-86f69666996f", + "comment": "", + "command": "click", + "target": "css=.icon-testtask-unitCases", + "targets": [ + ["css=.icon-testtask-unitCases", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a/i", "xpath:idRelative"], + ["xpath=//td[10]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "58affdd4-66d5-434f-b6b1-95660f11ef35", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browseUnits-2-newest-id_desc.html')]", "xpath:href"], + ["xpath=//main/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "89c2b5a6-0465-4e34-8c0f-45d4605fbf5b", + "comment": "", + "command": "click", + "target": "css=.icon-common-edit", + "targets": [ + ["css=.icon-common-edit", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "e7fa1ccb-a3dd-4482-a4ca-7758ed933f04", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a6eaa7df-6773-44d2-8841-4c249eff5e43", + "comment": "", + "command": "click", + "target": "css=.btn-group:nth-child(1) > .btn-link", + "targets": [ + ["css=.btn-group:nth-child(1) > .btn-link", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/div/button", "xpath:idRelative"], + ["xpath=//div[3]/div/button", "xpath:position"], + ["xpath=//button[contains(.,' 导出 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6158aa67-0ec9-4bbd-a44c-da34541e3b0a", + "comment": "", + "command": "click", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-id_desc-0-newest.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5cdcda6a-a8b4-4a56-9200-082ae65151c3", + "comment": "", + "command": "mouseOver", + "target": "linkText=导出数据", + "targets": [ + ["linkText=导出数据", "linkText"], + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-id_desc-0-newest.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3b904123-fce5-4f3b-a83d-76303925038c", + "comment": "", + "command": "mouseOut", + "target": "css=#exportActionMenu > li:nth-child(1) > .export", + "targets": [ + ["css=#exportActionMenu > li:nth-child(1) > .export", "css:finder"], + ["xpath=//a[contains(text(),'导出数据')]", "xpath:link"], + ["xpath=//ul[@id='exportActionMenu']/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testcase-export-2-id_desc-0-newest.html')]", "xpath:href"], + ["xpath=//div[3]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'导出数据')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "20fd28e2-f23e-4f76-8e6f-1f2e789e4d81", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3d133094-61a5-4b99-b213-36b24033ab5c", + "comment": "", + "command": "click", + "target": "linkText=导入单元测试结果", + "targets": [ + ["linkText=导入单元测试结果", "linkText"], + ["css=.btn-primary:nth-child(4)", "css:finder"], + ["xpath=//a[contains(text(),'导入单元测试结果')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-importUnitResult-2.html')]", "xpath:href"], + ["xpath=//main/div/div/div[3]/a", "xpath:position"], + ["xpath=//a[contains(.,' 导入单元测试结果')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "196ad298-436d-4208-aeab-31531a9fa1fe", + "comment": "", + "command": "click", + "target": "css=#build_chosen > .chosen-single", + "targets": [ + ["css=#build_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='build_chosen']/a", "xpath:idRelative"], + ["xpath=//td/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "a3e2462d-064a-4cd9-8772-d419a508f722", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='build_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td/div/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'版本7.1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3e68dbcb-2338-475d-b0ea-743cd6bb7b2a", + "comment": "", + "command": "mouseDown", + "target": "css=#frame_chosen span", + "targets": [ + ["css=#frame_chosen span", "css:finder"], + ["xpath=//div[@id='frame_chosen']/a/span", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "f86908e2-5fe9-4db7-9a81-615f2eba1685", + "comment": "", + "command": "mouseUp", + "target": "css=#frame_chosen input", + "targets": [ + ["css=#frame_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[3]", "xpath:attributes"], + ["xpath=//div[@id='frame_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "36c7af71-38e5-43ab-a0a8-e9ea55fe6ccb", + "comment": "", + "command": "click", + "target": "css=#frame_chosen > .chosen-single", + "targets": [ + ["css=#frame_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='frame_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[3]/td/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "f345055c-a2f9-4add-a7a2-ea00fbdd21bf", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "069163f9-996e-4f40-bd03-72c3983cbb74", + "name": "testsuite_browse", + "commands": [{ + "id": "21423d20-ae92-494d-9433-4a4c3856630a", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testsuite-browse-2.html", + "targets": [], + "value": "" + }, { + "id": "b4617902-e595-44c4-99b7-f77f5d9492d8", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "6d743faa-d1f9-4215-a611-fee9a387ff19", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "239ab390-2e50-41fc-89ca-9eb402686001", + "comment": "", + "command": "click", + "target": "linkText=建套件", + "targets": [ + ["linkText=建套件", "linkText"], + ["css=.btn-primary", "css:finder"], + ["xpath=//a[contains(text(),'建套件')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testsuite-create-2.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 建套件')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "200935bb-7b89-467e-9c87-39928fea3870", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a3d16651-b66a-477b-9a80-a8667afd08b0", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "测试套件A" + }, { + "id": "e2d84f31-5b72-4022-b0d0-4c1bbc35e3cc", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e0fb37d0-28f4-49a5-921b-97d8e8c4d647", + "comment": "", + "command": "click", + "target": "linkText=名称", + "targets": [ + ["linkText=名称", "linkText"], + ["css=.w-200px > .header", "css:finder"], + ["xpath=//a[contains(text(),'名称')]", "xpath:link"], + ["xpath=//table[@id='suiteList']/thead/tr/th[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testsuite-browse-2-name_asc-2-20.html')]", "xpath:href"], + ["xpath=//th[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ddc4278f-cea9-48fd-a02f-4020c82fc29b", + "comment": "", + "command": "click", + "target": "linkText=名称", + "targets": [ + ["linkText=名称", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'名称')]", "xpath:link"], + ["xpath=//table[@id='suiteList']/thead/tr/th[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testsuite-browse-2-name_desc-2-20.html')]", "xpath:href"], + ["xpath=//th[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'名称')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0d58f8c7-4f8f-4667-a043-3bf48fd171e9", + "comment": "", + "command": "click", + "target": "css=.text-left:nth-child(1) .icon-testsuite-linkCase", + "targets": [ + ["css=.text-left:nth-child(1) .icon-testsuite-linkCase", "css:finder"], + ["xpath=//table[@id='suiteList']/tbody/tr/td[6]/a/i", "xpath:idRelative"], + ["xpath=//td[6]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "4c7d610d-1b6f-4214-9ab8-88aa8d57fc2b", + "comment": "", + "command": "click", + "target": "name=cases[]", + "targets": [ + ["name=cases[]", "name"], + ["css=.hoover input", "css:finder"], + ["xpath=//input[@name='cases[]']", "xpath:attributes"], + ["xpath=//table[@id='testcaseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "143c34be-517b-4dde-9cb2-60933829b2a3", + "comment": "", + "command": "mouseOver", + "target": "name=cases[]", + "targets": [ + ["name=cases[]", "name"], + ["css=.hoover input", "css:finder"], + ["xpath=//input[@name='cases[]']", "xpath:attributes"], + ["xpath=//table[@id='testcaseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "f313efa8-c7e9-4492-940c-4d7e2df686f1", + "comment": "", + "command": "mouseOut", + "target": "name=cases[]", + "targets": [ + ["name=cases[]", "name"], + ["css=.hoover input", "css:finder"], + ["xpath=//input[@name='cases[]']", "xpath:attributes"], + ["xpath=//table[@id='testcaseList']/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "818afaea-ff5f-4dee-892c-51013d623b26", + "comment": "", + "command": "click", + "target": "css=.hoover input", + "targets": [ + ["css=.hoover input", "css:finder"], + ["xpath=(//input[@name='cases[]'])[2]", "xpath:attributes"], + ["xpath=//table[@id='testcaseList']/tbody/tr[2]/td/div/input", "xpath:idRelative"], + ["xpath=//tr[2]/td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "a0f3e8d3-2afe-49f5-9bbd-fe16170bf87c", + "comment": "", + "command": "click", + "target": "css=.table-actions > #submit", + "targets": [ + ["css=.table-actions > #submit", "css:finder"], + ["xpath=(//button[@id='submit'])[2]", "xpath:attributes"], + ["xpath=//form[@id='table-11utyeudpiw']/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "855bd449-cfab-4e8a-a0ac-a9f7d4f9393d", + "comment": "", + "command": "chooseOkOnNextConfirmation", + "target": "", + "targets": [], + "value": "" + }, { + "id": "03094126-5a24-4521-bba3-3dc2226ddebe", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dfd335bc-5e2b-4049-b52d-2fb495857ec6", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(2)", + "targets": [ + ["css=.dropdown-toggle:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "1769cb2e-7932-422b-a181-e494b2a8db62", + "comment": "", + "command": "click", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div", "xpath:idRelative"], + ["xpath=//main/div/div[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "5da20e74-8455-49a2-a39f-24c07cf3d22f", + "comment": "", + "command": "click", + "target": "css=.table-actions .btn:nth-child(1)", + "targets": [ + ["css=.table-actions .btn:nth-child(1)", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a8a7c78a-2d5e-4374-bae2-9423390ba6e0", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='batchEditForm']/div/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "66b798c3-8897-499b-b721-71999a73c644", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ca8fb907-9e03-4a6b-9f88-c6dc21d5fb3e", + "comment": "", + "command": "click", + "target": "css=.table-actions .btn:nth-child(1)", + "targets": [ + ["css=.table-actions .btn:nth-child(1)", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d795b65d-41bb-4af1-bd70-de1991eac3b2", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='batchEditForm']/div/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "04bb52bf-221a-4c77-8fb9-8ca4e7d85300", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9b481208-1029-4efe-9b2f-cbe6dcf4f6b5", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(2)", + "targets": [ + ["css=.dropdown-toggle:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "0b8c8572-4daa-4bc3-ad49-97b408fda7f3", + "comment": "", + "command": "click", + "target": "linkText=执行", + "targets": [ + ["linkText=执行", "linkText"], + ["css=.dropdown-menu:nth-child(3) > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'执行')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testtask-batchRun-2-id_desc.html')\"]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/ul/li[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#')]", "xpath:href"], + ["xpath=//div/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "07dd2360-247f-4bbb-8c04-ebdf4095e37b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "814962c0-1ef6-4dc5-a899-a655abaced00", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div/div/div/label", "xpath:idRelative"], + ["xpath=//form/div/div/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "536bf9f8-15c6-4b5b-b73d-c73048778cf3", + "comment": "", + "command": "click", + "target": "css=.dropdown-toggle:nth-child(2)", + "targets": [ + ["css=.dropdown-toggle:nth-child(2)", "css:finder"], + ["xpath=(//button[@type='button'])[3]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/button[2]", "xpath:idRelative"], + ["xpath=//button[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c845ee7b-885d-491f-b8ab-dd6fab9539ea", + "comment": "", + "command": "click", + "target": "linkText=移除", + "targets": [ + ["linkText=移除", "linkText"], + ["css=.dropdown-menu:nth-child(3) > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'移除')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testsuite-batchUnlinkCases-7.html')\"]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div/div/div[2]/div/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//form/div/div/div[2]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'移除')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "918a1b3e-fa54-4dec-8b57-6fd6fe7df7f2", + "comment": "", + "command": "click", + "target": "css=.main-col", + "targets": [ + ["css=.main-col", "css:finder"], + ["xpath=//div[@id='mainContent']/div", "xpath:idRelative"], + ["xpath=//main/div/div[2]/div", "xpath:position"] + ], + "value": "" + }, { + "id": "3c20d892-5ca8-4d93-8b26-4610ae2b6749", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testsuite-browse-2-name_desc-2-20.html')]", "xpath:href"], + ["xpath=//main/div/div/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "71f4f361-f04f-4286-8986-782d69ecd5ed", + "comment": "", + "command": "click", + "target": "css=.text-left:nth-child(1) .icon-common-edit", + "targets": [ + ["css=.text-left:nth-child(1) .icon-common-edit", "css:finder"], + ["xpath=//table[@id='suiteList']/tbody/tr/td[6]/a[2]/i", "xpath:idRelative"], + ["xpath=//a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "3f1ca16d-41aa-4f0c-a873-006d528b5021", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b006c731-f616-4e0f-b61e-9ca5d49d19bd", + "comment": "", + "command": "click", + "target": "linkText=测试套件A", + "targets": [ + ["linkText=测试套件A", "linkText"], + ["css=.text-left:nth-child(1) > .text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'测试套件A')]", "xpath:link"], + ["xpath=//table[@id='suiteList']/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testsuite-view-7.html')])[2]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试套件A')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "84637efa-0511-41c8-875d-2d32340f4647", + "comment": "", + "command": "click", + "target": "css=.text:nth-child(1)", + "targets": [ + ["css=.text:nth-child(1)", "css:finder"], + ["xpath=//button[@id='currentItem']/span", "xpath:idRelative"], + ["xpath=//span", "xpath:position"], + ["xpath=//span[contains(.,'禅道旗舰版')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1a491b3c-3f68-4fa3-9559-f50d9c030b0f", + "comment": "", + "command": "click", + "target": "linkText=禅道/禅道开源版", + "targets": [ + ["linkText=禅道/禅道开源版", "linkText"], + ["css=.active:nth-child(9)", "css:finder"], + ["xpath=//a[contains(text(),'禅道/禅道开源版')]", "xpath:link"], + ["xpath=//div[@id='dropMenu']/div[2]/div/div/div/a[7]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testsuite-browse-1.html')]", "xpath:href"], + ["xpath=//a[7]", "xpath:position"], + ["xpath=//a[contains(.,'禅道/禅道开源版')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "5960574c-42db-430c-b1d9-3a1189cffc7e", + "name": "testtask_browse", + "commands": [{ + "id": "c2f0c25f-8573-4b6b-b0db-eab5c013454f", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testtask-browse-2.html", + "targets": [], + "value": "" + }, { + "id": "9d7e4d47-b732-4c00-93fb-c4c7af209171", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "94387198-3775-446c-a60e-6031469fe4ae", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "c992ec71-e4bc-4b46-b39f-115d40f0d8de", + "comment": "", + "command": "click", + "target": "css=.btn-limit > .text", + "targets": [ + ["css=.btn-limit > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div/div/a/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "259311d7-f89a-489d-bdd9-2d10023fa9ff", + "comment": "", + "command": "click", + "target": "linkText=全部产品", + "targets": [ + ["linkText=全部产品", "linkText"], + ["css=.open li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'全部产品')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browse-2-0-all,totalStatus.html')]", "xpath:href"], + ["xpath=//main/div/div/div/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'全部产品')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5ab32e4f-70f4-46ed-948f-b482cb10bed7", + "comment": "", + "command": "click", + "target": "css=#waitTab > .text", + "targets": [ + ["css=#waitTab > .text", "css:finder"], + ["xpath=//a[@id='waitTab']/span", "xpath:idRelative"], + ["xpath=//a[2]/span", "xpath:position"], + ["xpath=//span[contains(.,'待测测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ecd596c5-0da5-4acb-91ac-19963cc51492", + "comment": "", + "command": "click", + "target": "css=#doingTab > .text", + "targets": [ + ["css=#doingTab > .text", "css:finder"], + ["xpath=//a[@id='doingTab']/span", "xpath:idRelative"], + ["xpath=//a[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'测试中测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dd9f0bab-b110-4bf5-b8ca-4b0a31d966b7", + "comment": "", + "command": "click", + "target": "id=blockedTab", + "targets": [ + ["id=blockedTab", "id"], + ["linkText=被阻塞测试单", "linkText"], + ["css=#blockedTab", "css:finder"], + ["xpath=//a[@id='blockedTab']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/a[4]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browse-2-0-all,blocked.html')]", "xpath:href"], + ["xpath=//a[4]", "xpath:position"], + ["xpath=//a[contains(.,'被阻塞测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b93a2aee-9c52-4f06-98f1-d517feaf1819", + "comment": "", + "command": "click", + "target": "css=#doneTab > .text", + "targets": [ + ["css=#doneTab > .text", "css:finder"], + ["xpath=//a[@id='doneTab']/span", "xpath:idRelative"], + ["xpath=//a[5]/span", "xpath:position"], + ["xpath=//span[contains(.,'已测测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "68e73f95-6daf-4365-b0da-7af4af88959b", + "comment": "", + "command": "click", + "target": "css=#totalStatusTab > .text", + "targets": [ + ["css=#totalStatusTab > .text", "css:finder"], + ["xpath=//a[@id='totalStatusTab']/span", "xpath:idRelative"], + ["xpath=//main/div/div/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "b57da174-c6a4-42c4-8717-9efdbb18faaa", + "comment": "", + "command": "click", + "target": "id=date", + "targets": [ + ["id=date", "id"], + ["name=date", "name"], + ["css=.datepicker-wrapper:nth-child(2) > #date", "css:finder"], + ["xpath=//input[@id='date']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "623ed9fa-1089-4ebf-9965-1f23b59e2f35", + "comment": "", + "command": "click", + "target": "css=.datetimepicker:nth-child(12) tr:nth-child(2) > .day:nth-child(3)", + "targets": [ + ["css=.datetimepicker:nth-child(12) tr:nth-child(2) > .day:nth-child(3)", "css:finder"], + ["xpath=//div[3]/table/tbody/tr[2]/td[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "2fd94c96-d861-4d31-8240-8f38a1912736", + "comment": "", + "command": "click", + "target": "css=.datepicker-wrapper:nth-child(4) > #date", + "targets": [ + ["css=.datepicker-wrapper:nth-child(4) > #date", "css:finder"], + ["xpath=(//input[@id='date'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div/div[2]/div[2]/input", "xpath:idRelative"], + ["xpath=//div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "bc93e575-0e28-4bd6-8661-deee4d0b48f1", + "comment": "", + "command": "click", + "target": "css=.datetimepicker:nth-child(13) tr:nth-child(4) > .day:nth-child(5)", + "targets": [ + ["css=.datetimepicker:nth-child(13) tr:nth-child(4) > .day:nth-child(5)", "css:finder"], + ["xpath=//div[3]/div[3]/table/tbody/tr[4]/td[5]", "xpath:position"] + ], + "value": "" + }, { + "id": "417186af-f18b-4751-8978-01f358d929c6", + "comment": "", + "command": "click", + "target": "linkText=测试单1", + "targets": [ + ["linkText=测试单1", "linkText"], + ["css=.text-left:nth-child(1) > .c-name:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'测试单1')]", "xpath:link"], + ["xpath=//table[@id='taskList']/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-cases-2.html')])[2]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试单1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d082eade-af0e-456b-ac9e-681c8c3e71a6", + "comment": "", + "command": "click", + "target": "css=.btn-info", + "targets": [ + ["css=.btn-info", "css:finder"], + ["xpath=//a[contains(text(),'关联用例')]", "xpath:link"], + ["xpath=//form[@id='casesForm']/div[3]/p/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-linkCase-2.html')])[2]", "xpath:href"], + ["xpath=//p/a", "xpath:position"] + ], + "value": "" + }, { + "id": "64f8c1ac-d559-40cd-b218-6a53bc39deec", + "comment": "", + "command": "click", + "target": "id=cases4", + "targets": [ + ["id=cases4", "id"], + ["name=cases[]", "name"], + ["css=#cases4", "css:finder"], + ["xpath=//input[@id='cases4']", "xpath:attributes"], + ["xpath=//form[@id='linkCaseForm']/table/tbody/tr/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "f0b6aad1-8696-4f20-bba6-46daf6673305", + "comment": "", + "command": "click", + "target": "css=.table-actions > #submit", + "targets": [ + ["css=.table-actions > #submit", "css:finder"], + ["xpath=(//button[@id='submit'])[2]", "xpath:attributes"], + ["xpath=//form[@id='linkCaseForm']/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "57b2f302-e593-4675-8c92-2b434b995dec", + "comment": "", + "command": "click", + "target": "css=.table-footer", + "targets": [ + ["css=.table-footer", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]", "xpath:idRelative"], + ["xpath=//form/div[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "c4ee8858-f8db-482a-b456-020e1521fb18", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(3) > .text", + "targets": [ + ["css=.btn:nth-child(3) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[3]/a[3]/span", "xpath:idRelative"], + ["xpath=//a[3]/span", "xpath:position"], + ["xpath=//span[contains(.,'报表')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0b7299ac-8700-460a-b3b6-082200f3b98c", + "comment": "", + "command": "click", + "target": "id=allchecker", + "targets": [ + ["id=allchecker", "id"], + ["name=allchecker", "name"], + ["css=#allchecker", "css:finder"], + ["xpath=//input[@id='allchecker']", "xpath:attributes"], + ["xpath=//form[@id='chartTypesForm']/div[2]/input", "xpath:idRelative"], + ["xpath=//form/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "f0e2ce80-98c3-4b9e-abd5-d28ec3ee9f01", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='chartTypesForm']/div[2]/button", "xpath:idRelative"], + ["xpath=//form/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'生成报表')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d72d606d-59d6-4168-8b45-7959bf9a7e67", + "comment": "", + "command": "mouseDownAt", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-cases-2-all.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "29,12" + }, { + "id": "b44e50f4-ade3-4453-af3c-119b699f0a9e", + "comment": "", + "command": "mouseMoveAt", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-cases-2-all.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "29,12" + }, { + "id": "3360401e-4ba8-4f26-a94d-8a64410b9867", + "comment": "", + "command": "mouseUpAt", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-cases-2-all.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "29,12" + }, { + "id": "831570ad-1789-43ba-be29-10b794c8351e", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-cases-2-all.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e5af6285-9fa7-4cd9-a5ef-6525cc0f202d", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(4) > .text", + "targets": [ + ["css=.btn:nth-child(4) > .text", "css:finder"], + ["xpath=//div[@id='mainMenu']/div[3]/a[4]/span", "xpath:idRelative"], + ["xpath=//a[4]/span", "xpath:position"], + ["xpath=//span[contains(.,'概况')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "63d33cd6-9cfc-465c-bd33-af3c20bbcb9a", + "comment": "", + "command": "click", + "target": "css=.main-actions #back", + "targets": [ + ["css=.main-actions #back", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=(//a[@id='back'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/testtask-browse-2-0-all,totalStatus-id_desc-0-20-1-20210407-20210423.html')])[2]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "7d6d53f2-8c46-4c99-99ed-a0355f0fc4d0", + "comment": "", + "command": "click", + "target": "css=.text-left:nth-child(1) .icon-testtask-cases", + "targets": [ + ["css=.text-left:nth-child(1) .icon-testtask-cases", "css:finder"], + ["xpath=//div[@id='action-divider']/a/i", "xpath:idRelative"], + ["xpath=//td[10]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "24478857-8cf9-4320-ac6c-84371de05f7f", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0743ab34-1cd2-444f-9fe4-26409d0e6fa9", + "comment": "", + "command": "click", + "target": "css=.table-actions > .btn-group:nth-child(1) > .btn:nth-child(1)", + "targets": [ + ["css=.table-actions > .btn-group:nth-child(1) > .btn:nth-child(1)", "css:finder"], + ["xpath=(//button[@type='button'])[6]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'编辑')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f606a413-6131-4516-9962-369e009a7c5d", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='batchEditForm']/div/table/tfoot/tr/td/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:history.go(-1);')]", "xpath:href"], + ["xpath=//td/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ebf11e1a-8c3e-4226-9679-c4c11f6e2b5c", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9856d2c3-0c52-4fa8-a7e1-ec8a88cf3b12", + "comment": "", + "command": "click", + "target": "css=.dropup:nth-child(2) > .btn", + "targets": [ + ["css=.dropup:nth-child(2) > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[8]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[2]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'指派 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "150cc8fd-0115-4dc0-b70a-259a0ebfa304", + "comment": "", + "command": "click", + "target": "linkText=D:开发甲", + "targets": [ + ["linkText=D:开发甲", "linkText"], + ["css=.active:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'D:开发甲')]", "xpath:link"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/div[2]/div/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, 'javascript:$(\"#assignedTo\").val(\"dev01\");setFormAction(\"/testtask-batchAssign-2.html\", \"hiddenwin\")')]", "xpath:href"], + ["xpath=//div[2]/div/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'D:开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1a1b3632-58f2-4195-b5c1-a569f8cb5bf6", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "60cc80c6-f0a5-453c-a291-fe7b506cf07c", + "comment": "", + "command": "click", + "target": "css=.table-actions > .btn", + "targets": [ + ["css=.table-actions > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[9]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/button", "xpath:idRelative"], + ["xpath=//div[3]/div[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'执行')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0e7c5f28-b765-4e44-913b-8b6def0cbd4a", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "9adacf24-9090-4676-9b6b-fa7f078734f9", + "comment": "", + "command": "click", + "target": "css=.table-footer label", + "targets": [ + ["css=.table-footer label", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]/div/label", "xpath:idRelative"], + ["xpath=//div[3]/div/label", "xpath:position"], + ["xpath=//label[contains(.,'全选')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a54154cd-e4d2-4ca8-878c-68ccecf7ac5b", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(2) > .caret", + "targets": [ + ["css=.btn:nth-child(2) > .caret", "css:finder"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/div/button[2]/span", "xpath:idRelative"], + ["xpath=//button[2]/span", "xpath:position"] + ], + "value": "" + }, { + "id": "6aa6dedd-de70-4bf6-8186-d4a88ae463e2", + "comment": "", + "command": "click", + "target": "linkText=移除", + "targets": [ + ["linkText=移除", "linkText"], + ["css=.dropdown-menu:nth-child(3) > li > a", "css:finder"], + ["xpath=//a[contains(text(),'移除')]", "xpath:link"], + ["xpath=//a[@onclick=\"setFormAction('/testtask-batchUnlinkCases-2.html')\"]", "xpath:attributes"], + ["xpath=//form[@id='casesForm']/div[3]/div[2]/div/ul/li/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:;')])[3]", "xpath:href"], + ["xpath=//div[3]/div[2]/div/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'移除')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f556be62-6903-4f4a-809c-5ea280a3a150", + "comment": "", + "command": "click", + "target": "id=back", + "targets": [ + ["id=back", "id"], + ["linkText=返回", "linkText"], + ["css=#back", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//a[@id='back']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[3]/a[5]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browse-2-0-all,totalStatus-id_desc-0-20-1-20210407-20210423.html')]", "xpath:href"], + ["xpath=//a[5]", "xpath:position"], + ["xpath=//a[contains(.,' 返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "35c6782d-ff3d-45b1-b388-e19abe13b0ab", + "comment": "", + "command": "click", + "target": "css=.text-left:nth-child(1) .icon-testreport-browse", + "targets": [ + ["css=.text-left:nth-child(1) .icon-testreport-browse", "css:finder"], + ["xpath=//div[@id='action-divider']/a[3]/i", "xpath:idRelative"], + ["xpath=//a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "64e1078b-d92d-42b1-a1eb-a7f885c13604", + "comment": "", + "command": "click", + "target": "linkText=测试单", + "targets": [ + ["linkText=测试单", "linkText"], + ["css=.nav > li:nth-child(7) > a", "css:finder"], + ["xpath=//a[contains(text(),'测试单')]", "xpath:link"], + ["xpath=//nav[@id='navbar']/ul/li[7]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-browse-1.html')]", "xpath:href"], + ["xpath=//li[7]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试单')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dad5413c-f728-4656-8227-ab091a96b053", + "comment": "", + "command": "click", + "target": "css=.icon-testtask-view", + "targets": [ + ["css=.icon-testtask-view", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a/i", "xpath:idRelative"], + ["xpath=//td[10]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "353fe097-fd2c-41c9-9889-7d533fd7f9a0", + "comment": "", + "command": "mouseOver", + "target": "css=.icon-testtask-view", + "targets": [ + ["css=.icon-testtask-view", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a/i", "xpath:idRelative"], + ["xpath=//td[10]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a3409029-ec89-4583-8af5-e63deba6f26d", + "comment": "", + "command": "mouseOut", + "target": "css=.icon-testtask-view", + "targets": [ + ["css=.icon-testtask-view", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a/i", "xpath:idRelative"], + ["xpath=//td[10]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "d0c5a16f-eb60-4d5d-b990-1e24a7093fea", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "ddccffa2-f712-4cd4-b7bd-604b4efbed7b", + "comment": "", + "command": "click", + "target": "linkText=开始", + "targets": [ + ["linkText=开始", "linkText"], + ["css=.btn-link:nth-child(2)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[3]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-start-2.html?onlybody=yes')]", "xpath:href"], + ["xpath=//a", "xpath:position"], + ["xpath=//a[contains(.,' 开始')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d6921b2d-6ac1-49c8-8ff1-7eb60109c3b1", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='startForm']/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f8991e25-41cc-4c28-8648-a1b9fa0695f7", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "4cd79c92-839a-4263-b0a5-d45f7365e37c", + "comment": "", + "command": "click", + "target": "css=.icon-common-edit", + "targets": [ + ["css=.icon-common-edit", "css:finder"], + ["xpath=//table[@id='taskList']/tbody/tr/td[10]/a[2]/i", "xpath:idRelative"], + ["xpath=//td[10]/a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "b18a4499-3b18-4c91-87b6-d3f3eed9ebee", + "comment": "", + "command": "mouseDown", + "target": "css=#status_chosen span", + "targets": [ + ["css=#status_chosen span", "css:finder"], + ["xpath=//div[@id='status_chosen']/a/span", "xpath:idRelative"], + ["xpath=//tr[5]/td/div/a/span", "xpath:position"], + ["xpath=//span[contains(.,'进行中')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b231866-378f-419c-9d6e-993480853991", + "comment": "", + "command": "mouseUp", + "target": "css=#status_chosen input", + "targets": [ + ["css=#status_chosen input", "css:finder"], + ["xpath=(//input[@type='text'])[7]", "xpath:attributes"], + ["xpath=//div[@id='status_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//tr[5]/td/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "86492152-7b70-4c93-97b5-f74cc746a502", + "comment": "", + "command": "click", + "target": "linkText=进行中", + "targets": [ + ["linkText=进行中", "linkText"], + ["css=#status_chosen > .chosen-single", "css:finder"], + ["xpath=//div[@id='status_chosen']/a", "xpath:idRelative"], + ["xpath=//tr[5]/td/div/a", "xpath:position"], + ["xpath=//a[contains(.,'进行中')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a59866e-378b-4a51-811e-8ac8f06ca283", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(1)", + "targets": [ + ["css=.active-result:nth-child(1)", "css:finder"], + ["xpath=//div[@id='status_chosen']/div/ul/li", "xpath:idRelative"], + ["xpath=//td/div/div/ul/li", "xpath:position"], + ["xpath=//li[contains(.,'未开始')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d811ee3e-ed64-4b73-b844-748f49ca7a0b", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "138f2124-2691-4d7d-8ab5-9cbe1a8a6fc0", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "27d4f029-7939-4618-8c38-e94c2159eec2", + "comment": "", + "command": "click", + "target": "linkText=提交测试", + "targets": [ + ["linkText=提交测试", "linkText"], + ["css=.btn-primary", "css:finder"], + ["xpath=//a[contains(text(),'提交测试')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testtask-create-1.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,' 提交测试')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dddbc299-d27d-4492-b022-18b3ef095199", + "comment": "", + "command": "click", + "target": "id=begin", + "targets": [ + ["id=begin", "id"], + ["name=begin", "name"], + ["css=#begin", "css:finder"], + ["xpath=//input[@id='begin']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[5]/td/div/input", "xpath:idRelative"], + ["xpath=//td/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "ef956624-1940-43df-8c52-75d733840b30", + "comment": "", + "command": "click", + "target": "css=.datetimepicker:nth-child(12) tr:nth-child(3) > .day:nth-child(3)", + "targets": [ + ["css=.datetimepicker:nth-child(12) tr:nth-child(3) > .day:nth-child(3)", "css:finder"], + ["xpath=//tr[3]/td[3]", "xpath:position"] + ], + "value": "" + }, { + "id": "bd373bfa-868a-4285-ac6d-8b0cccd5ce28", + "comment": "", + "command": "click", + "target": "id=end", + "targets": [ + ["id=end", "id"], + ["name=end", "name"], + ["css=#end", "css:finder"], + ["xpath=//input[@id='end']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[5]/td/div/input[2]", "xpath:idRelative"], + ["xpath=//input[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "c467412a-84ed-470b-ad14-017c49d501f7", + "comment": "", + "command": "click", + "target": "css=.datetimepicker:nth-child(13) tr:nth-child(4) > .day:nth-child(6)", + "targets": [ + ["css=.datetimepicker:nth-child(13) tr:nth-child(4) > .day:nth-child(6)", "css:finder"], + ["xpath=//div[3]/div[3]/table/tbody/tr[4]/td[6]", "xpath:position"] + ], + "value": "" + }, { + "id": "8c5d95d1-0e4f-4a8b-98b6-ad5be1b23143", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[7]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "36147233-ac35-40dd-9bb4-ddabd5129b06", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[7]/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "昨天测试" + }, { + "id": "52f242c1-941c-4868-ab3c-ae335354d7bf", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[10]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }, { + "id": "a644a80b-fe3d-4249-a44e-d3888e613a14", + "name": "testreport_browse", + "commands": [{ + "id": "cde91711-6c2d-4e43-91f1-fc2def487266", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/testreport-browse-2.html", + "targets": [], + "value": "" + }, { + "id": "23b1a724-d201-4dd5-8832-e47a21ca1bca", + "comment": "", + "command": "setWindowSize", + "target": "1382x744", + "targets": [], + "value": "" + }, { + "id": "9af819f9-e758-46ed-8540-7bddf9e03787", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "9c41342f-e6f0-4355-aa25-3a3768e5ec9d", + "comment": "", + "command": "click", + "target": "linkText=创建报告", + "targets": [ + ["linkText=创建报告", "linkText"], + ["css=.btn-primary", "css:finder"], + ["xpath=//a[contains(text(),'创建报告')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testreport-create-0-testtask-2.html')]", "xpath:href"], + ["xpath=//div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'创建报告')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "17e51b3a-4fbb-4dfc-abb9-63b869e5dada", + "comment": "", + "command": "mouseDown", + "target": "css=.chosen-default > span", + "targets": [ + ["css=.chosen-default > span", "css:finder"], + ["xpath=//div[@id='owner_chosen']/a/span", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a/span", "xpath:position"] + ], + "value": "" + }, { + "id": "c79a8a18-d4d9-4ed6-95c9-00e4dccc86ba", + "comment": "", + "command": "mouseUp", + "target": "css=.chosen-default input", + "targets": [ + ["css=.chosen-default input", "css:finder"], + ["xpath=(//input[@type='text'])[4]", "xpath:attributes"], + ["xpath=//div[@id='owner_chosen']/a/div[2]/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a/div[2]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "c98c5752-d6ff-48d7-bd83-767e00c2671d", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='owner_chosen']/a", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "829b4560-a6ad-44bf-af31-1bfa2ae85f4e", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='owner_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "ca6c40a9-73a5-4ac9-8365-cfdabdccdc53", + "comment": "", + "command": "click", + "target": "css=.chosen-choices", + "targets": [ + ["css=.chosen-choices", "css:finder"], + ["xpath=//div[@id='members_chosen']/ul", "xpath:idRelative"], + ["xpath=//td/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "170b3c19-3e98-4531-b443-fd72ea73578d", + "comment": "", + "command": "click", + "target": "css=#members_chosen > .chosen-drop li:nth-child(2)", + "targets": [ + ["css=#members_chosen > .chosen-drop li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='members_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "e7182241-ebc0-4258-b111-a734fb9b1b9f", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "f743a318-e1e4-404e-a76c-83abd3b74219", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "450f71c3-6c3d-4422-91ae-5bbb8b855801", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "03244762-e6dc-4e0c-854d-fbba2b6816fc", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/div/div[2]/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7265da50-596b-42f4-8070-798a6176fa5b", + "comment": "", + "command": "click", + "target": "linkText=测试范围", + "targets": [ + ["linkText=测试范围", "linkText"], + ["css=.nav > li:nth-child(2) > a", "css:finder"], + ["xpath=//a[contains(text(),'测试范围')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[2]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[2]", "xpath:href"], + ["xpath=//div[2]/ul/li[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试范围')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "bd872dfa-251f-4181-a2aa-ed285d97c67e", + "comment": "", + "command": "click", + "target": "linkText=测试轮次", + "targets": [ + ["linkText=测试轮次", "linkText"], + ["css=.nav-tabs > li:nth-child(3) > a", "css:finder"], + ["xpath=//a[contains(text(),'测试轮次')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[3]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[3]", "xpath:href"], + ["xpath=//div[2]/ul/li[3]/a", "xpath:position"], + ["xpath=//a[contains(.,'测试轮次')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "52b98037-7015-43a3-a8dc-d68623b18bd2", + "comment": "", + "command": "click", + "target": "linkText=版本7.1", + "targets": [ + ["linkText=版本7.1", "linkText"], + ["css=.text-left > a", "css:finder"], + ["xpath=//a[contains(text(),'版本7.1')]", "xpath:link"], + ["xpath=//table[@id='builds']/tbody/tr/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/build-view-10.html?onlybody=yes')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'版本7.1')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "364bc257-80a2-4d99-9833-8d7786bc6313", + "comment": "", + "command": "click", + "target": "css=.close", + "targets": [ + ["css=.close", "css:finder"], + ["xpath=//div[@id='triggerModal']/div[2]/div/div/button", "xpath:idRelative"], + ["xpath=//div[2]/div/div/button", "xpath:position"], + ["xpath=//button[contains(.,'×')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "5f42ad50-9c41-4824-a2dd-9094846d23a2", + "comment": "", + "command": "click", + "target": "linkText=关联的用例", + "targets": [ + ["linkText=关联的用例", "linkText"], + ["css=.nav-tabs > li:nth-child(4) > a", "css:finder"], + ["xpath=//a[contains(text(),'关联的用例')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[4]", "xpath:href"], + ["xpath=//div[2]/ul/li[4]/a", "xpath:position"], + ["xpath=//a[contains(.,'关联的用例')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "975f9315-0220-4f34-b79e-b5c537582a0e", + "comment": "", + "command": "click", + "target": "linkText=遗留的Bug", + "targets": [ + ["linkText=遗留的Bug", "linkText"], + ["css=.nav-tabs > li:nth-child(5) > a", "css:finder"], + ["xpath=//a[contains(text(),'遗留的Bug')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[5]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[5]", "xpath:href"], + ["xpath=//div[2]/ul/li[5]/a", "xpath:position"], + ["xpath=//a[contains(.,'遗留的Bug')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "afe1962b-73e3-41a3-82ca-7261e1b88284", + "comment": "", + "command": "click", + "target": "linkText=报表", + "targets": [ + ["linkText=报表", "linkText"], + ["css=.nav > li:nth-child(6) > a", "css:finder"], + ["xpath=//a[contains(text(),'报表')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[6]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[6]", "xpath:href"], + ["xpath=//div[2]/ul/li[6]/a", "xpath:position"], + ["xpath=//a[contains(.,'报表')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4aa66f23-9a16-4460-946d-6d46ab1f285e", + "comment": "", + "command": "click", + "target": "linkText=总结", + "targets": [ + ["linkText=总结", "linkText"], + ["css=.nav-tabs > li:nth-child(7) > a", "css:finder"], + ["xpath=//a[contains(text(),'总结')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[7]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[7]", "xpath:href"], + ["xpath=//div[2]/ul/li[7]/a", "xpath:position"], + ["xpath=//a[contains(.,'总结')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "de4fa5c0-aff1-4f91-9058-94b12e992723", + "comment": "", + "command": "click", + "target": "linkText=历史记录", + "targets": [ + ["linkText=历史记录", "linkText"], + ["css=.nav-tabs > li:nth-child(8) > a", "css:finder"], + ["xpath=//a[contains(text(),'历史记录')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[8]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[8]", "xpath:href"], + ["xpath=//div[2]/ul/li[8]/a", "xpath:position"], + ["xpath=//a[contains(.,'历史记录')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "15fe31aa-59c0-4409-9f80-44b9ccf0702a", + "comment": "", + "command": "click", + "target": "linkText=更多功能", + "targets": [ + ["linkText=更多功能", "linkText"], + ["css=.nav > li:nth-child(9) > a", "css:finder"], + ["xpath=//a[contains(text(),'更多功能')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li[9]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[9]", "xpath:href"], + ["xpath=//div[2]/ul/li[9]/a", "xpath:position"], + ["xpath=//a[contains(.,'更多功能')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1aad5988-3535-4b7f-b984-89e5350bdc58", + "comment": "", + "command": "click", + "target": "linkText=基本信息", + "targets": [ + ["linkText=基本信息", "linkText"], + ["css=.nav-tabs > li:nth-child(1) > a", "css:finder"], + ["xpath=//a[contains(text(),'基本信息')]", "xpath:link"], + ["xpath=//div[@id='mainContent']/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '###')]", "xpath:href"], + ["xpath=//div[2]/ul/li/a", "xpath:position"], + ["xpath=//a[contains(.,'基本信息')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "36cdb28e-8186-4f26-8613-9de243a378a3", + "comment": "", + "command": "click", + "target": "css=.icon-refresh", + "targets": [ + ["css=.icon-refresh", "css:finder"], + ["xpath=//div[@id='mainActions']/div/a[2]/i", "xpath:idRelative"], + ["xpath=//div/a[2]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "c3029e6a-27da-40a0-96f8-9200f9e3fa32", + "comment": "", + "command": "click", + "target": "css=.chosen-default", + "targets": [ + ["css=.chosen-default", "css:finder"], + ["xpath=//div[@id='owner_chosen']/a", "xpath:idRelative"], + ["xpath=//td[2]/div/div/a", "xpath:position"] + ], + "value": "" + }, { + "id": "c480382e-c520-498d-a1ad-92b9156eecdc", + "comment": "", + "command": "click", + "target": "css=.active-result:nth-child(2)", + "targets": [ + ["css=.active-result:nth-child(2)", "css:finder"], + ["xpath=//div[@id='owner_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//div/ul/li[2]", "xpath:position"], + ["xpath=//li[contains(.,'开发甲')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "f48af32c-a26f-4edd-b60d-221e796b7538", + "comment": "", + "command": "click", + "target": "css=.chosen-choices", + "targets": [ + ["css=.chosen-choices", "css:finder"], + ["xpath=//div[@id='members_chosen']/ul", "xpath:idRelative"], + ["xpath=//td/div/ul", "xpath:position"] + ], + "value": "" + }, { + "id": "8c1c2040-c386-4626-bfa9-46c0ce3a0395", + "comment": "", + "command": "click", + "target": "css=#members_chosen > .chosen-drop li:nth-child(2)", + "targets": [ + ["css=#members_chosen > .chosen-drop li:nth-child(2)", "css:finder"], + ["xpath=//div[@id='members_chosen']/div/ul/li[2]", "xpath:idRelative"], + ["xpath=//td/div/div/ul/li[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "74a60178-00d5-4e85-a598-1732b2d1d7f4", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/div/div[2]/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0188783c-3180-469f-8d19-773f0135851c", + "comment": "", + "command": "click", + "target": "css=.icon-common-edit", + "targets": [ + ["css=.icon-common-edit", "css:finder"], + ["xpath=//div[@id='mainActions']/div/a[3]/i", "xpath:idRelative"], + ["xpath=//div/a[3]/i", "xpath:position"] + ], + "value": "" + }, { + "id": "63fee879-dba8-4ca3-97da-aa7963b26378", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/form/div/table/tbody/tr[8]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "a1ef1f6b-351f-4a17-9e06-22432d6e054e", + "comment": "", + "command": "click", + "target": "css=.icon-goback", + "targets": [ + ["css=.icon-goback", "css:finder"], + ["xpath=//a[@id='back']/i", "xpath:idRelative"], + ["xpath=//div[3]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "a6852258-dae0-4c79-84d4-110a44727a3a", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-down", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='reportList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testreport-browse-2-product--id_asc-3-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "3b019aff-e14d-4a9d-b2b0-9a69642d50a9", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='reportList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/testreport-browse-2-product--id_desc-3-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "0a320c2d-b17c-40ad-8772-2031305508cf", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'每页 20 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "d6b81d04-ec0c-431e-a330-cff9fa5c0297", + "comment": "", + "command": "click", + "target": "linkText=5", + "targets": [ + ["linkText=5", "linkText"], + ["css=.btn-group li:nth-child(1) > a", "css:finder"], + ["xpath=(//a[contains(text(),'5')])[3]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/ul/li[2]/div/ul/li/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '###')]", "xpath:href"], + ["xpath=//li[2]/div/ul/li/a", "xpath:position"] + ], + "value": "" + }, { + "id": "1e70f7f1-c6df-4cf3-897b-dd7e390615fd", + "comment": "", + "command": "click", + "target": "css=.pager-size-menu > .btn", + "targets": [ + ["css=.pager-size-menu > .btn", "css:finder"], + ["xpath=(//button[@type='button'])[2]", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/div/ul/li[2]/div/button", "xpath:idRelative"], + ["xpath=//li[2]/div/button", "xpath:position"], + ["xpath=//button[contains(.,'每页 5 项 ')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1471d3c5-1bd1-40c6-89b4-bdff0591ed08", + "comment": "", + "command": "click", + "target": "linkText=20", + "targets": [ + ["linkText=20", "linkText"], + ["css=.btn-group li:nth-child(4) > a", "css:finder"], + ["xpath=(//a[contains(text(),'20')])[4]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/ul/li[2]/div/ul/li[4]/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '###')])[4]", "xpath:href"], + ["xpath=//div/ul/li[4]/a", "xpath:position"] + ], + "value": "" + }, { + "id": "625513db-45f6-48d2-8879-db59e84f7e0d", + "comment": "", + "command": "click", + "target": "css=tr:nth-child(1) .icon-common-edit", + "targets": [ + ["css=tr:nth-child(1) .icon-common-edit", "css:finder"], + ["xpath=//table[@id='reportList']/tbody/tr/td[7]/a/i", "xpath:idRelative"], + ["xpath=//td[7]/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "91b7cdaf-b612-41b7-90b8-fb9afc3d20ea", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(3)", + "targets": [ + ["css=.btn:nth-child(3)", "css:finder"], + ["xpath=(//a[contains(text(),'返回')])[2]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div/form/div/table/tbody/tr[8]/td/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, 'javascript:history.go(-1);')])[2]", "xpath:href"], + ["xpath=//td/a", "xpath:position"] + ], + "value": "" + }] + }, { + "id": "05e893e3-0a9f-4e75-aad8-f122ddf0f7b1", + "name": "caselib_browse", + "commands": [{ + "id": "e0d4bd26-31b1-4dd2-8d51-a1c7e6e83acd", + "comment": "", + "command": "open", + "target": "http://max.zentao.com/caselib-browse-0.html", + "targets": [], + "value": "" + }, { + "id": "c429b34e-aa96-4acf-903b-e300490cdfb5", + "comment": "", + "command": "setWindowSize", + "target": "1366x728", + "targets": [], + "value": "" + }, { + "id": "3e368ac5-7c41-42f6-930e-4b48ab8d0615", + "comment": "", + "command": "selectFrame", + "target": "index=0", + "targets": [ + ["index=0"] + ], + "value": "" + }, { + "id": "4cfe3ec0-939b-4b36-b9be-4f6cf73f4f24", + "comment": "", + "command": "click", + "target": "linkText=创建用例库", + "targets": [ + ["linkText=创建用例库", "linkText"], + ["css=.btn-secondary", "css:finder"], + ["xpath=//a[contains(text(),'创建用例库')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-create.html')]", "xpath:href"], + ["xpath=//div[3]/a", "xpath:position"], + ["xpath=//a[contains(.,' 创建用例库')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "6a9e4714-2f22-48b8-9db5-ef9e1033d71a", + "comment": "", + "command": "click", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='createForm']/table/tbody/tr/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "" + }, { + "id": "4a66b040-4489-4f63-b87c-5f3b6610c30e", + "comment": "", + "command": "type", + "target": "id=name", + "targets": [ + ["id=name", "id"], + ["name=name", "name"], + ["css=#name", "css:finder"], + ["xpath=//input[@id='name']", "xpath:attributes"], + ["xpath=//form[@id='createForm']/table/tbody/tr/td/input", "xpath:idRelative"], + ["xpath=//td/input", "xpath:position"] + ], + "value": "今天的用例库" + }, { + "id": "edd420e7-320b-472f-a460-24744e155d50", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "2c3a93e8-28a4-4e66-82ab-6942f8edb930", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"] + ], + "value": "" + }, { + "id": "2f4e4e6f-d4a0-4900-ad06-358b2f0bd942", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "d2dcc361-8b65-4628-983e-9d76cfff1f32", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='createForm']/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "024fb961-c518-49d2-9421-442fda7d0916", + "comment": "", + "command": "click", + "target": "css=.btn-info:nth-child(2)", + "targets": [ + ["css=.btn-info:nth-child(2)", "css:finder"], + ["xpath=(//a[contains(text(),'建用例')])[5]", "xpath:link"], + ["xpath=//div[@id='mainContent']/div[2]/div[2]/p/a", "xpath:idRelative"], + ["xpath=(//a[contains(@href, '/caselib-createCase-10-0.html')])[3]", "xpath:href"], + ["xpath=//p/a", "xpath:position"] + ], + "value": "" + }, { + "id": "dd0f5597-a4ba-4bd9-968e-393f8cc28bb6", + "comment": "", + "command": "click", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "eaa3e5af-eea1-44a3-bf96-6e75b91ec5c4", + "comment": "", + "command": "type", + "target": "id=title", + "targets": [ + ["id=title", "id"], + ["name=title", "name"], + ["css=#title", "css:finder"], + ["xpath=//input[@id='title']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/div/div/input", "xpath:idRelative"], + ["xpath=//td/div/div/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "517f797c-bcf1-4ce9-bc99-255115c82651", + "comment": "", + "command": "click", + "target": "id=precondition", + "targets": [ + ["id=precondition", "id"], + ["name=precondition", "name"], + ["css=#precondition", "css:finder"], + ["xpath=//textarea[@id='precondition']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "be545df8-8e27-436a-aecf-0b560de6a03d", + "comment": "", + "command": "type", + "target": "id=precondition", + "targets": [ + ["id=precondition", "id"], + ["name=precondition", "name"], + ["css=#precondition", "css:finder"], + ["xpath=//textarea[@id='precondition']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[4]/td/textarea", "xpath:idRelative"], + ["xpath=//textarea", "xpath:position"] + ], + "value": "2" + }, { + "id": "ec86c2bc-b363-4166-b061-0daca26ccb8d", + "comment": "", + "command": "click", + "target": "id=steps[]", + "targets": [ + ["id=steps[]", "id"], + ["name=steps[1]", "name"], + ["css=.step:nth-child(1) #steps\\[\\]", "css:finder"], + ["xpath=//textarea[@id='steps[]']", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//div/textarea", "xpath:position"] + ], + "value": "" + }, { + "id": "efc3fa52-092e-4dfd-8a0e-9cc7fa34b22a", + "comment": "", + "command": "type", + "target": "id=steps[]", + "targets": [ + ["id=steps[]", "id"], + ["name=steps[1]", "name"], + ["css=.step:nth-child(1) #steps\\[\\]", "css:finder"], + ["xpath=//textarea[@id='steps[]']", "xpath:attributes"], + ["xpath=//tbody[@id='steps']/tr/td[2]/div/textarea", "xpath:idRelative"], + ["xpath=//div/textarea", "xpath:position"] + ], + "value": "3" + }, { + "id": "fc6cc235-2e85-4f7f-9095-9415c8e928af", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tfoot/tr/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"] + ], + "value": "" + }, { + "id": "f77bde4b-ffaa-42d0-85c9-75b83f574157", + "comment": "", + "command": "click", + "target": "linkText=查看库概况", + "targets": [ + ["linkText=查看库概况", "linkText"], + ["css=.btn-link:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'查看库概况')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[2]/a[3]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-view-10.html')]", "xpath:href"], + ["xpath=//a[3]", "xpath:position"], + ["xpath=//a[contains(.,' 查看库概况')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "1a5fc89b-8d47-49dc-a461-4501cd252c3d", + "comment": "", + "command": "click", + "target": "css=.btn:nth-child(3)", + "targets": [ + ["css=.btn:nth-child(3)", "css:finder"], + ["xpath=//div[@id='mainContent']/div/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-edit-10.html')]", "xpath:href"], + ["xpath=//a[2]", "xpath:position"] + ], + "value": "" + }, { + "id": "abe8237b-e126-4c05-954b-c5179f674795", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "3b96f6f1-eb02-42f8-9941-d4f059307495", + "comment": "", + "command": "click", + "target": "css=.article-content", + "targets": [ + ["css=.article-content", "css:finder"], + ["xpath=//body", "xpath:position"], + ["xpath=//body[contains(.,'111')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "59e7e8b5-550c-4802-a93a-3662a7309407", + "comment": "", + "command": "selectFrame", + "target": "relative=parent", + "targets": [ + ["relative=parent"] + ], + "value": "" + }, { + "id": "1908da8e-2e2e-4d62-a400-582340b258f0", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "b219e16e-5d06-4bbf-9ecc-49410256279b", + "comment": "", + "command": "mouseOver", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='dataform']/table/tbody/tr[3]/td/button", "xpath:idRelative"], + ["xpath=//td/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e616581f-1bba-4a34-96c7-c6de49e31354", + "comment": "", + "command": "click", + "target": "css=.btn-toolbar:nth-child(2) .icon-goback", + "targets": [ + ["css=.btn-toolbar:nth-child(2) .icon-goback", "css:finder"], + ["xpath=(//a[@id='back']/i)[2]", "xpath:idRelative"], + ["xpath=//div[2]/div/a/i", "xpath:position"] + ], + "value": "" + }, { + "id": "5f232728-57fe-4f28-b9a6-beafc049a224", + "comment": "", + "command": "click", + "target": "id=bysearchTab", + "targets": [ + ["id=bysearchTab", "id"], + ["linkText=搜索", "linkText"], + ["css=#bysearchTab", "css:finder"], + ["xpath=//a[contains(text(),'搜索')]", "xpath:link"], + ["xpath=//a[@id='bysearchTab']", "xpath:attributes"], + ["xpath=//div[@id='mainMenu']/div[2]/a[2]", "xpath:idRelative"], + ["xpath=//a[2]", "xpath:position"], + ["xpath=//a[contains(.,' 搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "907d99bb-15d3-4f4d-be19-bc6de5ac9b46", + "comment": "", + "command": "click", + "target": "id=value1", + "targets": [ + ["id=value1", "id"], + ["name=value1", "name"], + ["css=#value1", "css:finder"], + ["xpath=//input[@id='value1']", "xpath:attributes"], + ["xpath=//td[@id='valueBox1']/input", "xpath:idRelative"], + ["xpath=//td[4]/input", "xpath:position"] + ], + "value": "" + }, { + "id": "38f5af12-de44-497b-89aa-f5eb5fd1c00e", + "comment": "", + "command": "type", + "target": "id=value1", + "targets": [ + ["id=value1", "id"], + ["name=value1", "name"], + ["css=#value1", "css:finder"], + ["xpath=//input[@id='value1']", "xpath:attributes"], + ["xpath=//td[@id='valueBox1']/input", "xpath:idRelative"], + ["xpath=//td[4]/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "b8815d65-7e43-4ee5-b5cb-5a9dfc829923", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//table[@id='caselib-search']/tbody/tr[2]/td/button", "xpath:idRelative"], + ["xpath=//div[2]/div/form/table/tbody/tr[2]/td/button", "xpath:position"], + ["xpath=//button[contains(.,'搜索')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "88b16030-86e2-4841-a14e-edd784eedd6b", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-down", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-browse-10-bysearch-myQueryID-id_asc-1-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "751d1ed9-62dd-4ad1-be1a-493841bb26d3", + "comment": "", + "command": "click", + "target": "linkText=ID", + "targets": [ + ["linkText=ID", "linkText"], + ["css=.sort-up", "css:finder"], + ["xpath=//a[contains(text(),'ID')]", "xpath:link"], + ["xpath=//table[@id='caseList']/thead/tr/th/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-browse-10-bysearch-myQueryID-id_desc-1-20.html')]", "xpath:href"], + ["xpath=//th/a", "xpath:position"], + ["xpath=//a[contains(.,'ID')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "86c3b042-4a57-416e-ad84-26e95b98b27b", + "comment": "", + "command": "click", + "target": "linkText=维护模块", + "targets": [ + ["linkText=维护模块", "linkText"], + ["css=.btn-info:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'维护模块')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/tree-browse-10-caselib-0-0-qa.html')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'维护模块')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7002e7ad-2df4-43fa-af63-0070663d7c58", + "comment": "", + "command": "click", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "898e2769-738d-4f41-bfa7-97f8f3529c36", + "comment": "", + "command": "type", + "target": "id=modules[]", + "targets": [ + ["id=modules[]", "id"], + ["name=modules[]", "name"], + ["css=#sonModule > .table-row:nth-child(1) #modules\\[\\]", "css:finder"], + ["xpath=//input[@id='modules[]']", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div/div/input", "xpath:idRelative"], + ["xpath=//td[2]/div/div/div/input", "xpath:position"] + ], + "value": "1" + }, { + "id": "0c9ee767-c619-49a0-b524-7247533fabb7", + "comment": "", + "command": "click", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "" + }, { + "id": "6e53257b-4ab7-4867-910a-9dd5df9223a7", + "comment": "", + "command": "type", + "target": "css=.table-row:nth-child(2) #modules\\[\\]", + "targets": [ + ["css=.table-row:nth-child(2) #modules\\[\\]", "css:finder"], + ["xpath=(//input[@id='modules[]'])[2]", "xpath:attributes"], + ["xpath=//div[@id='sonModule']/div[2]/div/input", "xpath:idRelative"], + ["xpath=//div[2]/div/input", "xpath:position"] + ], + "value": "2" + }, { + "id": "dfcc5658-a9a9-4eb4-8d98-90e70ec33e48", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/button", "xpath:idRelative"], + ["xpath=//td[2]/button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "69f87776-71ea-4534-9379-2dedd6232321", + "comment": "", + "command": "click", + "target": "linkText=返回", + "targets": [ + ["linkText=返回", "linkText"], + ["css=.btn-wide:nth-child(2)", "css:finder"], + ["xpath=//a[contains(text(),'返回')]", "xpath:link"], + ["xpath=//form[@id='childrenForm']/table/tbody/tr[2]/td[2]/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-browse-10-bysearch-myQueryID-id_desc-1-20.html')]", "xpath:href"], + ["xpath=//td[2]/a", "xpath:position"], + ["xpath=//a[contains(.,'返回')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "e25494cd-98e5-4a3b-801d-c586a6b4a451", + "comment": "", + "command": "click", + "target": "linkText=模块设置", + "targets": [ + ["linkText=模块设置", "linkText"], + ["css=.btn-info:nth-child(3)", "css:finder"], + ["xpath=//a[contains(text(),'模块设置')]", "xpath:link"], + ["xpath=//div[@id='sidebar']/div[2]/div/a[2]", "xpath:idRelative"], + ["xpath=//a[contains(@href, '#showModuleModal')]", "xpath:href"], + ["xpath=//div[3]/div/div[2]/div/a[2]", "xpath:position"], + ["xpath=//a[contains(.,'模块设置')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "498f68bc-78bf-4de7-aef2-faf33a037bab", + "comment": "", + "command": "click", + "target": "css=.close > .icon", + "targets": [ + ["css=.close > .icon", "css:finder"], + ["xpath=//div[@id='showModuleModal']/div/div/div/button/i", "xpath:idRelative"], + ["xpath=//button/i", "xpath:position"] + ], + "value": "" + }, { + "id": "e6db5916-0cfd-46d7-bc81-16f0835d8606", + "comment": "", + "command": "click", + "target": "css=#allTab > .text", + "targets": [ + ["css=#allTab > .text", "css:finder"], + ["xpath=//a[@id='allTab']/span", "xpath:idRelative"], + ["xpath=//a/span", "xpath:position"], + ["xpath=//span[contains(.,'所有')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "729f3c9f-691b-4f19-94a3-d1c9c606f544", + "comment": "", + "command": "click", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=.export:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-exportTemplet-10.html')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "dfd73fb8-e806-4b62-b8e8-314c7efcd8d9", + "comment": "", + "command": "mouseOver", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=.export:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-exportTemplet-10.html')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "7b34fafa-ae7c-419b-9ee4-da372820cf95", + "comment": "", + "command": "mouseOut", + "target": "linkText=导出模板", + "targets": [ + ["linkText=导出模板", "linkText"], + ["css=.export:nth-child(1)", "css:finder"], + ["xpath=//a[contains(text(),'导出模板')]", "xpath:link"], + ["xpath=//div[@id='mainMenu']/div[3]/div/a", "xpath:idRelative"], + ["xpath=//a[contains(@href, '/caselib-exportTemplet-10.html')]", "xpath:href"], + ["xpath=//div[3]/div/a", "xpath:position"], + ["xpath=//a[contains(.,' 导出模板')]", "xpath:innerText"] + ], + "value": "" + }, { + "id": "4c74a27f-a992-4476-b938-b3b222102856", + "comment": "", + "command": "selectFrame", + "target": "index=1", + "targets": [ + ["index=1"] + ], + "value": "" + }, { + "id": "d31b95e1-54d9-42ce-a240-3dfbfb5e7ed7", + "comment": "", + "command": "click", + "target": "id=submit", + "targets": [ + ["id=submit", "id"], + ["css=#submit", "css:finder"], + ["xpath=//button[@id='submit']", "xpath:attributes"], + ["xpath=//div[@id='mainContent']/form/table/tbody/tr/td[3]/button", "xpath:idRelative"], + ["xpath=//button", "xpath:position"], + ["xpath=//button[contains(.,'保存')]", "xpath:innerText"] + ], + "value": "" + }] + }], + "suites": [{ + "id": "ff8dd807-5e74-425d-8767-104a29f4890e", + "name": "qa", + "persistSession": false, + "parallel": false, + "timeout": 300, + "tests": ["72dcb868-2277-4cd3-85f6-8ff19e745b49", "9b87bc72-d2bb-4071-9c40-2633a54b08d5", "0ae6f660-17e1-4f0e-97dd-0d536e1b75c0", "fe627c39-f52f-4eef-a65c-d85f8bbdeeab", "03203236-1b09-47bc-b17f-09468797fc23", "05e893e3-0a9f-4e75-aad8-f122ddf0f7b1", "f7fbb9a9-518e-4d56-ba39-90d4ef089040", "1ab2eb9a-abb9-42ed-9fc0-744e8b706d05", "a5129d05-0b4d-4b96-9641-a0f22620faad", "43cf968e-85db-4510-bf18-3efe51a8f2b0", "cb992c7e-0989-4620-bd3e-09230728beb7", "d9e198c6-c658-442a-b54b-28b09eb2e597", "a644a80b-fe3d-4249-a44e-d3888e613a14", "069163f9-996e-4f40-bd03-72c3983cbb74", "5960574c-42db-430c-b1d9-3a1189cffc7e", "46ba4a49-6ffd-452f-aa62-c4030f16b991"] + }], + "urls": ["http://max.zentao.com/qa/", "http://max.zentao.com/bug-browse-1.html", "http://max.zentao.com/testcase-browse-2-0-all.html", "http://max.zentao.com/testcase-groupCase-2-0-story.html", "http://max.zentao.com/testcase-browse-2-0-bySuite-5.html", "http://max.zentao.com/story-zeroCase.html", "http://max.zentao.com/testtask-browseUnits-2.html", "http://max.zentao.com/testsuite-browse-2.html", "http://max.zentao.com/testtask-browse-2.html", "http://max.zentao.com/testreport-browse-2.html", "http://max.zentao.com/caselib-browse-0.html"], + "plugins": [] +} \ No newline at end of file