- stuartmca
- Posts : 2
Join date : 2012-05-22
Cannot Get suits to run keeps stopping at INFO - Checking reource Allocated
Tue May 22, 2012 3:50 pm
Hi Newbie Here really need some help getting past this hurdle,
I've created a TestSuite in IDE (a very basic one) and am trying to run it but it doesn't progress past the INFO - Checking Resource Aliases..message. I 've read this forum and tried removing the XML tag from the test suite and also I have checked my paths andstill cannot seem to get them to run (The Firefox windows will open and a correct looking test case appears in the top left frame but the run counter remains at 0).. please see below 1) Test suite content 2) Command I use to run 3) log details... (note as new members can't post urls i've had to change web addresses to xxxxx so i can sucessfully post)
1) Test Suite Content
>
<html xmlns="xxxxxxx" xml:lang="en" lang="en">
<head profile="xxxxxxxxxx
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="xxxxxx.bbc.co.uk" />
<title>NavtoFoot</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">NavtoFoot</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Sport</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Football</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Tables</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
2) Command
C:\Selenium>java -jar selenium-server-standalone-2.21.0.jar -htmlsuite "*firefox" "xxxxxxxxxxxx" "C:\SelTest\TS001.htm" "C:\SelTestResults\results.html"
3) Log file
May 22, 2012 8:28:57 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server08:28:59.306
INFO - Java: Oracle Corporation 23.0-b2108:28:59.306 INFO - OS: Windows 7 6.1 amd64
08:28:59.322 INFO - v2.21.0, with Core v2.21.0. Built from revision 16552
08:28:59.618 INFO - RemoteWebDriver instances should connect to: xxxxxxxxxx
08:28:59.618 INFO - Version Jetty/5.1.x
08:28:59.618 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
08:28:59.618 INFO - Started HttpContext[/selenium-server,/selenium-server]
08:28:59.618 INFO - Started HttpContext[/,/]
08:28:59.727 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@374f15
44
08:28:59.727 INFO - Started HttpContext[/wd,/wd]
08:28:59.743 INFO - Started SocketListener on 0.0.0.0:4444
08:28:59.743 INFO - Started org.openqa.jetty.jetty.Server@63c99db7
08:29:00.039 INFO - Preparing Firefox profile...
08:29:03.972 INFO - Launching Firefox...
08:29:06.047 INFO - Checking Resource aliases
I've created a TestSuite in IDE (a very basic one) and am trying to run it but it doesn't progress past the INFO - Checking Resource Aliases..message. I 've read this forum and tried removing the XML tag from the test suite and also I have checked my paths andstill cannot seem to get them to run (The Firefox windows will open and a correct looking test case appears in the top left frame but the run counter remains at 0).. please see below 1) Test suite content 2) Command I use to run 3) log details... (note as new members can't post urls i've had to change web addresses to xxxxx so i can sucessfully post)
1) Test Suite Content
>
<>;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "xxxxxxxxxxxxxxxxxxxxxxxxxx
<html xmlns="xxxxxxx" xml:lang="en" lang="en">
<head profile="xxxxxxxxxx
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="xxxxxx.bbc.co.uk" />
<title>NavtoFoot</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">NavtoFoot</td></tr>
</thead><tbody>
<tr>
<td>open</td>
<td>/</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Sport</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Football</td>
<td></td>
</tr>
<tr>
<td>clickAndWait</td>
<td>link=Tables</td>
<td></td>
</tr>
</tbody></table>
</body>
</html>
2) Command
C:\Selenium>java -jar selenium-server-standalone-2.21.0.jar -htmlsuite "*firefox" "xxxxxxxxxxxx" "C:\SelTest\TS001.htm" "C:\SelTestResults\results.html"
3) Log file
May 22, 2012 8:28:57 AM org.openqa.grid.selenium.GridLauncher main
INFO: Launching a standalone server08:28:59.306
INFO - Java: Oracle Corporation 23.0-b2108:28:59.306 INFO - OS: Windows 7 6.1 amd64
08:28:59.322 INFO - v2.21.0, with Core v2.21.0. Built from revision 16552
08:28:59.618 INFO - RemoteWebDriver instances should connect to: xxxxxxxxxx
08:28:59.618 INFO - Version Jetty/5.1.x
08:28:59.618 INFO - Started HttpContext[/selenium-server/driver,/selenium-server
/driver]
08:28:59.618 INFO - Started HttpContext[/selenium-server,/selenium-server]
08:28:59.618 INFO - Started HttpContext[/,/]
08:28:59.727 INFO - Started org.openqa.jetty.jetty.servlet.ServletHandler@374f15
44
08:28:59.727 INFO - Started HttpContext[/wd,/wd]
08:28:59.743 INFO - Started SocketListener on 0.0.0.0:4444
08:28:59.743 INFO - Started org.openqa.jetty.jetty.Server@63c99db7
08:29:00.039 INFO - Preparing Firefox profile...
08:29:03.972 INFO - Launching Firefox...
08:29:06.047 INFO - Checking Resource aliases
- stuartmca
- Posts : 2
Join date : 2012-05-22
Re: Cannot Get suits to run keeps stopping at INFO - Checking reource Allocated
Wed May 23, 2012 3:45 pm
Just as an Addendum: I had definately Saved this As a Test Suite rather than a Test Case... Can anyoneconfirm whther I need to amend my test Suite further (Details in earlier post).. Thanks if anyone can help
Permissions in this forum:
You cannot reply to topics in this forum