source: devel/testlink/automation2.0/test-output/Suite/Simple example.html @ 3766

Revision 3766, 2.8 KB checked in by luiz-fernando, 13 years ago (diff)

Ticket #1402 - Novos casos de teste implementados usando WebDriver?

Line 
1<html>
2<head>
3<title>TestNG:  Simple example</title>
4<link href="../testng.css" rel="stylesheet" type="text/css" />
5<link href="../my-testng.css" rel="stylesheet" type="text/css" />
6
7<style type="text/css">
8.log { display: none;}
9.stack-trace { display: none;}
10</style>
11<script type="text/javascript">
12<!--
13function flip(e) {
14  current = e.style.display;
15  if (current == 'block') {
16    e.style.display = 'none';
17    return 0;
18  }
19  else {
20    e.style.display = 'block';
21    return 1;
22  }
23}
24
25function toggleBox(szDivId, elem, msg1, msg2)
26{
27  var res = -1;  if (document.getElementById) {
28    res = flip(document.getElementById(szDivId));
29  }
30  else if (document.all) {
31    // this is the way old msie versions work
32    res = flip(document.all[szDivId]);
33  }
34  if(elem) {
35    if(res == 0) elem.innerHTML = msg1; else elem.innerHTML = msg2;
36  }
37
38}
39
40function toggleAllBoxes() {
41  if (document.getElementsByTagName) {
42    d = document.getElementsByTagName('div');
43    for (i = 0; i < d.length; i++) {
44      if (d[i].className == 'log') {
45        flip(d[i]);
46      }
47    }
48  }
49}
50
51// -->
52</script>
53
54</head>
55<body>
56<h2 align='center'>Simple example</h2><table border='1' align="center">
57<tr>
58<td>Tests passed/Failed/Skipped:</td><td>3/0/0</td>
59</tr><tr>
60<td>Started on:</td><td>Thu Feb 03 17:00:06 BRST 2011</td>
61</tr>
62<tr><td>Total time:</td><td>14 seconds (14167 ms)</td>
63</tr><tr>
64<td>Included groups:</td><td></td>
65</tr><tr>
66<td>Excluded groups:</td><td></td>
67</tr>
68</table><p/>
69<small><i>(Hover the method name to see the test class name)</i></small><p/>
70<table width='100%' border='1' class='invocation-passed'>
71<tr><td colspan='4' align='center'><b>PASSED TESTS</b></td></tr>
72<tr><td><b>Test method</b></td>
73<td width="30%"><b>Exception</b></td>
74<td width="10%"><b>Time (seconds)</b></td>
75<td><b>Instance</b></td>
76</tr>
77<tr>
78<td title='br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase.gotoEmailPreferencesPage()'><b>gotoEmailPreferencesPage</b><br>Test class: br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase</td>
79<td></td>
80<td>2</td>
81<td>br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase@1386918</td></tr>
82<tr>
83<td title='br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase.init()'><b>init</b><br>Test class: br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase</td>
84<td></td>
85<td>4</td>
86<td>br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase@1386918</td></tr>
87<tr>
88<td title='br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase.setUserCNInSharedFolders()'><b>setUserCNInSharedFolders</b><br>Test class: br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase<br>Parameters: Sim</td>
89<td></td>
90<td>0</td>
91<td>br.gov.serpro.expresso.cte.email.ExpressoMailPreferencesTestCase@1386918</td></tr>
92</table><p>
93</body>
94</html>
Note: See TracBrowser for help on using the repository browser.