Tell me the difference between the Data Driven Frame work
and Keyword Driven frame work?
Answers were Sorted based on User's Feedback
Answer / nilanjan saha
In Keyword driven Framework "Repeated Keywords" are
translated into Functions and those are kept in Function
Library. Keyword driven framework mostly used by
non-technical users to create and automate the automated
test cases.
Where as data driven framework attain the modularity using
different reusable functions.The application need data from
external sources like .csv file,database, .exe file etc.
Generally tech savvy users prefer data driven frame work..
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sharmi
Data Driven Framework is nothing but seperating the data
from the code.so that we can reuse the code for multiple
number of data inputs.
Kerword driven Framework is a collection of keywords and
functions and the association between them.Here each
keyword is associated with one funtion(for example
Login,Logout and it can can be low-level functions like
Set,Click,etc).
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / manoj
Key word driven:in key word driven frame work mainly focus on functional of application and keywords. In Key word driven each word isused as akey just like: Browser, page, webEdit, webButton, winedit; methods like:set,select,Activate; operator like: +,-.*,/; statement like:if..else,Do..while, for..next etc.
Data Driven FW: In data driven frame work mainly focused on +ve and -ve senario of data with functional of the application.
| Is This Answer Correct ? | 0 Yes | 0 No |
I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .
How to Close all browsers in reverse order.
How can we add regular expression for date field (dd/mon/yyyy)?
how to explain a claims and insurance project?
How do we retrieve the content from a text box in a web page
how many test scripts we will write in qtp? very urgent. please??? Thanks in advance..
why was automation used in the project?
I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.
How does QTP identifies the object in the application?
what are the qtp tester responsibilities?
I want to scroll down in MSPAINT (captured a screen already). So that I can read the data in it through the step Window(paint).GetVisibleText for my validation. Anyone know the scripting for this?
Ehat is the descriptive programing in QTP?