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_user gmail.com'
click_and_wait 'signup' #This adds the new user to the
Signup table.
echo Signup.find_by_email('some_user gmail.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-unsubscribe openqa.org
For additional commands, e-mail:
selenium-on-rails-users-help openqa.org
|