Prepare for your Next Interview
This is a discussion on Automation Framework within the Testing Frameworks forums, part of the Software Testing category; Hi What is meant by Testing Framework...
|
|||
|
Automation Framework
Hi
What is meant by Testing Framework |
| The Following 2 Users Say Thank You to subhashini.lutimath For This Useful Post: | ||
| Sponsored Links |
|
|||
|
Re: Automation Framework
Testing framework is a set of assumptions ,concepts and practice that provide support for testing
|
| The Following 3 Users Say Thank You to sathish9274 For This Useful Post: | ||
|
|||
|
Testing Framework is something like a frame work designed according to our requirement. For example. you want to test one application for UI, FUNCTIONAL and LOCALIZATION. for this requirement you can have your own frame work...
1) for UI testing: identify what to test assume that font, size, color... 2)Functional: whether the button is working properly example login. 3)test for diff languages at a time. Frame Work: 1)write all your functional library for UI at one place. 2)write down all functional library methods in own file. 3)have complete list of strings what are neccessary for localization at one place assume that a excel sheet. 4)using the resources are XML now you can import them and write your script by record and play back or using descriptive programming. 5)finally test your application. if any comments on this we ll be grateful to you. regards, qtptester. |
|
|||
|
Re: Automation Framework
Hi Qtptester,
Thanks for your valuable answer. Can you drill down bit more to ease of understanding. Well I have one more query "What is difference between KeyWord driven and datadriven testing in automation?" |
| The Following 3 Users Say Thank You to sps1232 For This Useful Post: | ||
|
|||
|
Re: Automation Framework
Hi
Framework is nothing but a standard approach which the entire Team follows in the course of a Project. This includes Folder structures, Naming conventions, File paths, Common Functions, etc |
| The Following User Says Thank You to debleena23 For This Useful Post: | ||
|
|||
|
Quote:
I am also new to QTP Tester. This QTP forum and google . com only taught me the answer for your doubt. So I will tell you what I know about this .Hoping you friends will help me if I am wrong. Keyword Driven Framework It's an application independent Automation Framework This Framework will have following components: 1) Data tables /Excel Sheets containing Keywords, Object Names and Object Values. This is the only component which is application dependent. Keywords are the words that we used to represent the test case. For example VerifyEditbox. This can be used to represent the test case: Verify whether the Edit box is accepting the entered text. 2) Test Driver. This contains the scripts to drive the test. Usually it will contain the code for taking keywords one by one from the data table and call respective subroutines for each keyword using the Switch case statement. 3) Common Function Library. This contains all the common functions that are needed to test any application. Data Driven Framework It's an application specific Automation Framework. These scripts can be recorded or written manually and modify it by replacing input values with variables. Input values can be written in Data table / Excel sheet. Test Driver in this case contains the scripts to drive the application with external data written in Data tables / Excel Sheet. |
|
|||
|
Framework provides you a platform on which you can build your test. In terms of testing automation - Framework contains all the necessary functions, reusable functions, object repositary, Data repositary etc. along with path, process containing Folder structures, application path , Basic and advance setting to execute the project, method to log the bugs/Defects etc..
Overall when testing team works to automate the project, they should not worry about how prerequisites will be maintained, they just start to write the test. This is a brief expalination about framework. I hope this explaination will give all of us clear picture How framwork is and how it works? From Swapnil swapnil.sahu10@yahoo.co.in |
|
|||
|
Re: Automation Framework
Frame work actually means the process which we follow to do the Testing like mostly while Automating a Testing process
There are 4 types of frame works in QTP 1.linear frame work Modular frame work 3.Keyword driven frame work 4.Hybrid frame work |
|
|||
|
Re: Automation Framework
Thanks for the defination. But i would like to know this with an example. Like, for a web based application what is frame work.
|
|
|||
|
Re: Automation Framework
qtp automation framework
1. Linear framework this is normal process like recording or scripting the program and executing it. This is not reusable, once execuiting these script. 2. Modular framework this is different from liner frame work, here recording or scripting the program and those script split into actions and make those actions as reusable actions. These reusable actions can use any where in the test. 3. Keyword driven automation frameworkqtp supports to keyword driven automation framework. In keyword driven automation framework first we are going to create a folder on that project name, then create six subfolders within that folder like repository, library files, recovery file, test data, main test, test log file. here repository folder is used for save the objects of the application. First learn all the objects by using object repository and then export all the objects to repository folder by giving .tsr extension (test shared repository). This file associate to repository manager, navigation is object repository ----à associate repository then click + tab and browse the file from repository folder library file folder is used for save functions, which is created by the user. Suppose take one login window and create a function, first open notepad and create function as per your required. public function login( ) dialog (“login”).activate dialog (“login”).winedit (“agent name”).set”baba” dialog (“login”).winedit (“password”).set secure”xxxxxxxx” dialog (“login”).winbutton(“ok”).click end function ( ) then save with .vbs extension in to the library file folder. after that associate this function to qtp library files. The navigation is test setting----->resources then click + tab and browse the function. In this manner create no of functions as per required and associate all the functions to qtp.suppose some example insert order ( ), logout ( ), update order( ). recovery file folder is used for save recovery scenarios which is created by the user. Create recovery scenarios and save those recovery scenarios with .qrs extension with recovery file folder. After that associate those recovery scenarios to qtp.navigation is test setting---àrecovery then click +tab and browse the file. test data folder is used for save input data. Suppose through flat file method, open the notepad and give input data and save with .txt extension in test data folder. |
| The Following User Says Thank You to srinii_vasu For This Useful Post: | ||
|
|||
|
Re: Automation Framework
Could someone please send me format/sample Automation Test framework document for data driven testing , iam new to Automation and i was given task to devlop it .any help will be very much appreciated.
thanks in advance.. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| When will testers go for automation | praveen98480 | Test Cases | 19 | 05-11-2007 10:05 AM |
| Automation through WinRunner | abhaybharti | WinRunner | 3 | 04-30-2007 12:22 AM |
| Explain about .NET Framework Class Library | GeekAdmin | VB.NET | 0 | 05-17-2006 10:47 PM |
| What is .NET Framework Architecture | GeekAdmin | VB.NET | 0 | 05-16-2006 11:30 AM |