Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QTP Scripts
#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


Messages In This Thread
QTP Scripts - by loki.kl - 04-03-2009, 04:05 PM
RE: QTP Scripts - by nandu - 04-07-2009, 04:47 AM

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)