在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):healenium/healenium-example-maven开源软件地址(OpenSource Url):https://github.com/healenium/healenium-example-maven开源编程语言(OpenSource Language):Java 100.0%开源软件介绍(OpenSource Introduction):healenium-example-mavenJava + Maven + Junit5 project with healenium usage example https://www.youtube.com/watch?v=Ed5HyfwZhq4To setup Healenium see the tutorial:How to start1.Start Healenium backend from infra folder
To download this file into your project use this command:
Create /db/sql folder on the same level in your project. Add init.sql file into ./db/sql/init.sql folder in your project via command:
Verify that images 2. Project structure
3.Run test in terminal with mavenIn
LOCAL - used for local run. It's been set by default in BaseTest.java class. For this driver should be used docker-compose file from test example. PROXY - used if you're running tests using healenium-proxy. For this driver you need to set docker-compose containers as in example by link: https://github.com/healenium/healenium-example-dotnet/blob/master/infra/docker-compose.yml REMOTE - used if you-re running test on remote machine. Do not forget to provide necessary host. In this test example it's been used remote machine with Selenoid. In
If you want to execute all tests, please use the command: 4.After test execution you should see generated report link in command line logsReport contains only healed locators with old-new values and a button that tells if healing was successful for further algorithm corrections 5. ScreenshotsAlso you could take a screenshots for your com.epam.healenium.tests like it implements here: BaseTest.screenshot
6. @DisableHealing annotationIf don't want to use Healenium in some methods just use @DisableHealing annotation.
7. Plugin Healenium for Intellij IDEFor updating broken locators you could use Plugin "Healenium" for Intellij IDE (https://plugins.jetbrains.com/plugin/14178-healenium). With this plugin you can update your locators:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论