List Info

Thread: is it possible to query database during runtime




is it possible to query database during runtime
user name
2008-02-05 17:33:06
I have an rsel testcase where I'm trying to get a database
value at runtime.  Is this possible?

For example:
I have a Signup table that is empty when the test starts.

type 'signup_name', 'some_user'
type 'signup_email', 'some_usergmail.com'
click_and_wait 'signup'  #This adds the new user to the
Signup table.

echo Signup.find_by_email('some_usergmail.com')  
#Running selenium shows that no values.

It looks like selenium is evaluating the value prior to the
test being executed.
------------------------------------------------------------
---------
Posted via Jive Forums
http://forums.openqa.org/thread.jsp
a?threadID=12211&messageID=39025#39025

------------------------------------------------------------
---------
To unsubscribe, e-mail:
selenium-on-rails-users-unsubscribeopenqa.org
For additional commands, e-mail:
selenium-on-rails-users-helpopenqa.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )