Could you please explain me about QTP framework.
Answers were Sorted based on User's Feedback
Answer / giri
frameworks are set of defined rules for automating a test
process.it could be said as automation test approach
LINEAR FRAMEWORK – recording,enhancement,playback. here u
create scenarios, do recording based on
scenarios,enhancement is done for verifications, and
playback for execution
DATA DRIVEN – here an external database is maintained for
passing values to the actions in qtp. values are compeletly
passed only through this data sets.
KEYWORD DRIVEN – using the manually entered table tht
defines test object, operation, data and description , VB
scripts are automatically generated by QTP.
DESCRIPTIVE PROGRAMMING – it is the concept of execution of
scripts without the reference of object
DIALOG(“CLASS = DIALOG”,”CAPTION = Login”).Winbutton(“class
= Button”,”Text = OK”).Click
FUNCTIONAL/MODULAR – here the actions are declared as user
defined functions.these functions are called wherever
needed.
HYBRID FRAMEWORK – mix of any of the above framework are
classified as hybrid.depending on complexity of the
application, mixes are chosen.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / mahaboob
Automation frame work is nothing but the Automation planing
for the project.
It is used for develope the automation project in a beter
way.
In automation framework we can consider the following
things.
-what functionalitys to be automated
-what approach to be followed
-what levels we have to use in order to develope the
applicatins.
-what naming conventions to be followed
-where to store test scripts
-calling the scripts using the (test batch runner or
actions)
-derectory structure of automation
-where to store the test results
Automation framework contains the set of
guidelines ,codingstandars and naming conventions,set of
assumptions, used for develope the automation project.
| Is This Answer Correct ? | 0 Yes | 0 No |
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
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment
How to add synchronisation points in qtp?
What is the difference between functions and actions in QTP?
How can we use regular expressions for a table in web page, each cell in table having unique identification, Now I want to count number of rows in table and enter data in all cells of the table?
Can we put more than one action in a single script???? yes or no.....
Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results.
What is the difference between client server application and web based application?
How to change the run-time value of a property for an object in QTP?
How to get line numbers in your editor in expert view?
How can we record an edit box in the Web application ?
What are all the common questions asked for the candidates having more than 1 yrs exp in QTP?