what is framework? which frame work u follow for writting
script?
Answers were Sorted based on User's Feedback
Answer / kumar
Framework....it is the model or structure we follow for a
project. It is the approach that we follow to automate the
project. There are so many types of framework in QTP.
1. Datadriven frame work
2. Keyword driven frame work
3. Module driven framework
4. Hybrid driven frame work
The framework you choose, depends on the model of your
project. Usually most of projects fall under hybrid driven
frame work.
Datadriven framework: Here we divide the entire project in
to modules and start automation by writing datadriven
scripting for each one of them. We will have test data
either in excel sheet or flat files or from database...we
will pass that test data in to the script and perform data
driven testing.
Keyword driven framework:
Firstly we should add the objects to repository( Shared
repository is preferable)
Then we can generate/write scripts for each functionality
and save them as the library files ( .vbs files)
Then we have to associate all these library files(which are
generated to test different funtionalities) to Quick Test.
For example consider Flight application
we can generate library files for
login()
open order()
fax order()
delete order()
update order()
logout() etc..,
select case k = datatable.value("keys",1)
case A : login()
case B : open order()
case C : fax order()
case D : delete order()
case E : update order()
case F : logout()
end case
Module driven frame work: we will divide entire project in
to modules and write functions or procedures for each and
every module and automate the project.
Hybrid driven framework: it is combination of Datadriven
and module driven framework.
Hope this clarifys your query...
Kumar.
Kumar.rnv@gmail.com
Broadridge
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / natarajan
A test automation framework is a set of assumptions,
concepts, and pratices that provided support for automated
software testing.
In our company we follows hybrid model framework.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / siva
Frame work : Frame work is a set of guidelines given by
experts to accomplish the task in a systematic manner.
There are 4 types of frame works:
1. Linear / Decomposition / Modular frame work
2. Keyword driven frame work.
3. Datadriven frame work.
4. Hybrid frame work.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ramesh
Hi If that explanation is right, then is is toooooooo good
Excellent kumar
| Is This Answer Correct ? | 0 Yes | 0 No |
why the smart identification is not there in WinRunner
When ‘option explicit’ keyword is used in qtp?
hi guys this is Keerthi, I am searching for job,so I want to know which questions are intervier asking on QTP&MANUAL&QUALITY CENTER,can u send Any one questions&Answers to my id:chinna.ammi@yahoo.co.in
Hi Friends, How to trap an error message on Web page through QTP. Example:- When I put wrong user id or Password on a web page, I get the error message. So when I add the error object in Reposatory, every time it shows as Login Failed Object exist, eventhough using corret login details. And if I do the same without adding the object it shows as object not found. This might be because while recording QTP takes every new page as _1 _2 _3 and so on. as below. Browser("XXXXX").Page("XXXXX_1"). >>login Browser("XXXXX").Page("XXXXX_2"). >>Inbox Browser("XXXXX").Page("XXXXX_3"). >>Sent Items I used below code. Browser("XXXXX").Page("XXXXX").WebEdit("firstname").Set strFN Browser("XXXXX").Page("XXXXX").WebEdit("lastname").Set strLN Browser("XXXXX").Page("XXXXX").WebEdit("userid").Set strUserID Browser("XXXXX").Page("XXXXX").WebEdit("password").Set strPass Browser("XXXXX").Page("XXXXX").WebButton("Login >").Click If Browser("XXXXX").Page("XXXXX_2").Image ("msg_icon_error").Exist 5 Then Reporter.ReportEvent micFail, "XXXXX", "Login Failed!" ExitRun (It shows login failed ever after login is passed. Else Reporter.ReportEvent micPass, "XXXXX", "Login Successful!" End If Please find out a way for me here, and provide me with the correct code. Thanks in Advance.
what is syncurnisation point? what is the use of this in real time environment? plz explain?
What is the use of Regular expression?
What is API?
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
How to record application running on the Virtual machine?
How can i use Ordinal identifiers and Smart identification methods suppose i want to know the index no of check box
What is the meaning Work bench?
In QTP 8.2 there are lot of check points is this same in latest version QTP 9.5 ?