tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Kotchnev <akoch...@gmail.com>
Subject Re: testng.xml and selenium
Date Mon, 25 Apr 2011 17:05:57 GMT
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 <mark-lists@xeric.net> 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 <hlship@gmail.com>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 <mark-lists@xeric.net> 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: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Mime
View raw message