Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Scripts
#1
Solved: 11 Years, 4 Months ago
HI All,

Im new to QTP, could any one write sample script for the following form

-- Student Admission Form

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

Thanks in Advance.Smile
Reply
#2
Solved: 11 Years, 4 Months ago
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

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,965 09-19-2013, 03:02 PM
Last Post: ACCBAJPA

Forum Jump:


Users browsing this thread: 1 Guest(s)