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
How are actions and functions different in QTP?
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
How to execute a winrunner script in quicktest professional?
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);
Write a script to customize the test results in PDF and HTML format.
suppose in the middle of the project QTP will not work properly, then what do u do? and ur team?
Explain the use of action split in qtp?
Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....
How do you delete unwanted results in qtp?
Tell me about qtp?
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
Explain about the test fusion report of quicktest professional?
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????
Both static and dynamic arrays are handled by the vb script. Is it true?
what are all the fileds present in object repository?