Overview

Namespaces

  • Azalea
    • Selenium
      • App
        • Charts
        • Components
        • Encounters
        • Home
        • Login
        • Main
        • Messages
        • Patients
        • Scheduler
      • Core
      • EHR
        • UI
          • Charts
          • Documents
          • Encounters
          • Home
          • Messaging
            • Folders
          • Patients
          • Payments
          • Precerts
          • Reports
          • Scheduler
          • Settings
            • General
              • Locations
              • Roles
              • Users
        • User
      • Login
        • UI
      • PHR
        • UI
        • User
      • Toolkit
        • Exception
        • Validation
    • Util
  • None
  • tests
    • integration
      • barebones
        • controllers
          • charts
          • patients
          • system
        • models
          • billing
          • encounters
          • examples
          • messaging
          • rcm
          • system
    • unit
      • barebones
        • lib
        • utilities
          • calculations

Classes

  • Dom
  • NestedHashMap
  • ResourceLoader
  • SauceLabsTestCase
  • SeleniumTestCase
  • TestCase
  • View
  • Overview
  • Namespace
  • Class

Class SeleniumTestCase

PHPUnit_Extensions_Selenium2TestCase
Extended by Azalea\Selenium\Toolkit\SeleniumTestCase
Namespace: Azalea\Selenium\Toolkit
Located at selenium/Toolkit/SeleniumTestCase.php
Methods summary
public static
# browsers( )

Override

public
# setUp( )

Override

protected string
# buildUrl( string $url )

Build a url. This allows you to pass in urls relative to the base_url, if specified.

Build a url. This allows you to pass in urls relative to the base_url, if specified.

Parameters

$url

Returns

string
public string|null
# url( string $url = NULL )

Proxy the url method through buildUrl so that we can pass in urls relative to our base_url, if any.

Proxy the url method through buildUrl so that we can pass in urls relative to our base_url, if any.

If $url is NULL then this returns the current url.

Parameters

$url

Returns

string|null

Override

public
# setBrowserUrl( string $url = '' )

Proxy the setBrowserUrl method through buildUrl so that we can pass in urls relative to our base_url, if any.

Proxy the setBrowserUrl method through buildUrl so that we can pass in urls relative to our base_url, if any.

Parameters

$url

Override

protected
# setMetaData( )

Sets meta data information for the test run.

Sets meta data information for the test run.

This information will only be applicable for Sauce Labs test runs.

public boolean
# isTextPresent( string $text, PHPUnit_Extensions_Selenium2TestCase_Element $element = NULL )

SauceLabs method. Returns true if the given element has the given text.

SauceLabs method. Returns true if the given element has the given text.

Parameters

$text
$element

Returns

boolean
public
# waitForText( $text, PHPUnit_Extensions_Selenium2TestCase_Element $element = NULL, $timeout = 10 )

SauceLabs method.

SauceLabs method.

public
# assertTextPresent( $text, PHPUnit_Extensions_Selenium2TestCase_Element $element = NULL )

SauceLabs method.

SauceLabs method.

public
# assertTextNotPresent( $text, PHPUnit_Extensions_Selenium2TestCase_Element $element = NULL )

SauceLabs method.

SauceLabs method.

public
# sendKeys( PHPUnit_Extensions_Selenium2TestCase_Element $element, $keys )

SauceLabs method.

SauceLabs method.

Properties summary
protected $base_url
# NULL
protected static array $tags
# array()
public static array $browsers
# array()
API documentation generated by ApiGen