Knowledge

Keyword-driven testing

Source đź“ť

212:. Designing tests, instead, is an iterative process. You can start designing tests before any system implementation by basing the test design on use case specifications, requirements, prototypes, and so on. As the system becomes more clearly specified, and you have builds of the system to work with, you can elaborate on the details of the design. The activity of designing tests answers the question, “How am I going to perform the testing?” A complete test design informs readers about what actions need to be taken with the system and what behaviors and characteristics they should expect to observe if the system is functioning properly. 410: 304: 46: – including both the data and functionality to use – from the prescription of the way the test cases are executed. As a result, it separates the test creation process into two distinct stages: a design and development stage, and an execution stage. The design substage covers the 92:
Keyword-driven testing syntax lists test cases (data and action words) using a table format (see example below). The first column (column A) holds the keyword, Enter Client, which is the functionality being tested. Then the remaining columns, B-E, contain the data needed to execute the keyword: Name,
180:
Keyword-driven testing reduces the sensitivity to maintenance caused by changes in the System/Software Under Test (SUT). If screen layouts change or the system is migrated to another OS hardly any changes have to be made to the test cases: the changes will be made to the keyword documentation, one
260:
The test is a key step in any process of development and shall to apply a series of tests or checks to an object (system / SW test — SUT). Always remembering that the test can only show the presence of errors, not their absence. In the RT system test, it is not sufficient to check whether the SUT
196:
Furthermore, this approach is an open and extensible framework that unites all the tools, assets, and data both related to and produced by the testing effort. Under this single framework, all participants in the testing effort can define and refine the quality goals they are working toward. It is
281:
the test automation. Keywords, such as “edit” or “check” are created using tools in which the necessary code has already been written. This removes the necessity for extra engineers in the test process, because the implementation for the keywords is already a part of the tool. Examples include
200:
Testing is the feedback mechanism in the software development process. It tells you where corrections need to be made to stay on course at any given iteration of a development effort. It also tells you about the current quality of the system being developed. The activity of implementing tests
261:
produces the correct outputs. It must also verify that the time taken to produce that output is as expected. Furthermore, the timing of these outputs may also depend on the timing of the inputs. In turn, the timing of future inputs applicable is determined from the outputs.
269:
The implementation stage differs depending on the tool or framework. Often, automation engineers implement a framework that provides keywords like “check” and “enter”. Testers or test designers (who do not need to know how to program) write
151:
To enter another client, the tester would create another row in the table with Enter Client as the keyword and the new client's data in the following columns. There is no need to relist all the actions included.
184:
Also, due to the very detailed description of the way of executing the keyword (in the keyword documentation) the test can be performed by almost anyone. Thus keyword-driven testing can be used for both
257:
A Keyword or Action Word is a defined combination of actions on a test object which describes how test lines must be executed. An action word contains arguments and is defined by a test analyst.
274:
based on the keywords defined in the planning stage that have been implemented by the engineers. The test is executed using a driver that reads the keywords and executes the corresponding code.
197:
where the team defines the plan it will implement to meet those goals. And, most importantly, it provides the entire team with one place to go to determine the state of the system at any time.
172:
Given the iterative nature of software development, the test design is typically more abstract (less specific) than a manual implementation of a test, but it can easily evolve into one.
205: 201:
involves the design and development of reusable test scripts that implement the test case. After the implementation, it can be associated with the test case.
209: 277:
Other methodologies use an all-in-one implementation stage. Instead of separating the tasks of test design and test engineering, the test design
585: 283: 66:
is defined as the set of actions that must be executed to enter a new client in the database. Its keyword documentation would contain:
181:
document for every keyword, no matter how many times the keyword is used in test cases, and it implies a deep process of test design.
517: 215:
A test design is different from the design work that should be done in determining how to build your test implementation.
245:
Automation of test execution: creation of automated script that perform actions according to the keyword documentation.
453: 347: 435: 329: 159:
Indicating the high-level steps needed to interact with the application and the system in order to perform the test.
580: 420: 314: 233:
Test data definition: on the basis of the defined own model, start keyword and main/complement data definition.
242:
Manual test execution: manual execution of the test cases using keyword documentation as execution guideline.
546:
Mandurrino, José L. (July 2014). "Gestione e approccio alla validazione in sistemi RT (Real-Time)". UTIU.
596: 616: 489: 287: 204:
Implementation is different in every testing project. In one project, you might decide to build both
390:
Keyword implementation requires stronger tool/programming skill - with relatively lower domain skill
58:
This methodology uses keywords (or action words) to symbolize a functionality to be tested, such as
494: 431: 325: 427: 321: 230:
Test model definition: on the result of requirements assessment, approach an own software model.
602:
Automation Framework - gFast: generic Framework for Automated Software Testing - QTP Framework
564: 601: 223:
The keyword-driven testing methodology divides test process execution into several stages:
47: 8: 484: 387:
Test case construction needs stronger domain expertise - lesser tool / programming skills
88:
an assertion about what the state of the SUT should be after completion of the actions
551: 190: 39: 31: 239:
Test design: analysis of test basis, test case/procedure design, test data design.
468: 186: 35: 610: 82:
the actions to perform in case additional dialogs pop up (like confirmations)
162:
Indicating how to validate and certify the features are working properly.
271: 43: 438:. Statements consisting only of original research should be removed. 332:. Statements consisting only of original research should be removed. 50:
and assessment and the data analysis, definition, and population.
591: 227:
Model basis/prototyping: analysis and assessment of requirements.
76:
the keys or mouse clicks to get to the correct data entry window
471:(as compared to manual testing or record and replay technique) 79:
the names of the fields to find and which arguments to enter
381:
Not dependent on a specific tool or programming language
373:
New test cases can reuse existing keywords more easily
264: 511: 509: 70:the starting state of the system under test (SUT) 608: 541: 539: 168:Specifying the acceptance criteria for the test. 506: 536: 42:. This method separates the documentation of 592:SAFS (Software Automation Framework Support) 367:Test cases are readable for the stakeholders 586:Success Factors for Keyword Driven Testing 545: 165:Specifying the preconditions for the test. 155:In it, you can design your test cases by: 454:Learn how and when to remove this message 378:Keyword re-use across multiple test cases 348:Learn how and when to remove this message 474:Moderately high learning curve initially 236:Test preparation: intake test basis etc. 609: 515: 403: 361:Maintenance is low in the long run: 297: 13: 516:Faught, Danny R. (November 2004). 14: 628: 574: 408: 302: 265:Automation of the test execution 73:the window or menu to start from 524:. Software Quality Engineering 218: 34:methodology suitable for both 1: 500: 370:Test cases are easy to modify 252: 175: 85:the button to click to submit 93:Address, Postcode and City. 16:Software testing methodology 7: 478: 434:the claims made and adding 328:the claims made and adding 53: 10: 633: 597:Test automation frameworks 490:Test Automation Framework 248:Automated test execution. 26:(not to be confused with 24:action word based testing 518:"Keyword-Driven Testing" 495:Test-Driven Development 399: 293: 364:Test cases are concise 206:automated test scripts 20:Keyword-driven testing 395:Abstraction of Layers 28:action driven testing 581:Action based testing 48:requirement analysis 485:Data-driven testing 210:manual test scripts 419:possibly contains 384:Division of Labor 313:possibly contains 588:, by Hans Buwalda 559:Missing or empty 464: 463: 456: 421:original research 358: 357: 350: 315:original research 191:automated testing 149: 148: 40:automated testing 624: 617:Software testing 569: 568: 562: 557: 555: 547: 543: 534: 533: 531: 529: 513: 459: 452: 448: 445: 439: 436:inline citations 412: 411: 404: 353: 346: 342: 339: 333: 330:inline citations 306: 305: 298: 96: 95: 32:software testing 22:, also known as 632: 631: 627: 626: 625: 623: 622: 621: 607: 606: 577: 572: 560: 558: 549: 548: 544: 537: 527: 525: 514: 507: 503: 481: 460: 449: 443: 440: 425: 413: 409: 402: 354: 343: 337: 334: 319: 307: 303: 296: 267: 255: 221: 178: 56: 17: 12: 11: 5: 630: 620: 619: 605: 604: 599: 594: 589: 583: 576: 575:External links 573: 571: 570: 535: 504: 502: 499: 498: 497: 492: 487: 480: 477: 476: 475: 472: 469:time to market 462: 461: 444:September 2012 416: 414: 407: 401: 398: 397: 396: 393: 392: 391: 388: 382: 379: 376: 375: 374: 371: 368: 365: 356: 355: 338:September 2012 310: 308: 301: 295: 292: 266: 263: 254: 251: 250: 249: 246: 243: 240: 237: 234: 231: 228: 220: 217: 187:manual testing 177: 174: 170: 169: 166: 163: 160: 147: 146: 143: 140: 139:6 High Street 137: 134: 130: 129: 126: 123: 120: 117: 113: 112: 109: 106: 103: 100: 90: 89: 86: 83: 80: 77: 74: 71: 62:. The keyword 55: 52: 15: 9: 6: 4: 3: 2: 629: 618: 615: 614: 612: 603: 600: 598: 595: 593: 590: 587: 584: 582: 579: 578: 566: 553: 542: 540: 528:September 12, 523: 519: 512: 510: 505: 496: 493: 491: 488: 486: 483: 482: 473: 470: 466: 465: 458: 455: 447: 437: 433: 429: 423: 422: 417:This section 415: 406: 405: 394: 389: 386: 385: 383: 380: 377: 372: 369: 366: 363: 362: 360: 359: 352: 349: 341: 331: 327: 323: 317: 316: 311:This section 309: 300: 299: 291: 289: 285: 280: 275: 273: 262: 258: 247: 244: 241: 238: 235: 232: 229: 226: 225: 224: 216: 213: 211: 207: 202: 198: 194: 192: 188: 182: 173: 167: 164: 161: 158: 157: 156: 153: 144: 141: 138: 135: 133:Enter Client 132: 131: 127: 124: 121: 118: 115: 114: 110: 107: 104: 101: 98: 97: 94: 87: 84: 81: 78: 75: 72: 69: 68: 67: 65: 61: 51: 49: 45: 41: 37: 33: 29: 25: 21: 526:. Retrieved 522:Sticky Minds 521: 450: 441: 418: 344: 335: 312: 278: 276: 268: 259: 256: 222: 214: 203: 199: 195: 183: 179: 171: 154: 150: 91: 64:Enter Client 63: 60:Enter Client 59: 57: 27: 23: 19: 18: 219:Methodology 136:Jane Smith 561:|url= 501:References 428:improve it 322:improve it 272:test cases 253:Definition 176:Advantages 44:test cases 432:verifying 326:verifying 284:GUIdancer 142:SE25 6EP 125:Postcode 611:Category 552:cite web 479:See also 122:Address 54:Overview 30:), is a 467:Longer 426:Please 320:Please 145:London 36:manual 128:City 119:Name 565:help 530:2012 400:Cons 294:Pros 286:and 208:and 189:and 38:and 430:by 324:by 288:QTP 613:: 556:: 554:}} 550:{{ 538:^ 520:. 508:^ 290:. 279:is 193:. 116:. 111:E 108:D 105:C 102:B 99:A 567:) 563:( 532:. 457:) 451:( 446:) 442:( 424:. 351:) 345:( 340:) 336:( 318:.

Index

software testing
manual
automated testing
test cases
requirement analysis
manual testing
automated testing
automated test scripts
manual test scripts
test cases
GUIdancer
QTP
original research
improve it
verifying
inline citations
Learn how and when to remove this message
original research
improve it
verifying
inline citations
Learn how and when to remove this message
time to market
Data-driven testing
Test Automation Framework
Test-Driven Development


"Keyword-Driven Testing"

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑