06-07-2008, 04:09 AM
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...
Public sub Login() public sub Manipulations() public Sub Logout()
. 'record/write the set of statements 'record/write the set of stmnts 'record/write the set of stmnt
. close the function end sub EndSub
End Sub
and now open new master test script
Should have the following set of statements in master test script
Public Function MasterFunc()
Call Login
Call Manipulations
Call Logout
End Function
correct me if i am wrong
thanks
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...
Public sub Login() public sub Manipulations() public Sub Logout()
. 'record/write the set of statements 'record/write the set of stmnts 'record/write the set of stmnt
. close the function end sub EndSub
End Sub
and now open new master test script
Should have the following set of statements in master test script
Public Function MasterFunc()
Call Login
Call Manipulations
Call Logout
End Function
correct me if i am wrong
thanks