« Back to Selenium

Running Selenium Tests

Tags: selenium

Introduction #

While previous methods for running the suite of Selenium tests remain valid, over time we have made some inroads in helping automate, improve, and quicken the process of testing. As developers we found that it rapidly became tedious to have to manually start selenium-server.jar, make sure that session expiration was set to a test compatible 2 minutes, start Tomcat, deploy the plugins under test, start the tests, rebuild the hypersonic database that has been populated with test data, and start again. This often resulted in a long turnover time in testing and also represented hurdles to running the tests in a continuous integration environment.

To accomplish this end an ant task has been created to help automate these tasks and increase the speed at which the entire suite of tests are run while minimizing tedium that would be cumbersome to a developer. The ant task file can be found in

../build/build.xml

Running the Tests #

Before Running the Tests #

Before running the tests always make sure to close any Firefox or java processes that are open. There currently is a bug in the Selenium Server where, if the server does not shut down gracefully it may continue running as a background process and prevent future instances of Firefox from starting.

The ant task assumes several things are true about your current setup:

1. In addition to whatever version of Liferay you are running the test on, that you also have the Plugins trunk currently installed. If you do have the Plugins trunk installed on your machine be sure to define its location in the release.properties file. IF you are not interested in running tests on Liferay plugins you must comment out the following lines in build-test.xml:

<!--<replace
			file="${app.server.tomcat.portal.dir}/WEB-INF/web.xml"
			token="session-timeout&gt;30&lt;"
			value="session-timeout&gt;2&lt;"
/>

<exec dir="${lp.plugins.dir}" executable="cmd.exe" os="${os.windows}">
			<arg line="/c svn update" />
</exec>-->

AND...

<!--<antcall target="test-tomcat-runtime">
	<param name="test.class" value="Plugins1TestSuite" />
	<param name="portlet.plugins.includes" value="alfresco-content-portlet,analog-clock-portlet" />
</antcall>

<antcall target="test-tomcat-runtime">
	<param name="test.class" value="Plugins2TestSuite" />
	<param name="portlet.plugins.includes" value="sample-localized-portlet,sample-orbeon-forms-portlet" />
</antcall>-->

2. Your appserver is connected to a properly setup MySQL database. To learn how to setup Liferay with MySQL please read Database Configuration. If you would like to disable automatic rebuilding of the MySQL database comment out the following in build-test.xml:

<!--<ant dir="sql" target="rebuild-mysql" inheritAll="false" />-->

Please note also that there are multiple points where the database is rebuilt to prevent performance degradation from occurring throughout the duration of the tests.

Running the Tests #

By default running the command:

ant –buildfile build-test.xml test-tomcat

Will do the following tasks:

  1. Set the session timeout to 2 minutes.
  2. Update the plugins trunk.
  3. Start selenium-server.jar.
  4. Start Tomcat app server.
  5. Run through the PortalWebTestSuite.
  6. Deploy all plugins for Plugins1TestSuite.
  7. Run through the Plugins1TestSuite.
  8. Deploy all the plugins for Plugins2TestSuite.
  9. Run through the Plugins2TestSuite.

Normally this is ideal when you wan to run the entire suite of tests but for testing a few small changes or new tests without testing others it would not be as efficient. It is possible to comment out whatever portions of the ant task are not necessary and run the command in a quicker ‘lighter’ way.

Slimming Down the Tests #

For example: If I had just added new tests the message boards portlet and wanted to test and make sure those tests integrate well with the other message board tests I would do the following:

1. Comment out from build-test.xml the following:

<!--<replace
	file="${app.server.tomcat.portal.dir}/WEB-INF/web.xml"
	token="session-timeout&gt;30&lt;"
	value="session-timeout&gt;2&lt;"
/>

<exec dir="${lp.plugins.dir}" executable="cmd.exe" os="${os.windows}">
	<arg line="/c svn update" />
</exec>-->

And

<!--<antcall target="test-tomcat-runtime">
	<param name="test.class" value="Plugins1TestSuite" />
	<param name="portlet.plugins.includes" value="alfresco-content-portlet,analog-clock-portlet," />
</antcall>

<antcall target="test-tomcat-runtime">
	<param name="test.class" value="Plugins2TestSuite" />
	<param name="portlet.plugins.includes" value="sample-localized-portlet,sample-orbeon-forms-portlet" />
</antcall>-->

If I comment out those lines from build-test.xml my test will NOT set the session timeout, update plugins trunk, and ignore the plugins tests entirely.

However there’s still one more thing you would need to set to ensure that only your Message Board tests run.

2. Comment out the tests you do not want to run from PortalWebTestSuite.java (Be sure you leave the login test in as it is necessary to log into the portal to use the message board portlet).

3. Run the command ‘ant –buildfile build-test.xml test-tomcat’ 4. Voila! You should have a quick and efficient test for your new message board features!

Hopefully this section has familiarized you with utilizing the latest nuances we’ve added to our Selenium testing framework. Happy testing! Also please feel free to ask questions and add to this living document. Thanks all!

Related Articles #

Selenium Test Inventory

How to Run Selenium Tests

Liferay Selenium Conventions and Patterns

Selenium Testing

Selenium FAQ

How to Configure Selenium Testing

4 Attachments
69732 Views
Average (0 Votes)
The average rating is 0.0 stars out of 5.
Comments
Threaded Replies Author Date
Hello, I am getting following error... ... Archi Madhu August 31, 2010 4:54 PM
Found soltution for this,here is link for same ... Archi Madhu September 2, 2010 4:37 PM

Hello,

I am getting following error...

junit.framework.AssertionFailedError: Exception in constructor: test (org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterServiceTransactionAdvice': Cannot resolve reference to bean 'liferayTransactionManager' while setting bean property 'transa
ctionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting bean p
roperty 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.Hi
bernateException: Hibernate Dialect must be explicitly set
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal­ueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop­ulateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti­ateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory­Initialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA­pplicationContext.java:381)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassP­athXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassP­athXmlApplicationContext.java:93)
at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicatio­nContext.java:42)
at com.liferay.portal.spring.util.SpringUtil.loadContext(SpringUtil.java:52)
at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:133)
at com.liferay.portalweb.portal.BaseTests.<init>(BaseTests.java:38)
at com.liferay.portalweb.portal.PortalWebTestSuite.<init>(PortalWebTestSuite.java:9­5)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting bean property 'ses
sionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateExcep
tion: Hibernate Dialect must be explicitly set
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal­ueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop­ulateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:269)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hiber
nate Dialect must be explicitly set
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini­tializeBean(AbstractAutowireCapableBeanFactory.java:1337)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:269)
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(Loc­alSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(L­ocalSessionFactoryBean.java:732)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet­(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.inv­okeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini­tializeBean(AbstractAutowireCapableBeanFactory.java:1334)
)


Test com.liferay.portalweb.portal.PortalWebTestSuite FAILED
[antelope:post] Opening connection for post to http://localhost:4444/selenium-server/driver/?cmd=shutDown...
[antelope:post] Connected, sending data...
[antelope:post]
[antelope:post] Data sent.
[antelope:post] Post complete.
junit.framework.AssertionFailedError: Exception in constructor: test (org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterServiceTransactionAdvice': Cannot resolve reference to bean 'liferayTransactionManager' while setting bean property 'transa
ctionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting bean p
roperty 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.Hi
bernateException: Hibernate Dialect must be explicitly set
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal­ueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop­ulateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti­ateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory­Initialization(AbstractApplicationContext.java:729)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA­pplicationContext.java:381)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassP­athXmlApplicationContext.java:139)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassP­athXmlApplicationContext.java:93)
at com.liferay.portal.spring.context.ArrayApplicationContext.<init>(ArrayApplicatio­nContext.java:42)
at com.liferay.portal.spring.util.SpringUtil.loadContext(SpringUtil.java:52)
at com.liferay.portal.util.InitUtil.initWithSpring(InitUtil.java:133)
at com.liferay.portalweb.portal.BaseTests.<init>(BaseTests.java:38)
at com.liferay.portalweb.portal.PortalWebTestSuite.<init>(PortalWebTestSuite.java:9­5)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayTransactionManager' defined in class path resource [META-INF/hibernate-spring.xml]: Cannot resolve reference to bean 'liferayHibernateSessionFactory' while setting bean property 'ses
sionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateExcep
tion: Hibernate Dialect must be explicitly set
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:275)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal­ueIfNecessary(BeanDefinitionValueResolver.java:104)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop­ulateBean(AbstractAutowireCapableBeanFactory.java:1010)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:472)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:269)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liferayHibernateSessionFactory' defined in class path resource [META-INF/hibernate-spring.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: Hiber
nate Dialect must be explicitly set
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini­tializeBean(AbstractAutowireCapableBeanFactory.java:1337)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC­reateBean(AbstractAutowireCapableBeanFactory.java:473)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.r­un(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre­ateBean(AbstractAutowireCapableBeanFactory.java:380)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra­ctBeanFactory.java:264)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle­ton(DefaultSingletonBeanRegistry.java:221)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract­BeanFactory.java:261)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:185)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe­anFactory.java:164)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef­erence(BeanDefinitionValueResolver.java:269)
Caused by: org.hibernate.HibernateException: Hibernate Dialect must be explicitly set
at org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
at org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
at org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:426)
at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2073)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1298)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(Loc­alSessionFactoryBean.java:814)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(L­ocalSessionFactoryBean.java:732)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet­(AbstractSessionFactoryBean.java:211)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.inv­okeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.ini­tializeBean(AbstractAutowireCapableBeanFactory.java:1334)
)


Test com.liferay.portalweb.portal.PortalWebTestSuite FAILED
[antelope:post] Opening connection for post to http://localhost:4444/selenium-server/driver/?cmd=shutDown...
[antelope:post] Connected, sending data...
[antelope:post]
[antelope:post] Data sent.
[antelope:post] Post complete.

BUILD SUCCESSFUL
Total time: 4 minutes 50 seconds

Don't know why? I tried to star selenium server from command prompt - portal/lib/development but it was giving JVM Bind error..

then I started selenium server from firefox ..and I am getting above errors..

Can anyone throw some lights on this?

Many thanks,
Archi
Posted on 8/31/10 4:54 PM.
Found soltution for this,here is link for same

http://www.liferay.com/community/forums/-/message_boards/message/5736841?_19­_preview=false
Posted on 9/2/10 4:37 PM.