Paul -- have you tried running the Selenium RC server non-
interactively, then interacting with it via one of the languages it
supports? Python for example, since you're doing Django development.
Look in the python sub-directory of the selenium-rc distribution, and
modify the test_google.py script so that it goes to your Django site.

It might be easier if you run the Selenium RC server on a different
box than your Django server, because SelRC uses a proxy to get around
the Javascript security issues. The proxy might interfere with your
Django server running on port 8000.

Grig

On Mar 8, 11:46 am, "Paul Childs" <[EMAIL PROTECTED]> wrote:
> I have Selenium RC running and I was wondering if someone might be
> able to nudge me in the right direction. I am trying to at least get
> my local web site, running on the Django dev server, to display in the
> browser without an error, nothing more. Any help would be appreciated.
>
> The following are the steps that I took while following along with the
> Selenium tutorial.http://www.openqa.org/selenium-rc/tutorial.html
>
> I launch Selenium in the interactive mode
>
> I open my website
> cmd=getNewBrowserSession&1=*iexplore&2=http://127.0.0.1:8000
> ---> 
> Requestinghttp://localhost:4444/selenium-server/driver?cmd=getNewBrowserSession...http://127.0.0.1:8000
> queryString = cmd=getNewBrowserSession&1=*iexplore&2=http://
> 127.0.0.1:8000
> Modifying registry settings...
> Launching Internet Explorer...
> Got result: OK,1173381355673
>
> I try to open the home page
> cmd=open&1=http://127.0.0.1:8000/idms/&sessionId=1173381355673
> ---> 
> Requestinghttp://localhost:4444/selenium-server/driver?cmd=open&1=http://127.0....
> sessionId=1173381355673
> queryString = cmd=open&1=http://127.0.0.1:8000/idms/
> &sessionId=1173381355673
> Got result: OK
>
> Then I get this Django Error message in the browser...
>
> TypeError athttp://127.0.0.1:8000/idms/
> unpack non-sequence
> Request Method: GET
> Request URL:http://127.0.0.1:8000http://127.0.0.1:8000/idms/  <----
> THIS IS INTERESTING
> Exception Type: TypeError
> Exception Value: unpack non-sequence
> Exception Location: C:\Python24\lib\site-packages\django\core\handlers
> \base.py in get_response, line 68
>
> Traceback (most recent call last):
> File "C:\Python24\lib\site-packages\django\core\handlers\base.py" in
> get_response
>   68. callback, callback_args, callback_kwargs =
> resolver.resolve(request.path)
>
>   TypeError athttp://127.0.0.1:8000/idms/
>   unpack non-sequence
>
> I tried the following and still got the same error as above..
> cmd=open&1=/idms/&sessionId=1173381355673
> ---> 
> Requestinghttp://localhost:4444/selenium-server/driver?cmd=open&1=/idms/&sessio...
> 73
> queryString = cmd=open&1=/idms/&sessionId=1173381355673
> Got result: OK


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to