Another release of Ranorex Webtestit is out!
A new language slithered its way into Ranorex Webtestit. Say hello to the newest member of our family - Python
We’re proud to introduce one of the most popular programming languages worldwide, which will be available for your GUI tests as of this release.
This release also brings many new features and improvements, as well as bug fixes.
Check out the complete list of all changes included in Ranorex Webtestit version 1.7.0:
The long-anticipated feature - Python support is here! We introduced Python as our third supported programming language together with the Unittest framework. So besides Java and TypeScript, you can now write stable, maintainable and readable automated tests with Python. To get you started with Python, we prepared this step-by-step guide on how to create your first Python project. Besides that, we have a new python-demoshop sample project that you can download from the welcome screen, inspect it and see how Python and Selenium are running smoothly with Ranorex Webtestit
Python language support is in Preview mode, so if you encounter any issues please provide us with your feedback and opinions!
Passing parameters to test execution
Need a convenient way to pass custom variables to your execution, e.g. a target URL or a file path for your data driven tests? We got you covered with this new feature.
All you need to do is to define your custom properties in the
*.endpoints.jsonfile. We prepared an article with a detailed explanation on how to pass parameters to test execution, so be sure to check it out first! Related topic - 1402
Instantiate Page Objects even faster in your tests
Instantiating your Page Object in a Test file with Ranorex Webtestit is easy enough, right? Just right-click into your class and select the “Instantiate Page Object” from the context menu, or use the keyboard shortcuts. With this feature, the whole process just got even easier!
Ranorex Webtestit will now open a context menu, displaying all your Page Object files that can be instantiated, and you can easily pick the desired one from the list. So no more need to remember the names of the Page Objects.
Ranorex Selocity - updated naming for elements sent from Ranorex Selocity
As often requested, this feature introduces a new naming style when sending elements from the Ranorex Selocity extension directly to Ranorex Webtestit. Element names generated by Ranorex Selocity are now converted into a format complying with the coding style of your project’s language:
- Java and TypeScript: camelCase
- Python: _snake_case with a leading underscore
Now you don’t have to rename your elements to match the project’s programming language anymore, Ranorex Webtestit does this for you! All you need to do is to send your elements from the browser to Ranorex Webtestit, drag them to the code and let Ranorex Webtestit create actions and methods that suit your needs
Ranorex Selocity - additional CSS selector
As you already know, using our Ranorex Selocity extension, you can create robust and stable selectors, and send them directly to Ranorex Webtestit. You can choose from the generated selector list between CSS, XPath, and link-text selectors. To provide you with more options, we now generate a second CSS selector powered by true and tested Ranorex technology.
Sending the CSS selector from the browser’s context menu, Ranorex Selocity will automatically choose and send the better of the two selectors.
Warning when trying to delete a non-empty folder
If you try to delete a non-empty folder, Ranorex Webtestit will now warn you with a dialog, so that you don’t get in trouble by deleting an important folder accidentally.
Welcome screen updates
With this feature introduced, you can find more useful information on our welcome screen. Especially if you are new to Ranorex Webtestit, this is the place to get to know our tool and discover the neat features it offers. We updated our slider to show the most important features and workflows of Ranorex Webtestit. Also, on the sliders, we placed buttons that will lead you to our official Medium page or our Discourse forum where you can find all the help you need!
Updated Getting Started Panel
For all our new users, besides the official Ranorex Webtestit guide, Ranorex Webtestit offers the Getting started panel, with useful videos on how to create your first automated test. The Getting started panel can be activated from the Help -> Get Started menu entry. If you are new to Ranorex Webtestit, we advise you to check it out!
UI lagging at the end of a test execution
We optimized the way a test execution ends to avoid the UI freezing at the end of a test execution on slower machines.
Clicking close while adding a new element adds the element twice
When adding a new element to the Page Object file and clicking ‘Close’ right after filling in the element’s name and element’s selector, the same element would sometimes be added twice. This was fixed.
Java tests with additional annotations are not recognized properly
When secondary annotations were added to a test method in a Java project (e.g. “@Ignore”) the test would no longer be recognized correctly by our test crawler. This also affected a few features, such as snippet availability and context menu options, as well as linking reports to tests correctly. This was fixed.
Github/Gitlab sessions not properly cleaned up when logging out of Ranorex Webtestit
With this release, logging out of Ranorex Webtestit also automatically logs the user out of these sessions.
Known issue: On macOS, after finishing a test run in diagnostic mode, the browser and the dev tools might still stay open afterward, even if you click “Stop diagnostic mode” button from the status bar, so you would have to close the browser manually.
You should receive the new version automatically via the auto-updater once you restart the app.
Alternatively, you can download the version here