Hello Guys,
Can anybody Explain me about Automation framework?? and how
can we prepareAutomation Framework using QTP
Answers were Sorted based on User's Feedback
Hi,
This is very simple,
Generally we go 4 Keyword driven automation framework in QTP
For this just we need 2 create 4 files.
1.First record what ever u want and remove that script and
paste in to a note pad and make that file as a libraray
file with .vbs extension.
2. Create a recovery scenario file which u r exepceting the
exceptions with .qrs extension.
3. Create an Object Repository file with .tsr extension.
4. Create a data table file with .xls extension.
5. Combine all the above 4 files together.
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / 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 |
Answer / prasad reddy
hi,
A frame work is an assumption and it is used to reduce the
maintenance of automation scripts.and the frame work concept
may various from application to application and it all
depends on the standards what we maintain. We have many
types of frame works but in general we have mainly 4 types
of frame works
1)Key word driven
2)Data Driven
3)Modular Driven
4)BPT(Business process Testing) which requires special
license in QC
In key word driven frame work is more or like maual test
case i mean in this we are creating keyword and we are using
the same in the Xl sheet and we are running this sheet only.
When the flow of the application is constant and we need to
test the application with different test data by that time
we are using this frame work
Modular driven frame work which is most popular frame work
and 99% success on in the automation and it is combination
of both Data Driven and Keyword driven .Here we are creating
all the common functions and application specific functions
by using this two types of functions we are converting the
manual test case in to the automation scripts and importing
the test data from the XL sheet by using the datatable
methods and .
By using the BPT frame all the people can easily test the
application i mean BA'A QA's Automation engineers here we
have drag and drop the particular screen in the application
and we can test it.
Thanks,
Prasad
if u have any doubts pls mail me
reddy.prasad05@gmail.com
Is This Answer Correct ? | 1 Yes | 1 No |
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
0 Answers Autodesk, EDS, Wipro,
By using QTP can we record any log files written by the application which is in execution?
How can i click on any Excel sheet's "H" column with out writing coordinates Ex:Window("Book1").WinObject("Book1").Click 498,14 I dont want to give coordinates like 498,14 Can i open "H" column by writing like Ex:Window("Book1").WinObject("Book1").Click "H" or Ex:Window("Book1").WinObject("Book1").Click "H","1" or Ex:Window("Book1").WinObject("Book1").Click H,1 If i want to click on "Sheet3" of an excel sheet, Can i open like Ex:Window("Book1").WinObject("Book1").Click "Sheet3" Please help me any one
There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.
in one page we have 100 links i have to click the 99th link how can i click the 99th link.
4 Answers GK Technologies, IBM,
Difference between image checkpoint and bitmap checkpoint
can i able to connect any version of qtp to any version qc
What is an Regular expression doing in VBScript?Tell the pattern for the email verification.
what is the difference between IE & Netscape in web testing on a log in page
There is one login screen,after accepting valid username and apassword, it will show the next screen. In the 2nd screen u r having 2 combo boxes, U have to select any item from these, and click OK button. After closing that, it will show the 3rd screen. If u click CANCEL button from 2nd screen it will show the first screen. Write QTP script for it???
Please any on explain usage of "on error resume next","On error goto 0" with sample code....Thankyou......... when a tester is asked to execute 100 scripts in a short time..(the server will be down in another 10 min)..how he has to run those scripts?
What is the meaning Work bench?