What is the difference between keyword driven frameworkd
and Modularisation framework?(Chandana)
Answers were Sorted based on User's Feedback
Modularity Frame works is Application and System dependent.
Its old and initial method of frame work.
It has two components:
1.Generic script
2.Call lib
In generic script has script from theier we calling
call.lib in which we record the application and store it..
Keyword Driven Frame Work. It is advanced one. It is
Application and system independent.
It has four components:
1.Script folder
a)Mani lib
b)call lib
c)proc lib(process library)
d)std lib
2.Repository folder
3.Excel sheet
4.Notepad file
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / sara
Modularity framework:
This is one of the olden methods of framework. This
framework is system dependent. Here we
Components of modularity framework:
1. Generic Script.
2. Main Script.
Generic Script:
* In this part we have the scripts of the sub functions in
our test cases.
* These sub functions will be stored as Library files (*.vbs).
* These sub functions will be called by main script for
performing actions in there.
Main Script:
* In this part we write script to execute our test cases as
a single framework.
* We integrate all the sub functions by using call
statements to execute the framework.
keyword i dont know
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / naren
Modular FM: U can find the ans in Sara ans
Keyword FM: It is expensive framework but easy to maintain
and independent of the tool. We can use any tool to
implement this frame since the script which is developed
using this framework does not contain any code except Call
to function.
Everything will be written in functions(*.VBS).
CONTROL FILE: Contains scenarios to be automated
TEST CASE FILE: Contains test cases in a Tabular
format(i.e.,Keyword, Object Name, Operation to be performed)
START UP SCRIPT: Which initiates the execution by calling
reading control file contents.
Data Driven FM: Script execution will be done using the
input of External files/Data table. First the script will be
generated either recording or in scripting mode then the
values will be replaced using the values stored in external
files/data table
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / sriram reddy
Modular approach
This approach involves identifying reusable code and
encapsulating the same into functions in external
libraries. These functions can then be called from multiple
scripts as required. The basic idea is to bring in some
amount of reusability, and this was a logical next step to
basic record and playback. Most of the frameworks today use
this approach to some extent.
Keyword Driven Approach :
This approach uses a set of custom keywords to depict a
user action or a set of user actions. It is also called
table-driven approach sometimes. Excel sheets are typically
used to specify the keywords (databases too in rare cases).
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rida
Modular FrameWork: QuickTest Records the operation and
executes operation basedon actions, which is consider as
modules.
Keyword FrameWork: Based on a Keyword if we are calling a
function, which is keyword Framework
Rida..
Is This Answer Correct ? | 1 Yes | 2 No |
How to check and display a particular word from a paragraph?
If created one virtual object? Next time I changed the window position will it work?
I am not able to record yahoomail browser.its giving error like "The browser Application can't be launched .Posssibly the URL is wrong" So anyone can tell me what setting i have to do in qtp??
I am trying to read the rediffmail usign the below code. But facing problem, while i user to get the link of the mail, i am getting all the link of the page, While i just want to get only mail name - link (not all the link of an page) so that i able to read the mail message by clcking on them in qtp. Dim Lnk,Webcheckbox Set Lnk= Description. Create '********* To count and display the webcheckbox Lnk("micclass" ).value=" Link" set LinkName= Browser("Welcome to Rediffmail:" ).Page("Welcome to Rediffmail:" ).ChildObjects( Lnk) LinkCount=LinkName. Count msgbox LinkCount For i=1-1 to LinkCount-1 DataTable.SetCurren tRow(i) DataTable.Value( "Name",1) =LinkName( i).GetRoProperty ("name") Next Waiting for the reply Praveen Saini
can we run the scripts of QTP8.2 in QTP7.0?
Can anybody help me for vb script in qtp? give me examples for practice plz.
hi, In A Table there are some columns and dynamic rows and in each row in first column there is a link with name. upon clicking on that link it will show some details. write the vbscript to check that link without descriptive programming?
How to connect to a database?
How can we fill data in a text box without recording using object spy. Can you please provide the steps...
How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private
What is data driven testing in QTP?
What is a runtime datatable ?