Fore more QTP Realtime Scripts, visit www.ramupalanki.comQTPFrameworkFramework: - Organizing the test scripts in a particu...
Upcoming SlideShare
Loading in...5
×

Qtp

312

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
312
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
27
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Qtp

  1. 1. Fore more QTP Realtime Scripts, visit www.ramupalanki.comQTPFrameworkFramework: - Organizing the test scripts in a particular fashion. The best way u managed youwrite, modify and manage your script as per requirement.In QTP-The frameworks are: - 1) Object Driven. 2) Keyword driven. 3) function driven. 4) Data table driven. 5) Hybrid driven (Mixture of above all). Basically, there are 4 types- a) Linear. b) Modular. c) Keyword. d) Hybrid More info u can get in IBM home page-under Framework section.VBScript ClassesClass Hello_World Public Sub Say_Hello(Name) MsgBox “Hello “ & Name & “ Welcome to “ & Garden End Sub Public GardenEnd ClassDim objHelloWorldSet objHelloWorld = New Hello_WorldobjHelloWorld.Garden = “Fountain”objHelloWorld.Say_Hello “Rajesh”above we have created a class (Hello_World) and an instance (objHelloWorld) of that class.VBScript uses the Class …. End Class to define the contents of the class. The property(Garden) and procedure (Say_Hello) are also declared within the class.

×