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
Explain how to use QTP to check broken links on a page?
tell me QTP standards ?plz
what could go wrong with test automation?
what are the challenges you have faced while testing web based application using the automation tools ?
can u please explain what is the exact difference between qtp8.2 and 9.0
What is the purpose of loading qtp add-ins?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Whats the realtime QTP testing process
How will you test a keyboard?
write script for bitmap image?
How will you handle java tree in qtp?
Explain about Test Fusion Report of QTP?
I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }
What is CMMP and CMMH?
What are the trigger events in qtp?