Examples failing on Ubuntu 10.04 with firefox and python 2.6

8 views
Skip to first unread message

godber

unread,
Aug 30, 2010, 4:07:59 PM8/30/10
to pyccuracy
I must be doing something wrong or the basic instructions fail to work
on Ubuntu 10.04. I have the following python libraries installed:

Django==1.2.1
Fabric==0.9.1
Pyccuracy==1.2.41
StarCluster==0.91
boto==1.9b
distribute==0.6.14
django-fields==0.1.1
django-piston==0.2.2
ipython==0.10
lxml==2.2.7
paramiko==1.7.6
pep8==0.5.0
pycrypto==2.2
selenium==2.0a5
wsgiref==0.1.2

I wrote the test.acc as documented on github and run pyccuracy_console
as shown below:

pyccuracy_console -u http://google.com

Scenario 1 of 2 <0.00%> - Searching for Hello World
Given
I go to "http://www.google.com"
When
I fill "q" textbox with "Hello World"
And I click "btnG" button and wait

Scenario 2 of 2 <50.00%> - Searching for Monty Python
Given
I go to "http://www.google.com"
When
I fill "q" textbox with "Monty Python"
And I click "btnG" button and wait

/home/godber/usr/python-environments/dash/lib/python2.6/site-packages/
pyccuracy/errors.py:28: DeprecationWarning: BaseException.message has
been deprecated as of Python 2.6
return self.message
================
Test Run Summary
================
Status: FAILED

Test Data Stats
---------------
Successful Stories......0 of 1 (0.00%)
Successful Scenarios....0 of 2 (0.00%)
Failed Stories..........1 of 1 (100.00%)
Failed Scenarios........2 of 2 (100.00%)

Total timing: 68.24 secs
Scenarios/Minute: 1.76 scenarios per minute


Failed Stories / Scenarios
--------------------------
Story..........As a Google User I want to search Google So that I can
test Pyccuracy
Story file...../home/godber/workspace/crunch.io/dash/temp/test.acc
Scenario.......1 - Searching for Hello World
Given
I go to "http://www.google.com" - SUCCESSFUL
When
I fill "q" textbox with "Hello World" - SUCCESSFUL
And I click "btnG" button and wait - FAILED - The action wait
for page to load timed out after waiting for 30000 ms.
Then
I see "Hello World - Google Search" title - UNKNOWN
Story..........As a Google User I want to search Google So that I can
test Pyccuracy
Story file...../home/godber/workspace/crunch.io/dash/temp/test.acc
Scenario.......2 - Searching for Monty Python
Given
I go to "http://www.google.com" - SUCCESSFUL
When
I fill "q" textbox with "Monty Python" - SUCCESSFUL
And I click "btnG" button and wait - FAILED - The action wait
for page to load timed out after waiting for 30000 ms.
Then
I see "Monty Python - Google Search" title - UNKNOWN


And I click "btnG" button and wait - FAILED - The action wait
for page to load timed out after waiting for 30000 ms.

Selenium launches and does what I expect. The main difference is that
I am using the selenium-server.jar from their download of selenium-
server-1.0.3. When I try to download the one in your documentation I
get an invalid Jar message.

Anyone seen this behavior before?

Austin
Reply all
Reply to author
Forward
0 new messages