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

Answers were Sorted based on User's Feedback



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

Answer / a.thirumalareddy@gmail.com

in DataDriven framework we have to pass the test data for parameterization from external sheet like excel and we have to write script (record and playback is not followed by all companies)

Is This Answer Correct ?    1 Yes 0 No

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

Answer / chandana

Thank u Pallvi.

by chandana

Is This Answer Correct ?    0 Yes 0 No

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

Answer / 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

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

Answer / pallavi nandula

QTP can be used with Keyword View(u do not need to program
the automation script, thru Record/playback code gets
generated automatically) and Expert View (automation code
is manually scripted). Though "Data Driven" testing is
possible thru both the views, data driven framework is
mainly concerned with Expert view. For example, for the
fields that u want to parameterize, we store the respective
field values(data) in a data table such that for the each
iteration u run, data is driven from the data table.using
the object model reference ur code in expert view can be
further enhanced.For ex: for the client server flight
example, try different wrong logins(by parameterizing)using
function concept and capture the recovery scenarios and
automate the login such that after 2 or more failures user
successfully logins.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

How should I check my code( Before going to execute) without executing the script in QTP

1 Answers  


How many types of trigger events are there in qtp?

0 Answers  


How to add a runtime parameter to a data sheet?

6 Answers  


How many ways we can parameterize data in QTP ?

9 Answers  


Hi, I have 2 dropdown listboxes called region and city/area. It needs to select one region(Santa Clara) and one city/Area (Sunnyvale).So I put this in the for loop and I am storing the Items in the variable called itemname. The regions value will get changed,so I used reg expression for this regions. This is my code Browser("MLSListings.com").Page("MLSListings.com").Link("» County/Area").Click Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Check CheckPoint("regions") ListSize=Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetTOProperty("items count") For i = 1 To ListSize-1 Itemname =Browser("MLSListings.com").Page ("MLSListings.com").WebList("regions").GetItem(i+1) Browser("MLSListings.com").Page("MLSListings.com").WebList ("regions").Select Itemname ................. If I run the script,I am getting the following error, Cannot identify the specified item of the regions object. Confirm that the specified item is included in the object's item collection. Any Help? Thank you, Uma

0 Answers  






what is QTP batch testing tool?

2 Answers  


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

0 Answers   Fiserv,


How to use Environment parameterization in QTP? Explain with an example.

2 Answers  


my assignment is,how can i differentiate between readed & unreaded mails in my inbox ?, since for both readed & unreaded having same properties for both test objects &run time objects

2 Answers  


what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example

2 Answers  


i have read that "non-reusable actions can not be called in any other test".but in 'call to copy action' copies non-reusable action in other test also..can u pls help to understand this..

0 Answers  


What are the advantages of Object Repository?

0 Answers  


Categories