Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to implement scripts in a framework
#1
Solved: 10 Years, 9 Months ago
Can any one suggest me how to implement scripts in a framework and also what is mean by driver script ?
I need to get pass and fail status of the results in a excel i.e. test case.
Reply
#2
Solved: 10 Years, 9 Months ago
Framework is nothing but a "set of standards followed in your script"

You can store your inputs in a excel file or flat file or csv file
process them using datatable
import it to the excel file using datatable.import

Driver script is a main script which will be having the function calls and the main data. The detailed code will be stored in a external library.

Hope it helps.

Thanks,
Ricks
Reply
#3
Solved: 10 Years, 9 Months ago
Hi Ricks,

As a beginner it's very useful for me and can you provide me sample "Driver Script" and external library.I need to know ,how external library is called in driver script(what function is used).


Thanks,
Jagadeesh
Reply
#4
Solved: 10 Years, 9 Months ago
Code:
Libraray file (Libtest.vbs or Libtest.qfl)

public Function Login
'**************************CODE INSIDE THE FUNCTION
End Function

In the driver script,
You can add it using File->Setting->Resoures->Add this lib file

call the function directly Eg. Login and this function will be called.
Reply
#5
Solved: 10 Years, 9 Months ago
Thank You Ricks_ngl
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Excel template for mapping manual scripts to Automation scripts. ACCBAJPA 0 2,835 09-19-2013, 03:02 PM
Last Post: ACCBAJPA
  How to implement mousemove method silpavinod 0 3,589 10-10-2012, 12:19 PM
Last Post: silpavinod
  How to implement Mouse Right button Ravi_Chandra 4 13,625 01-19-2011, 07:09 PM
Last Post: MailJayAbhi

Forum Jump:


Users browsing this thread: 1 Guest(s)