How do I use Selenium to verify the value in a form row? -
I have an HTML-based data entry form that submits data to a server. Before submissions, the row of a form called 'Reconcumber' must be blank; After submission (on server loaded with test data) that row should display '1' value.
How can I use Selenium to verify this result? I have thought how to record step with Selenium, but can not understand the verification bit.
Thank you.
Something like this for Selenium IDE
and then the Java for Selenium RC, which must be used
Verify Accels ("", Selenium.Gate Value ("Reconcumber") ); Selenium.click ("submitButton"); ("Seconds" = 60) failed ("timeout"); try {if ("1" .equals (selenium.getValue ("RecordNumber")) for breaks (for int second =;; seconds ++) ;} Catch (exception e) {} Thread.sleep (1000);}
Comments
Post a Comment