Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space SELDEV and version 2024.1

...

  1. Select a test, package, or project and choose Run> Run > Run with Selenic> Selenic > JUnit Test or TestNG Test. If the necessary WebDriver(s) are configured in the Parasoft Preferences page, then the test will start running (see Installing WebDrivers). 
  2. When the test execution completes, choose Run> Run > Selenic Configurations... .
  3. Click on the auto-generated run configuration under JUnit or TestNG in the sidebar menu.
  4. Click the Selenic tab and update the run configuration settings accordingly. See Selenic Run Configuration Settings.

  5. Click Apply to save the configuration.

...

  1. Right-click on a test, package, or project and choose Run '<Scope>' with Selenic. If the necessary WebDriver(s) are configured in the Parasoft Preferences page, then the test will start running (see Installing WebDrivers). 
  2. When the test execution completes, choose Run> Run > Edit Configurations.... 
  3. Click on the auto-generated run configuration under JUnit or TestNG in the sidebar menu.
  4. Click the Modify options and enable Startup/Connection  tab and > Run, then update the Selenic run configuration settings accordingly. See Selenic Run Configuration Settings.
    Image RemovedImage Added
  5. Click Apply to save the configuration.

...

You can manually create run configurations from the Selenic Configurations page. 

Eclipse

  1. Choose Run> Run > Selenic Configurations....
  2. Choose either JUnit or TestNG in the sidebar and click theNew launch configuration button.
  3. Click the Test tab and configure the test execution settings.
    1. JUnit
      • Choose either JUnit 4 or JUnit 5 as the test runner. The test runner must match the framework your tests were written for. If you created the project with Selenic, the framework configured in the Selenic preferences page will be used. See Configuring Test Creation Settings.
      • Enable the Run a single test if you want to use the configuration to run a single test. Specify the project, test class, and test method in the appropriate fields.  
      • Enable the Run all test in the selected project, package or source folder option if you want to run a group of tests. Specify the project, package, or source folder.
    2. TestNG
      • Specify the project containing your tests.
      • Browse for the class, method, groups, package, or suite of tests you want to run in the appropriate field(s).
      • Specify a log level and serialization protocol serialization protocol.
  4. Click the Selenic tab and enable your options. See Selenic Run Configuration Settings.
  5. Click Apply to save the configuration.

...

Refer to the IntelliJ documentation for additional details about configuring tests.

  1. Choose Run> Run > Edit Configurations... .
  2. Click on a JUnit or TestNG template and click the Configuration tab.the + icon and choose either JUnit or TestNG.
  3. For JUnit:
    1. Configure the scope of the run configuration from the test kind, class, and method fields under Build and run.
      Image Added
    2. Go to Modify options > Startup/Connection > Run and enable your options (see Selenic Run Configuration Settings).
    3. Specify a name for the configuration and click OK.
  4. For TestNG:
    1. Choose the classpath containing your tests from
    the Use classpath
    1. the Use classpath of module
    : field
    1.  menu.
    2. Configure the scope of the run configuration from the Test kind
    :
    1. , Class
    :
    1. , and Method
    : fields and click the 
    1. fields.
      Image Added
    2. Click the Startup/Connection
     tab.
    Image Removed
    Enable your
    1.  tab and enable your Selenic options (
    see 
    1. see Selenic Run Configuration Settings)
    and click the Create configuration link
    1. .
    Image Removed Specify
    1. Specify a name for the configuration and click 
    Apply
    1. OK.

Selenic Run Configuration Settings

...