summaryrefslogtreecommitdiff
path: root/tests/both.py
blob: c3a8e8ee9448339382767fdaf041573e986908c2 (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('Both/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())