Author: dolander Date: Sat Jan 8 10:24:33 2005 New Revision: 124663 URL: http://svn.apache.org/viewcvs?view=rev&rev=124663 Log: My last checkin introduced a JavaScript bug in IE. This checkin fixes the base tests to work correctly (tested in IE 6.0 and FireFox 1.0).
Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/form/index.jsp Sat Jan 8 10:24:33 2005 @@ -54,20 +54,27 @@ val = val + "Form by name is null: <b>" + (document[lookupNameByTagId("form",s)] == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; + val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'"; } val = val + "<br>"; + } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; } p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/formNoHtml/index.jsp Sat Jan 8 10:24:33 2005 @@ -52,20 +52,27 @@ val = val + "Form by name is null: <b>" + (document[lookupNameByTagId("form",s)] == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'"; + val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'"; + val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; + } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; } p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/genScopeId/index.jsp Sat Jan 8 10:24:33 2005 @@ -56,20 +56,28 @@ (document.getElementById(lookupIdByTagId("check1",s)) == null) + "</b><br>"; val = val + "CheckBox 1 by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("check1",s)) == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; + } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; } p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/htmlScopeId/index.jsp Sat Jan 8 10:24:33 2005 @@ -50,20 +50,27 @@ val = val + "CheckBox 1 by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("check1",s)) == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; + } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; } p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/coreWeb/idmap/id/index.jsp Sat Jan 8 10:24:33 2005 @@ -90,21 +90,27 @@ val = val + "Button by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("button",s)) == null) + "</b><br>"; - - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; + } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; } p.innerHTML = val; Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapForm.xml Sat Jan 8 10:24:33 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapForm</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>08 Jan 2005, 08:43:59.125 AM MST</ses:startDate> + <ses:startDate>08 Jan 2005, 10:44:31.406 AM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-2eb11a3b:10152f90f73:-7cea</ses:value> + <ses:value>6f6aca2:101536730ee:-7cea</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -198,21 +198,28 @@ val = val + "Form by name is null: <b>" + (document[lookupNameByTagId("form",s)] == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; + val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> @@ -224,7 +231,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>08 Jan 2005, 08:44:00.156 AM MST</ses:endDate> + <ses:endDate>08 Jan 2005, 10:44:32.500 AM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapFormNoHtml.xml Sat Jan 8 10:24:33 2005 @@ -1,68 +1,72 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> - <ses:sessionName>IdMapFormNoHtml</ses:sessionName> - <ses:tester>Daryl</ses:tester> - <ses:startDate>08 Jan 2005, 07:26:55.265 AM MST</ses:startDate> - <ses:description>Verify that the tagId and lookup are correct when there is not Script containers for a form.</ses:description> - <ses:tests> - <ses:test> - <ses:testNumber>1</ses:testNumber> - <ses:request> - <ses:protocol>HTTP</ses:protocol> - <ses:protocolVersion>1.1</ses:protocolVersion> - <ses:host>localhost</ses:host> - <ses:port>8080</ses:port> - <ses:uri>/coreWeb/idmap/formNoHtml/Controller.jpf</ses:uri> - <ses:method>GET</ses:method> - <ses:parameters/> - <ses:cookies> - <ses:cookie> - <ses:name>JSESSIONID</ses:name> - <ses:value>887C73FE4DE23D482BB92DB5F74F1E8F</ses:value> - </ses:cookie> - </ses:cookies> - <ses:headers> - <ses:header> - <ses:name>---------------</ses:name> - <ses:value>------------</ses:value> - </ses:header> - <ses:header> - <ses:name>accept</ses:name> - <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> - </ses:header> - <ses:header> - <ses:name>accept-charset</ses:name> - <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> - </ses:header> - <ses:header> - <ses:name>accept-language</ses:name> - <ses:value>en-us,en;q=0.5</ses:value> - </ses:header> - <ses:header> - <ses:name>connection</ses:name> - <ses:value>keep-alive</ses:value> - </ses:header> - <ses:header> - <ses:name>cookie</ses:name> - <ses:value>JSESSIONID=887C73FE4DE23D482BB92DB5F74F1E8F</ses:value> - </ses:header> - <ses:header> - <ses:name>host</ses:name> - <ses:value>localhost:8080</ses:value> - </ses:header> - <ses:header> - <ses:name>keep-alive</ses:name> - <ses:value>300</ses:value> - </ses:header> - <ses:header> - <ses:name>user-agent</ses:name> - <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> - </ses:header> - </ses:headers> - </ses:request> - <ses:response> - <ses:statusCode>200</ses:statusCode> - <ses:reason/> +<?xml version="1.0" encoding="UTF-8"?> +<ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> + <ses:sessionName>IdMapFormNoHtml</ses:sessionName> + <ses:tester>Daryl</ses:tester> + <ses:startDate>08 Jan 2005, 10:44:32.562 AM MST</ses:startDate> + <ses:description>Daryl</ses:description> + <ses:tests> + <ses:test> + <ses:testNumber>1</ses:testNumber> + <ses:request> + <ses:protocol>HTTP</ses:protocol> + <ses:protocolVersion>1.1</ses:protocolVersion> + <ses:host>localhost</ses:host> + <ses:port>8080</ses:port> + <ses:uri>/coreWeb/idmap/formNoHtml/Controller.jpf</ses:uri> + <ses:method>GET</ses:method> + <ses:parameters/> + <ses:cookies> + <ses:cookie> + <ses:name>JSESSIONID</ses:name> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> + </ses:cookie> + </ses:cookies> + <ses:headers> + <ses:header> + <ses:name>---------------</ses:name> + <ses:value>------------</ses:value> + </ses:header> + <ses:header> + <ses:name>accept</ses:name> + <ses:value>text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-charset</ses:name> + <ses:value>ISO-8859-1,utf-8;q=0.7,*;q=0.7</ses:value> + </ses:header> + <ses:header> + <ses:name>accept-language</ses:name> + <ses:value>en-us,en;q=0.5</ses:value> + </ses:header> + <ses:header> + <ses:name>connection</ses:name> + <ses:value>keep-alive</ses:value> + </ses:header> + <ses:header> + <ses:name>cookie</ses:name> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> + </ses:header> + <ses:header> + <ses:name>host</ses:name> + <ses:value>localhost:8080</ses:value> + </ses:header> + <ses:header> + <ses:name>keep-alive</ses:name> + <ses:value>300</ses:value> + </ses:header> + <ses:header> + <ses:name>testrecorder.playback.testid</ses:name> + <ses:value>6f6aca2:101536730ee:-7ce8</ses:value> + </ses:header> + <ses:header> + <ses:name>user-agent</ses:name> + <ses:value>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0</ses:value> + </ses:header> + </ses:headers> + </ses:request> + <ses:response> + <ses:statusCode>200</ses:statusCode> + <ses:reason/> <ses:responseBody><html> <head> <base href="http://localhost:8080/coreWeb/idmap/formNoHtml/index.jsp"> @@ -184,29 +188,42 @@ val = val + "Form by name is null: <b>" + (document[lookupNameByTagId("form",s)] == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'"; + val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { - val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'"; + val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> </body> -</html></ses:responseBody> - </ses:response> - </ses:test> - </ses:tests> - <ses:endDate>08 Jan 2005, 07:27:04.359 AM MST</ses:endDate> - <ses:testCount>1</ses:testCount> +</html></ses:responseBody> + </ses:response> + <ses:testResults> + <ses:testStatus>fail</ses:testStatus> + </ses:testResults> + </ses:test> + </ses:tests> + <ses:endDate>08 Jan 2005, 10:44:33.640 AM MST</ses:endDate> + <ses:sessionStatus>fail</ses:sessionStatus> + <ses:testCount>1</ses:testCount> + <ses:passedCount>0</ses:passedCount> + <ses:failedCount>1</ses:failedCount> </ses:recorderSession> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapGenScopeId.xml Sat Jan 8 10:24:33 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapGenScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>08 Jan 2005, 08:44:01.562 AM MST</ses:startDate> + <ses:startDate>08 Jan 2005, 10:44:33.671 AM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-2eb11a3b:10152f90f73:-7ce6</ses:value> + <ses:value>6f6aca2:101536730ee:-7ce6</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -205,21 +205,29 @@ (document.getElementById(lookupIdByTagId("check1",s)) == null) + "</b><br>"; val = val + "CheckBox 1 by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("check1",s)) == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> @@ -231,7 +239,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>08 Jan 2005, 08:44:02.515 AM MST</ses:endDate> + <ses:endDate>08 Jan 2005, 10:44:35.109 AM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapHtmlScopeId.xml Sat Jan 8 10:24:33 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapHtmlScopeId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>08 Jan 2005, 08:44:02.578 AM MST</ses:startDate> + <ses:startDate>08 Jan 2005, 10:44:35.171 AM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-2eb11a3b:10152f90f73:-7ce4</ses:value> + <ses:value>6f6aca2:101536730ee:-7ce4</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -201,21 +201,28 @@ val = val + "CheckBox 1 by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("check1",s)) == null) + "</b><br>"; - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> @@ -227,7 +234,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>08 Jan 2005, 08:44:03.484 AM MST</ses:endDate> + <ses:endDate>08 Jan 2005, 10:44:36.281 AM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>1</ses:testCount> <ses:passedCount>0</ses:passedCount> Modified: incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml Url: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml?view=diff&rev=124663&p1=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r1=124662&p2=incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml&r2=124663 ============================================================================== --- incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml (original) +++ incubator/beehive/trunk/netui/test/webapps/drt/testRecorder/tests/IdMapId.xml Sat Jan 8 10:24:33 2005 @@ -2,7 +2,7 @@ <ses:recorderSession xmlns:ses="http://beehive.apache.org/netui/tools/testrecorder/2004/session"> <ses:sessionName>IdMapId</ses:sessionName> <ses:tester>Daryl</ses:tester> - <ses:startDate>08 Jan 2005, 08:44:03.546 AM MST</ses:startDate> + <ses:startDate>08 Jan 2005, 10:44:36.312 AM MST</ses:startDate> <ses:description>Daryl</ses:description> <ses:tests> <ses:test> @@ -18,7 +18,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -44,7 +44,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -56,7 +56,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-2eb11a3b:10152f90f73:-7ce2</ses:value> + <ses:value>6f6aca2:101536730ee:-7ce2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -255,22 +255,28 @@ val = val + "Button by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("button",s)) == null) + "</b><br>"; - - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> @@ -327,7 +333,7 @@ <ses:cookies> <ses:cookie> <ses:name>JSESSIONID</ses:name> - <ses:value>3676E41A39D93ECAB7A22971DD996B23</ses:value> + <ses:value>44581E3FE4C8B93C3A4037163FA5B93D</ses:value> </ses:cookie> </ses:cookies> <ses:headers> @@ -361,7 +367,7 @@ </ses:header> <ses:header> <ses:name>cookie</ses:name> - <ses:value>$Version=0; JSESSIONID=3676E41A39D93ECAB7A22971DD996B23; $Path=/coreWeb</ses:value> + <ses:value>$Version=0; JSESSIONID=44581E3FE4C8B93C3A4037163FA5B93D; $Path=/coreWeb</ses:value> </ses:header> <ses:header> <ses:name>host</ses:name> @@ -373,7 +379,7 @@ </ses:header> <ses:header> <ses:name>testrecorder.playback.testid</ses:name> - <ses:value>-2eb11a3b:10152f90f73:-7ce2</ses:value> + <ses:value>6f6aca2:101536730ee:-7ce2</ses:value> </ses:header> <ses:header> <ses:name>user-agent</ses:name> @@ -572,22 +578,28 @@ val = val + "Button by name is null: <b>" + (document.getElementsByTagName(lookupNameByTagId("button",s)) == null) + "</b><br>"; - - val = val + "<hr>"; - if (netui_tagIdMap != null) { + val = val + "<br>"; + if (typeof(netui_tagIdMap) != "undefined") { val = val + "<b>tagIdMap:</b><br>"; for (var x in netui_tagIdMap) { val = val + "Name '" + x + "' value '" + netui_tagIdMap[x] + "'<br>"; } val = val + "<br>"; } - if (netui_tagIdNameMap != null) { + else { + val = val + "tagIdMap is <b>undefined</b><br>"; + } + + if (typeof(netui_tagIdNameMap) != "undefined") { val = val + "<b>tagIdNameMap:</b><br>"; for (var x in netui_tagIdNameMap) { val = val + "Name '" + x + "' value '" + netui_tagIdNameMap[x] + "'<br>"; } val = val + "<br>"; } + else { + val = val + "tagIdNameMap is <b>undefined</b><br>"; + } p.innerHTML = val; </script> @@ -599,7 +611,7 @@ </ses:testResults> </ses:test> </ses:tests> - <ses:endDate>08 Jan 2005, 08:44:05.046 AM MST</ses:endDate> + <ses:endDate>08 Jan 2005, 10:44:37.625 AM MST</ses:endDate> <ses:sessionStatus>fail</ses:sessionStatus> <ses:testCount>2</ses:testCount> <ses:passedCount>0</ses:passedCount>
