Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run configurations specify details about how tests are executed. The Selenic run configurations panel enables you to configure which functionalities should be enabled during execution. Refer to to the Usage for  section for additional information on executing the run configurations you create. The  

Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue

The following video tutorial describes how to configure Selenic run configurations.

...

Widget Connector

...

width

...

600

...

url

...

https://

...

www.

...

youtube.com/

...

watch?v=m_XNPn5ZP34
height400

Creating a Run Configuration with Configuration with Default Settings

The recommended workflow is to select a test, package, or project and run it as a JUnit or TestNG test, which creates a configuration with default settings that you can modify. 

...

Scroll Table Layout
widths40%,60%

Generate recommendations

Enabling Enable this option generates to generate element locator recommendations. Selenic analyzes previous test runs to generate recommendations. 

The test must be successfully executed with Selenic at least once for Selenic to generate recommendations.

The following options are available:

  • Failed LocatorsEnable this option to generate recommendations for failed element locators only.
  • All locators: Generates recommendations for all element locators. The Selenic Recommendations view will show the recommendations for all locators, but the HTML report will still only show recommendations for failed locators.
Open HTML report after execution

Automatically opens Enable this option to automatically open the report when Selenic finishes running.

The report will open either in an internal or external browser. You can configure how the report opens in the General> Web Browser screen of the IDE preference settings. 

Self-healing

Self-healing allows test execution to continue when changes to the application may otherwise halt testing activities. Self-healing is typically enabled when executing tests from the command line. Enable this option and configure the following self-healing settings.

Locators 

Enable this option and Selenic will automatically attempt to update broken element locators during execution. Selenic uses historical data about successful test executions to determine the best possible locator to replace a broken locator. Healed locators are flagged and included in the report for further investigation.

Wait conditions 

Enable this option and specify by how much Selenic should extend Selenium wait conditions to prevent a timeout.

You can specify a percentage of the original value that should be added when a wait condition is identified. For example, if a wait condition is configured for 4 (in seconds), setting the Additional time added to existing wait (percent) field to 50 extends the wait condition to 6.     

You can also specify a minimum number of seconds to add for all wait conditions identified by Selenic in the Minimum additional time (seconds) field. 

Take screenshots on failuresEnabling Enable this option enables the test machine to take a screenshot of the browser at the point at which when a failure occurredoccurs.
Create API tests with Parasoft SOAtest

Enable this option if you want to create API tests for REST APIs called calls made by the application under test during test execution. 

API tests will be added to the workspace of the SOAtest server specified in the API Test Creation Options. A separate license feature for API test creation is required for the SOAtest server. See Parasoft Recorder SOAtest Smart API Test Generator for details about API test creation. 

  • Proxy port: Port number on which the SOAtest Web Proxy is running. 
  • SOAtest host: The host or IP address where the SOAtest server is running. 
  • SOAtest port: Port number on which the SOAtest server is running.
  • Username/Password: If authentication is enabled for the SOAtest server, specify your credentials in these fields. 

...