Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Deformdemo : selenium tests questions
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
tonthon  
View profile  
 More options Jul 13 2012, 8:16 pm
From: tonthon <tontho...@gmail.com>
Date: Sat, 14 Jul 2012 02:16:09 +0200
Local: Fri, Jul 13 2012 8:16 pm
Subject: Deformdemo : selenium tests questions
Hi,

Trying to provide a pull request to correct :
https://github.com/Pylons/deform/issues/103
I'v launched the selenium tests provided by deformdemo.

The actual AutocompleteInputWidgetTests.test_submit_filled fails
(running selenium-server-standalone-2.24.1).

The actual code is :
"""
browser.type('deformField1', 'bar')
browser.type_keys('deformField1', 'bar')
import time
time.sleep(.2)
self.assertTrue(browser.is_text_present('bar'))      
self.assertTrue(browser.is_text_present('baz'))
"""
Obviously when typing bar, I don't expect baz to come out.
And here, bar is typed two times resulting in a barbar text which can't
be autocompleted.

New to selenium, maybe I misunderstand something, but using the following :
"""
browser.type_keys('deformField1', 'ba')
"""
allows the test to run ok.

Any advice ?
Should I provide a patch ?

Regards

Gaston


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »