Hi,
I have navigated the website provided by you.
The Working Code for Google Chrome
ie=Watir::Browser.new :chrome
ie.goto(http://contour.com/users/;)
ie.link(:id,'dd1').click (To Click Sigin In Drop Box)
ie.text_field(:id,'user_email').set(jazzezr...@gmail.com)
ie.text_field(:id,'user_password').set(testing)
But in IE --
When I Click Sign-In -- the drop down not appears. Instead of that its
navigating to http://contour.com/users/#
Also that page contains some Script issues. So please discuss with Dev's to
fix the Script issues before proceeding with IE
Thanks
On Tue, Oct 18, 2011 at 6:24 AM, get relic...@msn.com wrote:
Hey guys,
I am realatively new to Watir. I have a simple project to fill up the
user sign-up sheet. However, my code only filled the first part of the
form, the user name, and then a javascipt fired up, and then it just
exist without filling up the rest. It exit with out any error message.
please help.
Thank you guys!!
here is my code:
def FormFillUp (ie)
ie.text_field(:id,user_display_name).set(SignUpRobot)
ie.text_field(:id,user_email).set(signupro...@msn.com)
ie.text_field(:id,user_password).set(1234567)
end
and here is website i am trying to test. http://contour.com/users/
new
and attached the section of the form from page source code:
form accept-charset=UTF-8 action=/users class=new_user
id=new_user method=postdiv style=margin:0;padding:
0;display:inlineinput name=utf8 type=hidden value=#x2713; /
input name=authenticity_token type=hidden
value=TAYnWYYFKOCppQsikHwRlVNq3dYuNL03SYePmixMcUU= //div
div class=form_fields clearfix
div class=form_field
input data-suggestion=Username id=user_display_name
name=user[display_name] size=30 type=text /
div class=promptcontour.com/users/span
class=display_nameyou/span/div
/div
div class=form_field
input data-suggestion=Email address id=user_email
name=user[email] size=30 type=text /
div class=promptKeep it valid./div
/div
div class=form_field
input data-suggestion=Password id=user_password
name=user[password] size=30 type=password /
div class=promptBe sneaky. At least 6 characters./div
/div
/div
input id=user_password_confirmation
name=user[password_confirmation] type=hidden /
input id=user_submit name=commit type=submit value=Get
Started › /
/form
--
Before posting, please read http://watir.com/support. In short: search
before you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.comhttp://groups.google.com/group/watir-general%0awatir-general+unsubscr...@googlegroups.com
--
Regards,
P.Raveendran
http://raveendran.wordpress.com
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
http://groups.google.com/group/watir-general
watir-general+unsubscr...@googlegroups.com