Class TestOfLiveForm

Description

Test case for testing of web pages. Allows fetching of pages, parsing of HTML and submitting forms.

Located in /libraries/pear/simpletest/test/acceptance_test.php (line 316)

RunnableTest
   |
   --SimpleTestCase
      |
      --WebTestCase
         |
         --TestOfLiveForm
Method Summary
Variables

Inherited Variables

Inherited from WebTestCase

WebTestCase::$_browser

Inherited from SimpleTestCase

SimpleTestCase::$_reporter

Inherited from RunnableTest

RunnableTest::$_label
Methods
Constructor TestOfLiveForm (line 317)
TestOfLiveForm TestOfLiveForm ()
setUp (line 320)
void setUp ()

Redefinition of:
SimpleTestCase::setUp()
Sets up unit test wide variables at the start of each test method. To be overridden in actual user test cases.
testDefaultFormValues (line 329)
void testDefaultFormValues ()
testFormSubmissionByLabel (line 348)
void testFormSubmissionByLabel ()
testFormSubmissionByName (line 366)
void testFormSubmissionByName ()
testFormSubmissionWithIds (line 371)
void testFormSubmissionWithIds ()
testImageSubmissionById (line 401)
void testImageSubmissionById ()
testImageSubmissionByLabel (line 391)
void testImageSubmissionByLabel ()
testImageSubmissionByName (line 396)
void testImageSubmissionByName ()
testSelfSubmit (line 406)
void testSelfSubmit ()
testSimpleSubmit (line 323)
void testSimpleSubmit ()

Inherited Methods

Inherited From WebTestCase

 WebTestCase::WebTestCase()
 WebTestCase::addHeader()
 WebTestCase::ageCookies()
 WebTestCase::assertAuthentication()
 WebTestCase::assertCookie()
 WebTestCase::assertField()
 WebTestCase::assertFieldById()
 WebTestCase::assertLink()
 WebTestCase::assertLinkById()
 WebTestCase::assertMime()
 WebTestCase::assertNoAuthentication()
 WebTestCase::assertNoCookie()
 WebTestCase::assertNoUnwantedPattern()
 WebTestCase::assertRealm()
 WebTestCase::assertResponse()
 WebTestCase::assertTitle()
 WebTestCase::assertWantedPattern()
 WebTestCase::authenticate()
 WebTestCase::back()
 WebTestCase::clearFrameFocus()
 WebTestCase::clickImage()
 WebTestCase::clickImageById()
 WebTestCase::clickImageByName()
 WebTestCase::clickLink()
 WebTestCase::clickLinkById()
 WebTestCase::clickSubmit()
 WebTestCase::clickSubmitById()
 WebTestCase::clickSubmitByName()
 WebTestCase::createBrowser()
 WebTestCase::forward()
 WebTestCase::get()
 WebTestCase::getBrowser()
 WebTestCase::getFrameFocus()
 WebTestCase::getTransportError()
 WebTestCase::head()
 WebTestCase::ignoreFrames()
 WebTestCase::invoke()
 WebTestCase::post()
 WebTestCase::restartSession()
 WebTestCase::retry()
 WebTestCase::setConnectionTimeout()
 WebTestCase::setCookie()
 WebTestCase::setField()
 WebTestCase::setFieldById()
 WebTestCase::setFrameFocus()
 WebTestCase::setFrameFocusByIndex()
 WebTestCase::setMaximumRedirects()
 WebTestCase::showHeaders()
 WebTestCase::showRequest()
 WebTestCase::showSource()
 WebTestCase::submitFormById()
 WebTestCase::useProxy()

Inherited From SimpleTestCase

 SimpleTestCase::SimpleTestCase()
 SimpleTestCase::assertExpectation()
 SimpleTestCase::assertFalse()
 SimpleTestCase::assertTrue()
 SimpleTestCase::dump()
 SimpleTestCase::error()
 SimpleTestCase::fail()
 SimpleTestCase::getAssertionLine()
 SimpleTestCase::invoke()
 SimpleTestCase::pass()
 SimpleTestCase::run()
 SimpleTestCase::sendMessage()
 SimpleTestCase::setUp()
 SimpleTestCase::signal()
 SimpleTestCase::swallowErrors()
 SimpleTestCase::tearDown()
 SimpleTestCase::_createRunner()
 SimpleTestCase::_isConstructor()
 SimpleTestCase::_isTest()

Inherited From RunnableTest

 RunnableTest::RunnableTest()
 RunnableTest::getLabel()
 RunnableTest::getSize()
 RunnableTest::run()

Documentation generated on Fri, 10 Dec 2004 18:24:48 +0000 by phpDocumentor 1.3.0RC3