Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain me in deatail about DATADRIVEN framework including
scripts ?(realtimes plz)(Chandana)

Answer Posted / venkat

Data driven framework is an approach while automating Test
case, in that

"Test script" is being separated from the "test data"
All the test data being send to the Test Script as a parameter
All components should be placed inside a single project folder
Components like
Library folder
Repositories folder
Test Data folder
Business Scenario Folder
Results Folder
Driver Script Folder


We have one Business Scenario and Test data excel sheet
From the Business Scenario Excel sheet, we configure the
Scenario and test case execution

Normally we create "Action" for any execution. But here we
create those action as an ".vbs" file and make it as an
external function, and those functions are kept stored in
the "Library" folder. We call the function using the
function name based on the corresponding test cases while
executing.
For Ex:
U created an "Action1" for "Customer Registration"
In data driven approach, that action, u need to convert
that action as an function
Function Fn_CustomerReg
'Your execution scripts
End Function
And this should be stored as a separated ".vbs" file ex
(customer.vbs)
And associate this function through script whenever u required


We have only one Action, that action we call as an "Driver
Script". That driver script being executed by another ".vbs"
file. We call it as an "Automation file" or "Configuration
/ Execution" file.
Simple we can say,
here we dont maintain 'n' number of "Actions".
Instead of "Actions", we create "Library Functions"
To make any changes of execution, we dont require to change
the code.
Instead of that, we can configure in the "Business
Scenario" excel sheet, which test case to execute and how
many times it to execute.
And test data are being separated from the "Test Script"

Advantage
Code Maintain and execution is simple

Disadvantage
Code creations are complex

If you are not cleared with this explanation, i explain in
detail clearly through email.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the challenges u faced in testing with crm domain? How u overcome with?

1940


Object repositories types, which and when to use?

1071


What are the different types of recording modes in qtp? Which will be used when?

1051


unique properties of button,edit box, radio button,check box?

4505


HOW AUTOMATE TEST SCRIPT ? what time it will do? after gneration of basic script or Any , Plz explain detailed?

2195


What is system testing and what are the different types of tests you perform in system testing?

1157


What is data driver in qtp?

1007


What are the key points to create a framework in QTP for oracle forms?

2257


Can we run multiple QTP scripts one after the other without manual intervention? How?

1055


What is the difference between rational rose and QTP?

2241


Through array we can execute the testcase how ? give me example

1876


What test you perform mostly? Regression or retesting in your testing process?

1022


Which scripting language used by quicktest professional?

974


In Remote acess server how u run a test?

1718


With what extension you can save the list of tests in a file to run in test batch runner?

1014