Explain me in deatail about DATADRIVEN framework including
scripts ?(realtimes plz)(Chandana)
Answers were Sorted based on User's Feedback
Answer / chandana
Thank u Pallvi.
|Is This Answer Correct ?||0 Yes||0 No|
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
Test Data folder
Business Scenario 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
U created an "Action1" for "Customer Registration"
In data driven approach, that action, u need to convert
that action as an function
'Your execution scripts
And this should be stored as a separated ".vbs" file ex
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
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"
Code Maintain and execution is simple
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|
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
|Is This Answer Correct ?||1 Yes||2 No|
HoW to open QTP in Real time.after getting the qtp window how to log in .pl answer real time people
WHO IS THE BEST FACULTY FOR QTP IN HYDERABAD? A) NAGESHWAR RAO- MINDQ B) SURESH REDDY -SMART SOLUTIONS C) SURESH BABU- Q EDGE D) VENKAT - LIVE TECH E) GC.REDDY - HI-TECH CITY F) NONE OR OTHERS
In what occasion we can specify global sheet and action sheet?
Hello everyone, I am trying to parametrize a script. Its clear to me that, we use data table to enter various text data. but if I want to change the radiobutton (e.g. if for first iteration I selected radio button 'A' and for second iteration I want to use 'B' radio button for second iteration) then how can I make it happen. I have tried to define the question but still if not clear plz tell me. Thanks everyone
How will you set a unique four digit number in an edit field in QTP?
How will you compare keyword and expert view?
How do you do batch testing in QTP, if so explain?
What is the basic concept of qtp?
What is test object?
when we open flight reservation.at that time where we found synchronization point() and wait function().i m confused .i want this answer.
In QTP what is the difference between Step-in, Step-out, Step-over ?
How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.