what is meant by keyword driven frame work can any one
answer plzzzzzzzzzzz

Answer Posted / raju

Keyword Driven Framework....

If we want to test various functionalities at a time we
prefer this framework...

Firstly we should add the objects to repository( Shared
repository is preferable)

Then we can generate/write scripts for each functionality
and save them as the library files ( .vbs files)

Then we have to associate all these library files(which are
generated to test different funtionalities) to Quick Test.

For example consider Flight application

we can generate library files for
login()
open order()
fax order()
delete order()
update order()
logout() etc..,


select case k = datatable.value("keys",1)

case A : login()
case B : open order()
case C : fax order()
case D : delete order()
case E : update order()
case F : logout()

end case


In datatable we have to add only those keys which we want
to test

Keys

A
B
C
F

It means that only login(),open order(),fax order() and
logout() libraries associated to test will be executed.

Depends on the keys provided in datatable we can
dynamically change which functionlities we want to test..

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

when u script reveiwing in which area u more concentrates?

1414


i can done the project with QTP in that time i can say how many members in my team size?

1366


How to create runtime property for an object?

1443


What are metrics and matrix?

1361


What environment does qtp run in?

614






how to test use the quality control .how to verify the image verification

2541


How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If

2565


www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example

1726


What is quicktest professional (qtp window?

589


How to upload excel files into Quality Center using QTP Script and how to delete excel files from Quality?

607


How do you perform Regreession Testing?

1458


How u will do versioning in QTP?

1449


Explain Descriptive Programming Types with Examples?

921


What is action? How many types of actions are there in qtp?

612


Explain the Different types of QTP test assets and their extensions?

602