Hello Guys,
Can anybody Explain me about Automation framework?? and how
can we prepareAutomation Framework using QTP

Answer Posted / venkateshwarlu

hi
i like to give answer for keyword driven framework,

first we have to create a folder with project name then
create folders for testscripts fldr to save .mts
files,objectrepository fldr to save .tsr files, libraryfile
fldr to save .qlf or .vbs or .txt files,recover scenarios
fldr to save .qrs file, enviroment fldr to save .ini
or .xml files, testresults flder to save .txt, testdata
fldr to save .xls file.

then, we create script which is to be executed according to
keywords as fallows.

for ex:

var=datatable.value("Keywords", id)
select case var
case k1:

login()
openorder()
logout()

case k2:
login()
deleteorder()
logout()
...........

end select

specify the keywords in the datatable under the
corresponding column

then execute the script
and analyse the result

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are actions and functions different in QTP?

658


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1253


How to execute a winrunner script in quicktest professional?

556


What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);

3494


Write a script to customize the test results in PDF and HTML format.

2086






suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?

1328


Explain the use of action split in qtp?

567


Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1428


How do you delete unwanted results in qtp?

604


Tell me about qtp?

540


I used child objects to get the no of weblist present in the weblist.now i need to select the items present in each weblist ?How to do so

2256


Explain about the test fusion report of quicktest professional?

534


I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????

2157


Both static and dynamic arrays are handled by the vb script. Is it true?

565


what are all the fileds present in object repository?

1564