summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/quickstart_tests/Advanced/I18N.php
blob: a0c8953f4f6ff28e7c0377175e69ab245ad607d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php

//New Test
class I18NTestCase extends SeleniumTestCase
{
	function test ()
	{
		$this->open("../../demos/quickstart/index.php?page=Advanced.Samples.I18N.Home", "");
		$this->verifyTitle("Internationlization in PRADO", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("$12.40", "");
		$this->verifyTextPresent("€100.00", "");
		$this->verifyTextPresent("December 6, 2004", "");
		$this->clickAndWait("link=中文简体", "");
		$this->verifyTitle("PRADO 国际化", "");
		$this->verifyTextPresent("2004 十二月", "");
		$this->verifyTextPresent("US$ 12.40", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00 ", "");
		$this->clickAndWait("link=中文繁體", "");
		$this->verifyTitle("PRADO 國際化", "");
		$this->verifyTextPresent("2004年12月6日", "");
		$this->verifyTextPresent("US$12.40", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00", "");
		$this->clickAndWait("link=Deutsch", "");
		$this->verifyTitle("Internationalisierung in PRADO", "");
		$this->verifyTextPresent("6. Dezember 2004 ", "");
		$this->verifyTextPresent("$ 12,40", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00", "");
		$this->clickAndWait("link=Español", "");
		$this->verifyTitle("Internationlization en PRADO", "");
		$this->verifyTextPresent("6 de diciembre de 2004", "");
		$this->verifyTextPresent("US$12.40", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00", "");
		$this->clickAndWait("link=Français", "");
		$this->verifyTitle("Internationalisation dans PRADO", "");
		$this->verifyTextPresent("6 décembre 2004", "");
		$this->verifyTextPresent("12,40 $", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00", "");
		$this->clickAndWait("link=Polska", "");
		$this->verifyTitle("Internacjonalizacja w PRADO", "");
		$this->verifyTextPresent("6 grudnia 2004", "");
		$this->verifyTextPresent("US$ 12,40", "");
		$this->verifyTextPresent("46.412,42 €", "");
		$this->verifyTextPresent("€100.00", "");

	}
}

?>