Release notes v0.16.0


#1

New release of Webtestit is out!
We introduced several new features and improvements listed below.
As always, the whole Webtestit team is looking forward to your feedback!

IDE-Features:

  • Send feedback and crash reports – Webtestit will now open a feedback dialog when you encounter an unexpected error or the application crashes when creating projects or running your tests. Once again, we encourage you to use this option whenever you encounter some errors, or have some ideas / feature requests, as this is beneficial both to users and the development team to make Webtestit more stable and more user-friendly.
    You can open the feedback dialog by clicking the feedback icon 03 or from the Help menu --> Send Feedback.

  • Auto detect Java and setting JAVA_HOME environment variable – You don’t need to set the JAVA_HOME variable manually anymore! Webtestit will now automatically set the variable for your installed JDK. If multiple JDK´s are installed Webtestit will use the latest version. All you need to do now is to install JDK and you are ready to go!

  • File watcher – we introduced the File watcher feature! With this feature available, you can modify files outside of Webtestit, and make your desired changes to files while Webtestit is running. Any changes made outside the application are automatically detected and the user gets informed about it trough a dialog. You are able to keep the changes you made outside Webtestit or discard those changes and keep the original version.

    com-video-to-gif

  • New version notification for Linux users – While the auto-update option on linux is currently not available, Linux users will be notified of new software version via New update available dialog containing new versions direct download link. This way you will be up to date with the latest version and new features of Webtestit.

  • Multi element selector snippets – We introduced three new multi element selector snippets (Get a single Element Text By Index, Assign Element To Variable By Index and Click Element By Index) making your work with multiple element selectors like list items etc. easier and faster!
    20

  • Generated code is now inserted as Monaco Snippets - That means you have predefined tab stops and can easily manipulate the generated code at your will

  • Syntax highlighting – Webtestit now has better looking syntax highlighting for Java and TypeScript projects which contributes to better code readability.
    Observe the difference before (left image) and after implemented syntax highlighting (right image).

  • Reset password – With this feature available you are now able to reset your Webtestit account password. Click on the forgot password link in the login window. You will then receive the password reset details via e-mail.

  • Element screenshot - It often happens that due the unclear or a bad element selector naming, testers get confused and don’t know what the selected element locator is, and where it is located. With this feature, Webtestit now shows a screenshot of the element located on the web page, so that you can easily understand and recognise all those selectors.

    After an element has been sent to Webtestit from Selocity extension, locate it in the Element panel. You will notice an image icon that shows you the screenshot of your element. You can locate the screenshot by clicking the “Open folder” link or see the full-sized image by clicking “Show full-size”.
    The element screenshot is also available in the code, when you hover over the selector

  • Context sensitive help - Anything unclear? - Click the help link. We introduced the context sensitive help that can assist you during your test creation process or provide explanations if you get stuck. The help links contain articles and videos that point out to best use cases and test-making practices with Webtestit. With new features coming, we will provide more helpful links so that you can always stay on track with Webtestit and its best prectises!

  • Reporting to TestRail - CLl runs now can report the results directly to TestRail as new Test runs:

    <application path> testrail-export <projectPath> --report-file-destination --host? --user? --password? --projectId? --runName?

  • Fix broken selectors with Selocity extension in diagnostics mode - In many cases, the test fails are caused by a bad, broken or missing element/selector on the page. With this feature you can easily locate and explore those broken selectors, repair them and send them back to your page object. To do so follow these steps:

  1. Run your failing test in diagnostic mode - after your test fails, the browser stays open with DEV tools activated.

  2. Make sure Ranorex Selocity extension is connected with Webtestit

  3. Select your Page Object file, containing the broken selector and in the elements panel click the “Edit with Ranorex Selocity” button

  4. The selector is then sent to the extension, and a search is automatically performed on the page. Now you can check if the locator has been changed or modified or is no longer available. You can edit the selector and test it here.

    23

  5. After you are finished editing and fixing your selector, you can send it back to the application. The repaired selector replaces the broken one and your element and test should be repaired!

Bug fixes:

  • Jira integration: Jira issues added from the report are now properly indented
  • Scaffold into read-only folder: Webtestit now checks on project creation whether the target location is read-only and fails with a proper error message
  • CLI mode: It’s was not possible to provide a glob pattern via the --test-file-patterns in cli mode

You should receive the new version automatically via the auto-updater once you restart the app.
Alternatively, you can download the latest version here


Selocity not connecting to Webtestit
Screenshot for fixing elements with diagnostic mode is not matching with 0.20.1