summaryrefslogtreecommitdiff
path: root/tests/both2.py
blob: b5b3c0fcc977742d709f437d8504d9596102cb22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import unittest
import base

class Suite(base.Base):
    def test_1(self):
        """Test case 1"""
        self.start('Both2/main')
        t = self.xpath('form/input[@type=\'text\']')
        t.send_keys('hello')
        l = self.xpath('form/input[@type=\'submit\']')
        l.click()
        self.assertEqual("", self.body_text())