2017 © Pedro Peláez
 

library phpunit-selenium2-adapter

image

appdevl/phpunit-selenium2-adapter

  • Thursday, June 25, 2015
  • by thomasalbright
  • Repository
  • 1 Watchers
  • 0 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 4 % Grown

The README.md

PHPUnit Selenium2WithAdapterTestCase Class

Description

Implements adapter for migration from PHPUnit_Extensions_SeleniumTestCase to PHPUnit_Extensions_Selenium2TestCase., (*1)

If user's TestCase class is implemented with old format (with commands like open, type, waitForPageToLoad), it should extend Selenium2WithAdapterTestCase for Selenium 2 WebDriver support., (*2)

Restrictions

It does not work properly with javascript actions. You have to rewrite you test code with WaitUntil if you use click with ajax actions or click with visibility changes. It makes this Selenium2WithAdapterTestCase useless., (*3)

Implemented methods

Class provides bindings for methods:, (*4)

  • open
  • type
  • click
  • select
  • isTextPresent
  • isElementPresent
  • getText

License

Copyright 2013 Roman Nix
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

The Versions

25/06 2015