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



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

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

More QTP Interview Questions

An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

0 Answers   HCL,


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, as i'm not in a possition to afford any 'Fee' to join in any institutions. Hence, if possible, kinldy mail PDF file to my mail-ID: chakri_avala@yahoo.co.in Regards, Chakradhar Yadav.

95 Answers   Cap Gemini, Citrix, CTS, IBM, Logistics, QA InfoTech,


While creating Recovery Scenario for Pop-up window..In 'Recovery operation' we have to call a function. Can u tell me that function.

4 Answers   Alcatel-Lucent, Ordain Solutions,


write string reverse prog using vb script with out using string reverse statement();

4 Answers  


In QTP how to interact tool and application build?

2 Answers  






suppose u hav a 10 dialog or window opened on screen with same name & value. now how to test each window? i.e. how qtp indetifies these objects separately?

7 Answers   Wipro,


WHAT IS ENVIRONMENT VARIABLES?

6 Answers   Ordain Solutions,


What is the process of synchronizing qtp and aut?

0 Answers  


What does VBS file contain..? what is VBS file.?

4 Answers  


Hi Currently am using Qtp 10.0 Lisenced product.. but when am adding objects to object repository from google page it was identifying as windows objects.. please help me!!!

3 Answers  


Is it possible to test Flat file using QTP? I have two file- first file is Input file and second file is output file. Input file has Format like first 2 field is record type, next 10 field is Description. Output file also has format. I want to check this file format using QTP. Is it possible?? please reply with example.

2 Answers   Wipro,


Hi Everybody, Can anybody please tell me the how to display the result of the QTP in the notepad text file rather than in the QTP result window. Suppose this is my simple script:WHich will open the notepad file and enter some text and then will change the font then will calculate how much time has been taken.Now, in this script i want to display the result in notepad file. Dim s Dim starttimer,endtimer,timeit s="uyetuywqtywqte" SystemUtil.Run "notepad","","Y:\","" Window("Notepad").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp Window("Notepad").Dialog("Save As").WinEdit("File name:").Set "test1" Window("Notepad").Dialog("Save As").WinEdit("File name:").Type micReturn Window("Notepad_3").Type s Window("Notepad_3").WinEditor("Edit").Type micCtrlDwn + "s" + micCtrlUp starttimer=timer Window("Notepad_3").WinMenu("Menu").Select "Format;Font..." Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Type "cou" + micDwn Window("Notepad_3").Dialog("Font").WinComboBox ("Font:").Select "Courier" Window("Notepad_3").Dialog("Font").WinEdit ("Font:").Set "Courier" Window("Notepad_3").Dialog("Font").WinEdit("Font:").Type micReturn endtimer=timer timeit=endtimer-starttimer print(timeit) Please also tell me where the function for the text file result will be declared and where it should be called. Thanks, Gaytri

2 Answers  


Categories