Descriptive Programming: 
                   If at all the objects
description is specified in the program itself then that type of programming is
known as descriptive programming
                             Dialog
("text:=Login").Activate
          Dialog
("text:=login","width:=320").winedit("attached text:=
Agent Name:").set"akhil"
                             Dialog
("text:=login").winedit("attachedtext:=password:").setsecure"mercury"
                             Dialog
("text:=login").winbutton("text:=ok").click
                             VbWindow("Name:=CALCULATOR").Activate
                             VbWindow("Name:=CALCULATOR").VbEdit("Name:=VALUE1").Set
"10"
                             VbWindow("Name:=CALCULATOR").VbEdit("Name:=VALUE2").Set
"20"
                             VbWindow("Name:=CALCULATOR").VbButton("Name:=ADD").Click
No comments:
Post a Comment