Selenide Exporter for Katalon Recorder
大小:41.59KiB版本:v 1.2更新时间:2021-12-21
Export Katalon Recorder browser actions to the Selenide Framework
Selenide Exporter for Katalon Recorder 的使用方法详解,最全面的教程
Selenide Exporter for Katalon Recorder 描述:
用户数:286
分类:开发者工具插件
扩展大小:41.59 KiB
最后更新时间:2021-12-21
版本:v 1.2
Selenide Exporter for Katalon Recorder 插件简介:
这是来自Chrome商店的 Selenide Exporter for Katalon Recorder 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
Selenide Exporter for Katalon Recorder插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
Selenide Exporter for Katalon Recorder插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/Release notes: version 1.2
adds better syntax for XPath locators $x(..)
adds functionality for css= locators
-----
Create automated website tests for the Selenide framework and JUnit 4 by using the Katalon Recorder plugin.
Steps:
1) Record browser actions and use various assertion commands in the Katalon Recorder to create replayable website tests.
2) Click "Export" in the Recorder and choose "Selenide Framework".
3) Selenide syntax will be generated automatically.
Note: there is no difference between "assert" and "verify" in the Selenide syntax. Instead, you can use the following code if you use Maven.
command line: mvn "-Dsurefire.skipAfterFailureCount=1" test
pom:
org.apache.maven.plugins
maven-surefire-plugin
3.0.0-M4
1
This stops the tests after the first failure. You could raise the number to 3 or 10 if you want to prevent runaway failures.
Related information:
Selenide framework: https://selenide.org/
Katalon Recorder plugin: https://chrome.google.com/webstore/detail/katalon-recorder-selenium/ljdobmomdgdljniojadhoplhkpialdid
source code: https://github.com/jpratt2/selenideExport-release
If you want to start using Selenide in Maven:
com.codeborne
selenide
5.7.0
junit
junit
4.13
Note: in Selenide, you don't have to maintain browser drivers. It does this automatically. If you want to launch a test using a specific browser in Maven, you could use this command line syntax:
mvn -Dselenide.browser=firefox test