Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Cleanup some shit

  • Loading branch information...
commit 16af661f2cebb3c55b225491a81d2afb62318322 1 parent 880b88e
@tadzik authored
View
2  Makefile
@@ -33,4 +33,4 @@ test: skunk_test Selenium_test.py
killall -q skunk_test || true
clean:
- rm -f *.o app dispatcher_test
+ rm -f *.o app dispatcher_test skunk_test
View
295 results_dodawanie_userow.html
@@ -1,295 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>SST Test Report</title>
- <meta name="generator" content="HTMLTestRunner 0.8.2"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-
-<style type="text/css" media="screen">
-body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
-table { font-size: 100%; }
-pre { }
-
-/* -- heading ---------------------------------------------------------------------- */
-h1 {
- font-size: 16pt;
- color: gray;
-}
-.heading {
- margin-top: 0ex;
- margin-bottom: 1ex;
-}
-
-.heading .attribute {
- margin-top: 1ex;
- margin-bottom: 0;
-}
-
-.heading .description {
- margin-top: 4ex;
- margin-bottom: 6ex;
-}
-
-/* -- css div popup ------------------------------------------------------------------------ */
-a.popup_link {
-}
-
-a.popup_link:hover {
- color: red;
-}
-
-.popup_window {
- display: none;
- position: relative;
- left: 0px;
- top: 0px;
- /*border: solid #627173 1px; */
- padding: 10px;
- background-color: #E6E6D6;
- font-family: "Lucida Console", "Courier New", Courier, monospace;
- text-align: left;
- font-size: 8pt;
- width: 500px;
-}
-
-}
-/* -- report ------------------------------------------------------------------------ */
-#show_detail_line {
- margin-top: 3ex;
- margin-bottom: 1ex;
-}
-#result_table {
- width: 80%;
- border-collapse: collapse;
- border: 1px solid #777;
-}
-#header_row {
- font-weight: bold;
- color: white;
- background-color: #777;
-}
-#result_table td {
- border: 1px solid #777;
- padding: 2px;
-}
-#total_row { font-weight: bold; }
-.passClass { background-color: #6c6; }
-.failClass { background-color: #c60; }
-.errorClass { background-color: #c00; }
-.passCase { color: #6c6; }
-.failCase { color: #c60; font-weight: bold; }
-.errorCase { color: #c00; font-weight: bold; }
-.hiddenRow { display: none; }
-.testcase { margin-left: 2em; }
-
-
-/* -- ending ---------------------------------------------------------------------- */
-#ending {
-}
-
-</style>
-
-</head>
-<body>
-<script language="javascript" type="text/javascript"><!--
-output_list = Array();
-
-/* level - 0:Summary; 1:Failed; 2:All */
-function showCase(level) {
- trs = document.getElementsByTagName("tr");
- for (var i = 0; i < trs.length; i++) {
- tr = trs[i];
- id = tr.id;
- if (id.substr(0,2) == 'ft') {
- if (level < 1) {
- tr.className = 'hiddenRow';
- }
- else {
- tr.className = '';
- }
- }
- if (id.substr(0,2) == 'pt') {
- if (level > 1) {
- tr.className = '';
- }
- else {
- tr.className = 'hiddenRow';
- }
- }
- }
-}
-
-
-function showClassDetail(cid, count) {
- var id_list = Array(count);
- var toHide = 1;
- for (var i = 0; i < count; i++) {
- tid0 = 't' + cid.substr(1) + '.' + (i+1);
- tid = 'f' + tid0;
- tr = document.getElementById(tid);
- if (!tr) {
- tid = 'p' + tid0;
- tr = document.getElementById(tid);
- }
- id_list[i] = tid;
- if (tr.className) {
- toHide = 0;
- }
- }
- for (var i = 0; i < count; i++) {
- tid = id_list[i];
- if (toHide) {
- document.getElementById('div_'+tid).style.display = 'none'
- document.getElementById(tid).className = 'hiddenRow';
- }
- else {
- document.getElementById(tid).className = '';
- }
- }
-}
-
-
-function showTestDetail(div_id){
- var details_div = document.getElementById(div_id)
- var displayState = details_div.style.display
- // alert(displayState)
- if (displayState != 'block' ) {
- displayState = 'block'
- details_div.style.display = 'block'
- }
- else {
- details_div.style.display = 'none'
- }
-}
-
-
-function html_escape(s) {
- s = s.replace(/&/g,'&amp;');
- s = s.replace(/</g,'&lt;');
- s = s.replace(/>/g,'&gt;');
- return s;
-}
-
-/* obsoleted by detail in <div>
-function showOutput(id, name) {
- var w = window.open("", //url
- name,
- "resizable,scrollbars,status,width=800,height=450");
- d = w.document;
- d.write("<pre>");
- d.write(html_escape(output_list[id]));
- d.write("\n");
- d.write("<a href='javascript:window.close()'>close</a>\n");
- d.write("</pre>\n");
- d.close();
-}
-*/
---></script>
-
-<div class='heading'>
-<h1>SST Test Report</h1>
-<p class='attribute'><strong>Start Time:</strong> 2012-06-02 17:15:52</p>
-<p class='attribute'><strong>Duration:</strong> 0:00:36.548411</p>
-<p class='attribute'><strong>Status:</strong> Pass 1</p>
-
-<p class='description'></p>
-</div>
-
-
-
-<p id='show_detail_line'>Show
-<a href='javascript:showCase(0)'>Summary</a>
-<a href='javascript:showCase(1)'>Failed</a>
-<a href='javascript:showCase(2)'>All</a>
-</p>
-<table id='result_table'>
-<colgroup>
-<col align='left' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-</colgroup>
-<tr id='header_row'>
- <td>Test Case</td>
- <td>View</td>
-</tr>
-
-<tr class='passClass'>
- <td>TestDodawanie_Usera</td>
- <td><a href="javascript:showClassDetail('c1',1)">Detail</a></td>
-</tr>
-
-<tr id='pt1.1' class='hiddenRow'>
- <td class='none'><div class='testcase'>test_dodawanie_usera</div></td>
- <td colspan='5' align='center'>
-
- <!--css div popup start-->
- <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1')" >
- pass</a>
-
- <div id='div_pt1.1' class="popup_window">
- <div style='text-align: right; color:red;cursor:pointer'>
- <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' " >
- [x]</a>
- </div>
- <pre>
-
-pt1.1:
- Starting Firefox
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e36690&gt; with text 'admin'
- Check text wrote correctly
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e367d0&gt; with text 'admin.8'
- Check text wrote correctly
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e36ed0&gt;
- Waiting for get_element
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1ebd410&gt;
- Waiting for get_element
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e36690&gt; with text 'newuser'
- Check text wrote correctly
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e36f90&gt; with text 'user'
- Check text wrote correctly
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1ebd550&gt;
- Waiting for get_element
- Sleeping 3 secs
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e36c90&gt;
- Waiting for get_element
- Sleeping 3 secs
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e0d090&gt; with text 'newuser'
- Check text wrote correctly
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1e0d250&gt; with text 'user'
- Check text wrote correctly
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1ebd390&gt;
- Waiting for get_element
- Sleeping 3 secs
- Stopping browser
-
-
- </pre>
- </div>
- <!--css div popup end-->
-
- </td>
-</tr>
-
-<tr id='total_row'>
- <td>Total</td>
- <td>1</td>
-</tr>
-</table>
-
-<div id='ending'>&nbsp;</div>
-
-</body>
-</html>
View
286 results_dostep_userow.html
@@ -1,286 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>SST Test Report</title>
- <meta name="generator" content="HTMLTestRunner 0.8.2"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-
-<style type="text/css" media="screen">
-body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
-table { font-size: 100%; }
-pre { }
-
-/* -- heading ---------------------------------------------------------------------- */
-h1 {
- font-size: 16pt;
- color: gray;
-}
-.heading {
- margin-top: 0ex;
- margin-bottom: 1ex;
-}
-
-.heading .attribute {
- margin-top: 1ex;
- margin-bottom: 0;
-}
-
-.heading .description {
- margin-top: 4ex;
- margin-bottom: 6ex;
-}
-
-/* -- css div popup ------------------------------------------------------------------------ */
-a.popup_link {
-}
-
-a.popup_link:hover {
- color: red;
-}
-
-.popup_window {
- display: none;
- position: relative;
- left: 0px;
- top: 0px;
- /*border: solid #627173 1px; */
- padding: 10px;
- background-color: #E6E6D6;
- font-family: "Lucida Console", "Courier New", Courier, monospace;
- text-align: left;
- font-size: 8pt;
- width: 500px;
-}
-
-}
-/* -- report ------------------------------------------------------------------------ */
-#show_detail_line {
- margin-top: 3ex;
- margin-bottom: 1ex;
-}
-#result_table {
- width: 80%;
- border-collapse: collapse;
- border: 1px solid #777;
-}
-#header_row {
- font-weight: bold;
- color: white;
- background-color: #777;
-}
-#result_table td {
- border: 1px solid #777;
- padding: 2px;
-}
-#total_row { font-weight: bold; }
-.passClass { background-color: #6c6; }
-.failClass { background-color: #c60; }
-.errorClass { background-color: #c00; }
-.passCase { color: #6c6; }
-.failCase { color: #c60; font-weight: bold; }
-.errorCase { color: #c00; font-weight: bold; }
-.hiddenRow { display: none; }
-.testcase { margin-left: 2em; }
-
-
-/* -- ending ---------------------------------------------------------------------- */
-#ending {
-}
-
-</style>
-
-</head>
-<body>
-<script language="javascript" type="text/javascript"><!--
-output_list = Array();
-
-/* level - 0:Summary; 1:Failed; 2:All */
-function showCase(level) {
- trs = document.getElementsByTagName("tr");
- for (var i = 0; i < trs.length; i++) {
- tr = trs[i];
- id = tr.id;
- if (id.substr(0,2) == 'ft') {
- if (level < 1) {
- tr.className = 'hiddenRow';
- }
- else {
- tr.className = '';
- }
- }
- if (id.substr(0,2) == 'pt') {
- if (level > 1) {
- tr.className = '';
- }
- else {
- tr.className = 'hiddenRow';
- }
- }
- }
-}
-
-
-function showClassDetail(cid, count) {
- var id_list = Array(count);
- var toHide = 1;
- for (var i = 0; i < count; i++) {
- tid0 = 't' + cid.substr(1) + '.' + (i+1);
- tid = 'f' + tid0;
- tr = document.getElementById(tid);
- if (!tr) {
- tid = 'p' + tid0;
- tr = document.getElementById(tid);
- }
- id_list[i] = tid;
- if (tr.className) {
- toHide = 0;
- }
- }
- for (var i = 0; i < count; i++) {
- tid = id_list[i];
- if (toHide) {
- document.getElementById('div_'+tid).style.display = 'none'
- document.getElementById(tid).className = 'hiddenRow';
- }
- else {
- document.getElementById(tid).className = '';
- }
- }
-}
-
-
-function showTestDetail(div_id){
- var details_div = document.getElementById(div_id)
- var displayState = details_div.style.display
- // alert(displayState)
- if (displayState != 'block' ) {
- displayState = 'block'
- details_div.style.display = 'block'
- }
- else {
- details_div.style.display = 'none'
- }
-}
-
-
-function html_escape(s) {
- s = s.replace(/&/g,'&amp;');
- s = s.replace(/</g,'&lt;');
- s = s.replace(/>/g,'&gt;');
- return s;
-}
-
-/* obsoleted by detail in <div>
-function showOutput(id, name) {
- var w = window.open("", //url
- name,
- "resizable,scrollbars,status,width=800,height=450");
- d = w.document;
- d.write("<pre>");
- d.write(html_escape(output_list[id]));
- d.write("\n");
- d.write("<a href='javascript:window.close()'>close</a>\n");
- d.write("</pre>\n");
- d.close();
-}
-*/
---></script>
-
-<div class='heading'>
-<h1>SST Test Report</h1>
-<p class='attribute'><strong>Start Time:</strong> 2012-06-02 17:26:48</p>
-<p class='attribute'><strong>Duration:</strong> 0:00:27.734075</p>
-<p class='attribute'><strong>Status:</strong> Pass 1</p>
-
-<p class='description'></p>
-</div>
-
-
-
-<p id='show_detail_line'>Show
-<a href='javascript:showCase(0)'>Summary</a>
-<a href='javascript:showCase(1)'>Failed</a>
-<a href='javascript:showCase(2)'>All</a>
-</p>
-<table id='result_table'>
-<colgroup>
-<col align='left' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-</colgroup>
-<tr id='header_row'>
- <td>Test Case</td>
- <td>View</td>
-</tr>
-
-<tr class='passClass'>
- <td>TestDostep_Userow</td>
- <td><a href="javascript:showClassDetail('c1',1)">Detail</a></td>
-</tr>
-
-<tr id='pt1.1' class='hiddenRow'>
- <td class='none'><div class='testcase'>test_dostep_userow</div></td>
- <td colspan='5' align='center'>
-
- <!--css div popup start-->
- <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1')" >
- pass</a>
-
- <div id='div_pt1.1' class="popup_window">
- <div style='text-align: right; color:red;cursor:pointer'>
- <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' " >
- [x]</a>
- </div>
- <pre>
-
-pt1.1:
- Starting Firefox
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1810650&gt; with text 'user'
- Check text wrote correctly
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1810790&gt; with text 'user.8'
- Check text wrote correctly
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1810e90&gt;
- Waiting for get_element
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1899190&gt; with text u'test text1'
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x18992d0&gt; with text u'test text2'
- Sleeping 3 secs
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x1810b10&gt;
- Waiting for get_element
- Checking attribute value of &lt;selenium.webdriver.remote.webelement.WebElement object at 0x17e7210&gt;
- Checking attribute value of &lt;selenium.webdriver.remote.webelement.WebElement object at 0x17e7050&gt;
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
-True
- Stopping browser
-
-
- </pre>
- </div>
- <!--css div popup end-->
-
- </td>
-</tr>
-
-<tr id='total_row'>
- <td>Total</td>
- <td>1</td>
-</tr>
-</table>
-
-<div id='ending'>&nbsp;</div>
-
-</body>
-</html>
View
6 results_puste_log/pagesource-2012-06-02_17-21-12-puste_logowanie.html
@@ -1,6 +0,0 @@
-<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml"><head><title>2012 SKUNKS LOGIN</title></head>
- <body><form action="/" method="post"><p style="position:absolute; left:0px; top:0px;"> Username: <input type="text" name="user" /></p><br /><p style="position:absolute; left:300px;top:0px;"> Password: <input type="password" name="pass" /></p><br /><input type="submit" value="Zaloguj" style="postition:absolute; left:0px; top:50px;" /></form>
-
-
-</body><canvas id="fxdriver-screenshot-canvas" style="display: none;" width="994" height="592"></canvas></html>
View
284 results_puste_log/results.html
@@ -1,284 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>SST Test Report</title>
- <meta name="generator" content="HTMLTestRunner 0.8.2"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-
-<style type="text/css" media="screen">
-body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
-table { font-size: 100%; }
-pre { }
-
-/* -- heading ---------------------------------------------------------------------- */
-h1 {
- font-size: 16pt;
- color: gray;
-}
-.heading {
- margin-top: 0ex;
- margin-bottom: 1ex;
-}
-
-.heading .attribute {
- margin-top: 1ex;
- margin-bottom: 0;
-}
-
-.heading .description {
- margin-top: 4ex;
- margin-bottom: 6ex;
-}
-
-/* -- css div popup ------------------------------------------------------------------------ */
-a.popup_link {
-}
-
-a.popup_link:hover {
- color: red;
-}
-
-.popup_window {
- display: none;
- position: relative;
- left: 0px;
- top: 0px;
- /*border: solid #627173 1px; */
- padding: 10px;
- background-color: #E6E6D6;
- font-family: "Lucida Console", "Courier New", Courier, monospace;
- text-align: left;
- font-size: 8pt;
- width: 500px;
-}
-
-}
-/* -- report ------------------------------------------------------------------------ */
-#show_detail_line {
- margin-top: 3ex;
- margin-bottom: 1ex;
-}
-#result_table {
- width: 80%;
- border-collapse: collapse;
- border: 1px solid #777;
-}
-#header_row {
- font-weight: bold;
- color: white;
- background-color: #777;
-}
-#result_table td {
- border: 1px solid #777;
- padding: 2px;
-}
-#total_row { font-weight: bold; }
-.passClass { background-color: #6c6; }
-.failClass { background-color: #c60; }
-.errorClass { background-color: #c00; }
-.passCase { color: #6c6; }
-.failCase { color: #c60; font-weight: bold; }
-.errorCase { color: #c00; font-weight: bold; }
-.hiddenRow { display: none; }
-.testcase { margin-left: 2em; }
-
-
-/* -- ending ---------------------------------------------------------------------- */
-#ending {
-}
-
-</style>
-
-</head>
-<body>
-<script language="javascript" type="text/javascript"><!--
-output_list = Array();
-
-/* level - 0:Summary; 1:Failed; 2:All */
-function showCase(level) {
- trs = document.getElementsByTagName("tr");
- for (var i = 0; i < trs.length; i++) {
- tr = trs[i];
- id = tr.id;
- if (id.substr(0,2) == 'ft') {
- if (level < 1) {
- tr.className = 'hiddenRow';
- }
- else {
- tr.className = '';
- }
- }
- if (id.substr(0,2) == 'pt') {
- if (level > 1) {
- tr.className = '';
- }
- else {
- tr.className = 'hiddenRow';
- }
- }
- }
-}
-
-
-function showClassDetail(cid, count) {
- var id_list = Array(count);
- var toHide = 1;
- for (var i = 0; i < count; i++) {
- tid0 = 't' + cid.substr(1) + '.' + (i+1);
- tid = 'f' + tid0;
- tr = document.getElementById(tid);
- if (!tr) {
- tid = 'p' + tid0;
- tr = document.getElementById(tid);
- }
- id_list[i] = tid;
- if (tr.className) {
- toHide = 0;
- }
- }
- for (var i = 0; i < count; i++) {
- tid = id_list[i];
- if (toHide) {
- document.getElementById('div_'+tid).style.display = 'none'
- document.getElementById(tid).className = 'hiddenRow';
- }
- else {
- document.getElementById(tid).className = '';
- }
- }
-}
-
-
-function showTestDetail(div_id){
- var details_div = document.getElementById(div_id)
- var displayState = details_div.style.display
- // alert(displayState)
- if (displayState != 'block' ) {
- displayState = 'block'
- details_div.style.display = 'block'
- }
- else {
- details_div.style.display = 'none'
- }
-}
-
-
-function html_escape(s) {
- s = s.replace(/&/g,'&amp;');
- s = s.replace(/</g,'&lt;');
- s = s.replace(/>/g,'&gt;');
- return s;
-}
-
-/* obsoleted by detail in <div>
-function showOutput(id, name) {
- var w = window.open("", //url
- name,
- "resizable,scrollbars,status,width=800,height=450");
- d = w.document;
- d.write("<pre>");
- d.write(html_escape(output_list[id]));
- d.write("\n");
- d.write("<a href='javascript:window.close()'>close</a>\n");
- d.write("</pre>\n");
- d.close();
-}
-*/
---></script>
-
-<div class='heading'>
-<h1>SST Test Report</h1>
-<p class='attribute'><strong>Start Time:</strong> 2012-06-02 17:21:00</p>
-<p class='attribute'><strong>Duration:</strong> 0:00:12.346143</p>
-<p class='attribute'><strong>Status:</strong> Failure 1</p>
-
-<p class='description'></p>
-</div>
-
-
-
-<p id='show_detail_line'>Show
-<a href='javascript:showCase(0)'>Summary</a>
-<a href='javascript:showCase(1)'>Failed</a>
-<a href='javascript:showCase(2)'>All</a>
-</p>
-<table id='result_table'>
-<colgroup>
-<col align='left' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-</colgroup>
-<tr id='header_row'>
- <td>Test Case</td>
- <td>View</td>
-</tr>
-
-<tr class='failClass'>
- <td>TestPuste_Logowanie</td>
- <td><a href="javascript:showClassDetail('c1',1)">Detail</a></td>
-</tr>
-
-<tr id='ft1.1' class='none'>
- <td class='failCase'><div class='testcase'>test_puste_logowanie</div></td>
- <td colspan='5' align='center'>
-
- <!--css div popup start-->
- <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_ft1.1')" >
- fail</a>
-
- <div id='div_ft1.1' class="popup_window">
- <div style='text-align: right; color:red;cursor:pointer'>
- <a onfocus='this.blur();' onclick="document.getElementById('div_ft1.1').style.display = 'none' " >
- [x]</a>
- </div>
- <pre>
-
-ft1.1:
- Starting Firefox
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x167b690&gt; with text 'admin'
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x167b6d0&gt;
- Waiting for get_element
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Could not identify elements: 0 elements found
- Could not assert element exists
- Capturing Screenshot
-Traceback (most recent call last):
- File "/usr/local/lib/python2.6/dist-packages/sst/runtests.py", line 276, in test
- exec self.code in context
- File "/home/karo/Pulpit/TIN/TIN/puste_logowanie.py", line 19, in &lt;module&gt;
- testuj_puste_logowanie()
- File "/home/karo/Pulpit/TIN/TIN/puste_logowanie.py", line 17, in testuj_puste_logowanie
- assert_element(tag='input', value='Logout', type='submit')
- File "/usr/local/lib/python2.6/dist-packages/sst/actions.py", line 1005, in assert_element
- _raise(msg)
- File "/usr/local/lib/python2.6/dist-packages/sst/actions.py", line 109, in _raise
- raise AssertionError(msg)
-AssertionError: Could not assert element exists
-
-
- </pre>
- </div>
- <!--css div popup end-->
-
- </td>
-</tr>
-
-<tr id='total_row'>
- <td>Total</td>
- <td>1</td>
-</tr>
-</table>
-
-<div id='ending'>&nbsp;</div>
-
-</body>
-</html>
View
BIN  results_puste_log/screenshot-2012-06-02_17-21-12-puste_logowanie.png
Deleted file not rendered
View
284 results_test.html
@@ -1,284 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>SST Test Report</title>
- <meta name="generator" content="HTMLTestRunner 0.8.2"/>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-
-<style type="text/css" media="screen">
-body { font-family: verdana, arial, helvetica, sans-serif; font-size: 80%; }
-table { font-size: 100%; }
-pre { }
-
-/* -- heading ---------------------------------------------------------------------- */
-h1 {
- font-size: 16pt;
- color: gray;
-}
-.heading {
- margin-top: 0ex;
- margin-bottom: 1ex;
-}
-
-.heading .attribute {
- margin-top: 1ex;
- margin-bottom: 0;
-}
-
-.heading .description {
- margin-top: 4ex;
- margin-bottom: 6ex;
-}
-
-/* -- css div popup ------------------------------------------------------------------------ */
-a.popup_link {
-}
-
-a.popup_link:hover {
- color: red;
-}
-
-.popup_window {
- display: none;
- position: relative;
- left: 0px;
- top: 0px;
- /*border: solid #627173 1px; */
- padding: 10px;
- background-color: #E6E6D6;
- font-family: "Lucida Console", "Courier New", Courier, monospace;
- text-align: left;
- font-size: 8pt;
- width: 500px;
-}
-
-}
-/* -- report ------------------------------------------------------------------------ */
-#show_detail_line {
- margin-top: 3ex;
- margin-bottom: 1ex;
-}
-#result_table {
- width: 80%;
- border-collapse: collapse;
- border: 1px solid #777;
-}
-#header_row {
- font-weight: bold;
- color: white;
- background-color: #777;
-}
-#result_table td {
- border: 1px solid #777;
- padding: 2px;
-}
-#total_row { font-weight: bold; }
-.passClass { background-color: #6c6; }
-.failClass { background-color: #c60; }
-.errorClass { background-color: #c00; }
-.passCase { color: #6c6; }
-.failCase { color: #c60; font-weight: bold; }
-.errorCase { color: #c00; font-weight: bold; }
-.hiddenRow { display: none; }
-.testcase { margin-left: 2em; }
-
-
-/* -- ending ---------------------------------------------------------------------- */
-#ending {
-}
-
-</style>
-
-</head>
-<body>
-<script language="javascript" type="text/javascript"><!--
-output_list = Array();
-
-/* level - 0:Summary; 1:Failed; 2:All */
-function showCase(level) {
- trs = document.getElementsByTagName("tr");
- for (var i = 0; i < trs.length; i++) {
- tr = trs[i];
- id = tr.id;
- if (id.substr(0,2) == 'ft') {
- if (level < 1) {
- tr.className = 'hiddenRow';
- }
- else {
- tr.className = '';
- }
- }
- if (id.substr(0,2) == 'pt') {
- if (level > 1) {
- tr.className = '';
- }
- else {
- tr.className = 'hiddenRow';
- }
- }
- }
-}
-
-
-function showClassDetail(cid, count) {
- var id_list = Array(count);
- var toHide = 1;
- for (var i = 0; i < count; i++) {
- tid0 = 't' + cid.substr(1) + '.' + (i+1);
- tid = 'f' + tid0;
- tr = document.getElementById(tid);
- if (!tr) {
- tid = 'p' + tid0;
- tr = document.getElementById(tid);
- }
- id_list[i] = tid;
- if (tr.className) {
- toHide = 0;
- }
- }
- for (var i = 0; i < count; i++) {
- tid = id_list[i];
- if (toHide) {
- document.getElementById('div_'+tid).style.display = 'none'
- document.getElementById(tid).className = 'hiddenRow';
- }
- else {
- document.getElementById(tid).className = '';
- }
- }
-}
-
-
-function showTestDetail(div_id){
- var details_div = document.getElementById(div_id)
- var displayState = details_div.style.display
- // alert(displayState)
- if (displayState != 'block' ) {
- displayState = 'block'
- details_div.style.display = 'block'
- }
- else {
- details_div.style.display = 'none'
- }
-}
-
-
-function html_escape(s) {
- s = s.replace(/&/g,'&amp;');
- s = s.replace(/</g,'&lt;');
- s = s.replace(/>/g,'&gt;');
- return s;
-}
-
-/* obsoleted by detail in <div>
-function showOutput(id, name) {
- var w = window.open("", //url
- name,
- "resizable,scrollbars,status,width=800,height=450");
- d = w.document;
- d.write("<pre>");
- d.write(html_escape(output_list[id]));
- d.write("\n");
- d.write("<a href='javascript:window.close()'>close</a>\n");
- d.write("</pre>\n");
- d.close();
-}
-*/
---></script>
-
-<div class='heading'>
-<h1>SST Test Report</h1>
-<p class='attribute'><strong>Start Time:</strong> 2012-06-02 17:29:47</p>
-<p class='attribute'><strong>Duration:</strong> 0:00:27.470908</p>
-<p class='attribute'><strong>Status:</strong> Pass 1</p>
-
-<p class='description'></p>
-</div>
-
-
-
-<p id='show_detail_line'>Show
-<a href='javascript:showCase(0)'>Summary</a>
-<a href='javascript:showCase(1)'>Failed</a>
-<a href='javascript:showCase(2)'>All</a>
-</p>
-<table id='result_table'>
-<colgroup>
-<col align='left' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-<col align='right' />
-</colgroup>
-<tr id='header_row'>
- <td>Test Case</td>
- <td>View</td>
-</tr>
-
-<tr class='passClass'>
- <td>TestSelenium_Test</td>
- <td><a href="javascript:showClassDetail('c1',1)">Detail</a></td>
-</tr>
-
-<tr id='pt1.1' class='hiddenRow'>
- <td class='none'><div class='testcase'>test_Selenium_test</div></td>
- <td colspan='5' align='center'>
-
- <!--css div popup start-->
- <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail('div_pt1.1')" >
- pass</a>
-
- <div id='div_pt1.1' class="popup_window">
- <div style='text-align: right; color:red;cursor:pointer'>
- <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' " >
- [x]</a>
- </div>
- <pre>
-
-pt1.1:
- Starting Firefox
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x28dc650&gt; with text 'admin'
- Check text wrote correctly
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x28dc790&gt; with text 'admin.8'
- Check text wrote correctly
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x28dce90&gt;
- Waiting for get_element
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x2965190&gt; with text u'test text1'
- Sleeping 3 secs
- Writing to textfield &lt;selenium.webdriver.remote.webelement.WebElement object at 0x29652d0&gt; with text u'test text2'
- Sleeping 3 secs
- Clicking element &lt;selenium.webdriver.remote.webelement.WebElement object at 0x28dcb10&gt;
- Waiting for get_element
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
- Going to... https://localhost:8080/
- Waiting for get_element
- Sleeping 3 secs
-True
- Stopping browser
-
-
- </pre>
- </div>
- <!--css div popup end-->
-
- </td>
-</tr>
-
-<tr id='total_row'>
- <td>Total</td>
- <td>1</td>
-</tr>
-</table>
-
-<div id='ending'>&nbsp;</div>
-
-</body>
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.