Sunday, April 19, 2015

Automation Framework - QTP

- Automation framework is nothing but the procedure and
overall structure u followed for using automation tools. U
say next time we folloewed and Hybrid automation frame work
Wher we need to
1. split the functionality into simle reusable tests
2.All reusable functions r stored in Libraries folder
3.some test scripts r together forms a test suite so
preparing test suites
4.The required test data is saved in one Data Folder
for data driven test
5.Data driver engine wiil get this data and passes to
the Test and whenever it is needed it calls required
functions from library and continues the test
6. Where the result has been stored The result
directory.


What r the naming conventions used for test
scripts,variables, constants, how will u conduct validation
without using check points.

This overall strategy is called test frame.

If u want to escape from the interviver u say It's part of
our test manager who designs or selects frame work for us.
It's ovrerall strategy which u wiil use throught the
automation test



A test automation framework is a set of assumptions,
concepts, and practices that provide support for automated
software testing.

There is no hard and fast rule to use a specific Automation
frame work. It all depends on your project needs, here are
some info on the same.

Data Driven approach is suitable for applications that have
limited functionality but large number of variations in
terms of test data.

Functional Framework is suitable for applications that have
variety of functionality but limited variations in terms of
test data.

Hybrid Test Automation Framework is suitable for
applications that have variety of functionality and larger
number of variations in terms of test data.

Record, enhance and play back methodology is suitable to
convert small to medium size manual scripts into equivalent
automation scripts - one to one basis.

http://www.ibm.com/developerworks/rational/library/591.html#N10223

http://groups.yahoo.com/group/EMOS_framework/

- 7/5/2015: webex training notes:


-          Framework – are set of standards that testers need to follow while writing the scripts

-          Keyword Driven – Looks similar to Test Case. No much coding. But very difficult framework.




-          DataDriven – Driver script will be there, really need to write code. Most of the projects will go with Data Driven or Hybrid.




-          Hybrid:





Ref: http://www.allinterview.com/showanswers/3142/what-is-automation-testing-framework.html


Difference between Data Driven and Keyword driven:

- Data driven -- web elements are stored in excel and are called during execution
  Keyword driven -- Here Business components are called during execution. Business components will have one more methods tagged to it.

Ex: Business component: Validate invalid Credit card transaction
This business component could have two methods - one for login and other one is for credit card transaction validation.

Test case will make us of multiple business components, like here:

TC1 - BC1, BC2, BC4
TC2 - BC1, BC3


No comments:

Post a Comment