I was wondering when tapestry-test will indeed switch to Selenium 2.0

The problem is still here.


On 04/25/2011 07:18 PM, Mark wrote:
Thanks Alex. I've seen this issue and I'm assuming it will be fixed when
tapestry-test switches to the 2.0 version of Selenium. But if I should be
able to just switch to Google Chrome by changing the setting in testng.xml
I'd rather just do that so I'm not relying on a modified version of the
selenium jar.

Do you know if the line
<parameter name="tapestry.browser-start-command" value="*googlechrome"/>
in testng.xml switch it over to using Chrome instead of Firefox?

Mark

On Mon, Apr 25, 2011 at 12:05 PM, Alex Kotchnev<[email protected]>  wrote:

This is likely to be a problem w/ Selenium RC itself - I know that for
a totally unrelated project I had to edit the files in selenium RC jar
to make it support firefox 4.0 - http://www.qaautomation.net/?p=245

Cheers,

Alex K

On Mon, Apr 25, 2011 at 12:59 PM, Mark<[email protected]>  wrote:
I've tried it with 5.2.4, 5.2.5 and 5.3.0-SNAPSHOT.  It tries to use
Firefox
4 and hangs.
<parameter name="tapestry.browser-start-
command" value="*googlechrome"/>
Doesn't seem to change anything and neither does:

<parameter name="tapestry.browser-start-
command" value="*safari"/>

Mark

On Mon, Apr 25, 2011 at 11:47 AM, Howard Lewis Ship<[email protected]
wrote:

What version of Tapestry?  This was in flux in 5.1 and 5.2.

On Mon, Apr 25, 2011 at 9:45 AM, Mark<[email protected]>  wrote:
Selenium in tapestry-test seems to have problems with Firefox 4 on OS
X.
I'm trying to use Google chrome instead.

The documentation seems to imply that we can set
tapestry.browser-start-command in the testng.xml file to use a
different
browser for selenium tests. However, the testng.xml file below still
launches firefox.

Am I missing something in how this should work?

Mark

src/test/conf/testng.xml:

<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd";>
<suite name="quickstart Application Test Suite" annotations="1.5">
  <test name="Integration Tests" enabled="true">
    <parameter name="tapestry.web-app-folder" value="src/main/webapp"/>
    <parameter name="tapestry.browser-start-command"
value="*googlechrome"/>
    <packages>
      <package name="com.example.appname"/>
    </packages>
    <classes>
      <class name="org.apache.tapestry5.test.SeleniumLauncher"/>
    </classes>
  </test>
</suite>



--
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to