Running Web UI tests
See the different ways to play back Web UI tests.
- Running a Web UI test
To verify that a web application works as designed, run the test in a browser. Optionally, you can run the test in more than one browser at a time to speed up your test effort. Before running the test, you can choose to use a specific browser profile for the test. - Running a Web UI test in the Microsoft Edge browser
Web UI tests recorded in Internet Explorer, Mozilla Firefox or Google Chrome browsers can be run in Microsoft Edge browser. You cannot record Web UI tests in Edge. - Running a test from the command line
- Running Web UI tests on Perfecto mobile cloud
To check the connection between the application and mobile cloud device, ideally before the test execution, you can enter the Perfecto mobile cloud credentials and get it verified. - Running a test recorded in Google Chrome Device Mode
You can run a test that you recorded in Chrome Device Mode. Doing so allows you to emulate the testing of a mobile app on a mobile device. - Running a test in Google Chrome headless mode
Starting with 9.1.1, you can play back tests in Google Chrome headless mode. This feature allows you to run tests in an automated testing environment where a visible user interface shell is not required. When you run the test, while Chrome opens the application URL, and UI actions are performed, the user does not see the UI. - Running a Web UI test using industry-standard mobile browsers
Starting with 9.2.1, you can use industry-standard mobile browsers, such as Chrome and Safari, to run Web UI tests for mobile web applications. You can run tests with Chrome on Android devices and emulators and with Safari on iOS devices and simulators. This capability uses Appium to actually run the tests. Before 9.2.1, you could only run tests on mobile devices using the generic browser that is bundled with Rational® Functional Tester. - Starting a new recording immediately after playback
Starting from 9.1.1.1, you can keep the Google Chrome browser active after Web UI test playback is complete. This feature allows you to continue recording at the point where playback finished without the need to re-record the earlier steps. - Accelerating the test effort with distributed testing
The Rational Functional Tester Web UI Test perspective helps you accelerate the test effort by providing ways to distribute test execution across multiple browsers and multiple computers simultaneously. - Adding custom JavaScript code as a test step in a Web UI test
You can manually add JavaScript files (*.js) to test scripts with defined functions. You might want to run your own JavaScript snippet such as retrieving some data from the application, doing some actions within the application, or validating some complex logic actions within the application for example. To be able to execute specific code in a test, write your own JavaScript code and insert the custom JavaScript statement as a new test step in your test script.
Feedback