Open nxwzj0 opened 5 years ago
Thank you for your report. The feature to convert json style Selenium IDE script has been implemented in develop branch, but it has not been released yet.
If you want to use this feature right away, please try the following:
# Build and install develop version.
git clone https://github.com/sitoolkit/sit-wt-all.git
cd sit-wt-all
git checkout develop
./mvnw install -Dmaven.test.skip=true
# Double-click ./sit-wt-app/target/sit-wt-app-3.0.0-beta.2-SNAPSHOT.jar to execute.
The SeleniumIDE 3.8.1 export file is json it's cannot convert to si-tookit testscript file *.csv
{ "id": "374b4ba2-8e53-474b-b4d8-19c32b9a3015", "name": "example", "url": "http://localhost:8280", "tests": [{ "id": "73683b67-4f87-4c0b-abbf-270ed1bcbe27", "name": "Untitled", "commands": [{ "id": "b7453020-84c3-4bf0-9fb1-e37d4c980de4", "comment": "打开网页", "command": "open", "target": "/input.html", "targets": [], "value": "" }, { "id": "193a0828-80bf-4652-a806-bad0a8d13b04", "comment": "", "command": "clickAt", "target": "id=name", "targets": [], "value": "78,16" }, { "id": "d0b72498-f2ce-4525-af6c-a00976516a9e", "comment": "输入名称", "command": "type", "target": "id=name", "targets": [], "value": "测试" }, { "id": "5288cc45-609b-4461-9bec-9f6de3730fb4", "comment": "", "command": "clickAt", "target": "css=label.radio-inline", "targets": [], "value": "27,24" }, { "id": "029a6d22-4565-4c06-b564-e8f62b1d4960", "comment": "", "command": "clickAt", "target": "id=prefecture", "targets": [], "value": "-310,-199" }, { "id": "958794d4-9e86-45b2-9589-b0943551b3be", "comment": "", "command": "select", "target": "id=prefecture", "targets": [], "value": "label=北海道" }, { "id": "d9c077bf-3757-4fa5-812f-8a1a47532d36", "comment": "", "command": "clickAt", "target": "css=option[value=\"P01\"]", "targets": [], "value": "-312,-214" }, { "id": "fb4a926b-312c-480f-8fa6-10efe8cec831", "comment": "", "command": "clickAt", "target": "id=city", "targets": [], "value": "-310,-260" }, { "id": "8121ab50-fa18-451b-a304-d76c3eb9ccfe", "comment": "", "command": "select", "target": "id=city", "targets": [], "value": "label=函館" }, { "id": "d33dfc6d-dd06-4962-9e55-014afe730d44", "comment": "", "command": "clickAt", "target": "//select[@id='city']/option[2]", "targets": [], "value": "-312,-282" }, { "id": "e3482403-3f75-41bc-b18a-fd913a2d1a9e", "comment": "", "command": "clickAt", "target": "css=label.checkbox-inline", "targets": [], "value": "32,17" }, { "id": "682153a8-195b-462d-b238-220851aa0f18", "comment": "", "command": "clickAt", "target": "//label[3]", "targets": [], "value": "16,16" }, { "id": "ed25a4cd-d024-4117-990d-0ca04f5770d3", "comment": "", "command": "clickAt", "target": "id=remark", "targets": [], "value": "104,31" }, { "id": "3b28c9af-9402-495e-9fa5-a347ca35ae63", "comment": "", "command": "type", "target": "id=remark", "targets": [], "value": "测试备考" }, { "id": "62ee544c-34e3-4d3c-b20f-b7beacf76276", "comment": "", "command": "clickAt", "target": "css=a", "targets": [], "value": "44,8" }, { "id": "a4c8bddb-cdc8-4903-a5e9-86693a05bbd1", "comment": "", "command": "clickAt", "target": "id=close", "targets": [], "value": "21,11" }, { "id": "8effadbc-eca7-469a-97a3-845c5471e9ec", "comment": "", "command": "close", "target": "win_ser_local", "targets": [], "value": "" }, { "id": "ab193ee5-5885-467b-81ba-b32e40865447", "comment": "", "command": "chooseOkOnNextConfirmation", "target": "", "targets": [], "value": "" }, { "id": "c27451c5-29a4-49a5-847d-680b26e173af", "comment": "", "command": "clickAt", "target": "id=confirm", "targets": [], "value": "68,29" }, { "id": "9a8668ed-e626-4461-85a5-2534516408dd", "comment": "", "command": "assertConfirmation", "target": "よろしいですか?", "targets": [], "value": "" }, { "id": "79970aa5-4caa-4c03-8a11-890d237ba37a", "comment": "", "command": "clickAt", "target": "css=a", "targets": [], "value": "6,4" }] }], "suites": [], "urls": ["http://localhost:8280/"], "plugins": [] }