what is framework and types of framework? Need of framework
in automation? write folder strucuture of framework.
Answers were Sorted based on User's Feedback
Answer / sandeep guttikonda
The word framework tell us it is am outline sketch or it a
planning we do before perfomring the task and also it
indicates what we do too.
Here in QTP frameworks are braodly divided into 4 types:
1) Linear Frmework
2) Action Framework or Modular Framework
3) Data Driven Framework
4) Keyword Driven Framework
Note: Any combination of above listed frameworks known as
Hybrid Framework.
Linear Framework: Here we prepare the script using record
and playback method.
Modular or Action Framework: Here we prepare the script
using Reusable Action. Here we have multiple action in role
play and follows Master Action and Sub actions (Reusable
actions) concept.
Data Driven Framework: Here we drive the script with the
help of data in the sheets.
Example: A login page having username and password and
login button.
We need to test the whether the members of the page are
successfully logging in or not into the page.
Hence here we right the script in one action and test with
multiple test data driving from the sheets.
Keyword Driven Framework: Here we prepare the script by
using the functions and drive the script with the keywords
(function Names).
Hybrid Framework: Most in End to end scenario cases (
System Integration Testing) we will go for Hybrid Framework.
Need For framework is as said above it help for easy
development and maintenance. It also helps for the
continuity of the work (development, BCP).
Folder Structure: This also come under one of the activity
in framework other are like proper naming conventions,
giving comment to the code, Documenting the important
things etc.
Actually we will have a clear floder structre in Quality
Center under Test Plan: Like..
1) Reusable Actions
2) Test Data
3) Recovery Scenarios
4) Functions
5) Master Action
6) Deleted Files
7) Test Log
If you need amy further info, please let me know.
Thanks.
Regards,
Sandeep Guttikonda.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / qa guy
Framework is a set of assumptions,concepts to support
software test automation. There are many frameworks like
Data Driven, Keyword Driven, Hybrid etc.
Need for a framework is for ease of development and maintenance.
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / k.nagapawan
i giving idea, it is floder archieture,
folder divided into
sql for folder
testcase for one folder
vbscript one folder.....
Is This Answer Correct ? | 0 Yes | 7 No |
What is CMMP and CMMH?
What is action required by QTP if a popup message is coming in exsisting script and now it is not coming. The script is having code to deal with popup message now when we run the script now the popup i snot coming according to new build, instead of changing the code what we can do?
I'm quite new at QTP. Im doing a web-based app testing. I create something new item and a new link is created in the home page. This link is dynamic as it changes every 3 seconds. Obviously the new link is not in my Object Repo and I am trying to find a way how can I do a check or get the propery of the link I created. I can do it on keyword, but I need to do a check on expert mode, vbscript. I always get an error that is not identified whenever i try to check it (browser(b),page(p).link(newlink). Any idea?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
How do you invoke an application using the step generator in qtp?
i don't have any experience in qtp? Can u please tell me What work i have to do?
Explain about the Test Fusion Report of QTP ?
HOW CAN WE GET THE VALUE OF TEXT BOX IN QTP? can you give me sample script for this where there is some condition. like if "text" THEN msgbox() else endif
what is object spy
object types is used for what?
In what occasion we can specify global sheet and action sheet?
Which MS Excel formulas are possible to use in the DataTable? I am searching a formula for searching a field in the datatable