04-07-2009, 04:47 AM
Student id --- Textbox
Student Name -- Textbox
Gender --- Dropdown box (Male , Female )
DOB -- Calendar control
Address -- Text Area
and following
Save, Update, delete and Cancel Button
The following is the code if your form in a web page
Student Name -- Textbox
Gender --- Dropdown box (Male , Female )
DOB -- Calendar control
Address -- Text Area
and following
Save, Update, delete and Cancel Button
The following is the code if your form in a web page
Code:
Browser("..").page("studentform").webedit("StudentId").set "1"
Browser("..").page("studentform").webedit("studentname").set "nandu"
Browser("..").page("studentform").weblist("Gender").select "Female"
Browser("..").page("studentform").image("DOB").click
Browser("..").page("studentform").image("DOB")...set "09-09-09"
Browser("..").page("studentform").webedit("Address").set "city,town..."
Browser("..").page("studentform").webbutton("save").click