Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling different scripts actions in QTP
#5
Solved: 10 Years, 10 Months, 1 Week ago
Hi ,

Though my question sounds silly but i want to make sure how the above one works...

i have 3 individual sripts that does Login, Manipulations , Logout... say...

in QTP.. when new test opens... do i need start with below 3 individual scripts and save them with their respective function names...

Code:
Public sub Login()
.'record/write the set of statements
. close the function end sub EndSub
End Sub

public sub Manipulations()
  'record/write the set of statements
End sub

public Sub Logout()
   'record/write the set of statements
End sub



and now open new master test script

Should have the following set of statements in master test script

Code:
Public Function MasterFunc()
Call Login
Call Manipulations
Call Logout
End Function



correct me if i am wrong

thanks
Reply


Messages In This Thread
RE: Calling different scripts actions in QTP - by navyasatish - 06-07-2008, 04:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to call Actions from other Actions Naresh 1 7,722 09-25-2014, 10:26 AM
Last Post: vinod123
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,849 09-19-2013, 03:02 PM
Last Post: ACCBAJPA
  Calling a HP Service Test Skript Gandalf2005 0 2,043 09-05-2012, 07:53 PM
Last Post: Gandalf2005
  Calling of function hamzaz 5 4,413 07-25-2012, 12:44 PM
Last Post: Shridevi.Salagare
  Function Calling after executing some steps TaranVohra 2 2,848 06-05-2012, 10:06 AM
Last Post: TaranVohra

Forum Jump:


Users browsing this thread: 1 Guest(s)