Prepare for your Next Interview
This is a discussion on key word frame work within the Testing Frameworks forums, part of the Software Testing category; what is the key word frame work? which folders r there...
|
|||
|
Hi Ramesh,
A key-word driven approach or framework is where functions or user actions are mapped to Normal english keywords. This makes the automation framework easier to understand for a layman and also facilitates Manual testers to work with Automation with ease. Let me take a small example in QTP and enumerate the same. For instance we wish to Input Username, password and click on the login button. Under scripting, the code would be somewhat like - Browser("InternetExplorer").page("Login").WebEdit("Username").setText "abcd" Browser("InternetExplorer").page("Login").WebEdit("Password").setText "abcd" Browser("InternetExplorer").page("Login").WebButton("Submit").click But in a keyword approach each of these object actions can be mapped to Individual keywords. Of course you would have to code that out. The code for the same would be somewhat like this - Lanuchsite URL InputText "abcd" InputText "abcd" Login Each of the above keyword would accept the ObjectName as paramter and would also accept the input string value as a parameter. Check out this URL for more info - http:// safsdev . sourceforge . net/FRAMESDataDrivenTestAutomationFrameworks . htm |
| The Following User Says Thank You to bizzzzzare For This Useful Post: | ||
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Frame Work | sutnarcha | Testing Frameworks | 13 | 12-27-2007 02:32 AM |
| How Struts frame work will develop integration logic automatically? | Geek_Guest | Java | 2 | 09-10-2007 12:00 PM |
| Replace a word in a string with given word | naggeek | Java | 1 | 07-22-2007 05:10 AM |
| Main frame | ambika shanmugam | MainFrame | 1 | 04-11-2007 09:48 AM |
| SILK Automation Frame work | pkrvitta | SilkTest | 2 | 03-23-2007 02:50 AM |