Upcoming SlideShare
×

# Testers Desk Presentation

3,259
-1

Published on

0 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

• Be the first to like this

Views
Total Views
3,259
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
61
0
Likes
0
Embeds 0
No embeds

No notes for slide

### Testers Desk Presentation

1. 1. A Technical Presentation on TestersDesk.com The One-source Online Toolkit for Software Test Design and Test Data Generation.
2. 2. What is TestersDesk.com? <ul><li>You have 10000+ possibilities of executing a test with different combinations of values from its Test Parameters </li></ul><ul><li>You want 500 e-mail IDs to test something </li></ul><ul><li>You want to generate a 6 MB file with Alphanumeric characters as your test input </li></ul><ul><li>and such… </li></ul>TestersDesk.com provides Computer Aided Software Testing through an innovative Toolkit of System-independent tools and utilities that improve Test Productivity in small and big ways It targets &quot;Test Design Automation&quot; and is complementary to &quot;Test Execution Automation&quot; tools currently in use Imagine
3. 3. Some Questions <ul><li>Let us say there are 3 test inputs A, B and C. Let us further say that A has 2 critical classes of input values, B has 3, and C has 4 - How do you build/visualize the table of decisions that show all the combinations (2*3*4 = 24) in multiple rows? Manually prepare it in Excel? </li></ul><ul><li>Let us say your test can be configured with 5 test parameters that can be any of 10 different values each, and you have a total of 10 5 i.e., 1 million ways to run the test – while you use experience to identify the key tests, how do you get Test Coverage with reasonable acceptance? How do you reduce 1 million to a manageable number? </li></ul>
4. 4. Some more questions <ul><li>You want to generate a file of size 10mb with binary data in it, how do you create it? </li></ul><ul><li>Say you want some test data like 1000 real person names, 2000 fake e-mail ids in valid format, a few hundred timestamps in the date format and timezone you choose…what would you do? </li></ul>
5. 5. Certain testing activities are imposed on us by the technicalities
6. 6. TestersDesk.com tries to off-load a lot of them and enable testers to focus on the real testing activities
7. 7. The online toolkits <ul><li>Test Design Toolkit with tools to help software functionality test design activities </li></ul><ul><li>Test Data Generation Toolkit with tools to help software testers to help quickly prepare test inputs </li></ul><ul><li>Miscellaneous Toolkit with a collection of uncategorized tools </li></ul>
8. 8. Technical Features <ul><li>Rich Internet Application – uses AJAX and interoperable data formats such as CSV/XML </li></ul><ul><li>Completely online – Web based tools for easier access (keeping the test machines free from maintaining several tools) </li></ul><ul><li>Unicode support (input can be in any language, and so will the output be) </li></ul><ul><li>Requests can be made through screens as well as file-uploads </li></ul><ul><li>Output displayed inside the browser (which can be copied) and through downloadable files </li></ul>
9. 9. Description on each tool/feature in the toolkits
10. 10. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ Pairwise TestCase Generator
11. 11. The Situation Many test cases are influenced by multiple test parameters, each with several significantly different inputs (or equivalence classes). Typical problem arises when they have to be executed covering all possibilities/combinations.
13. 13. Benefit from TestersDesk.com Welcome to Pairwise Testing (if you are not already enjoying its virtues). We generate a very reduced number of Test Cases that cover all the two-way interactions between all the values of all the test parameters. Each value of each test parameter talks to each value of all other parameters at least once. Now, that's intelligent test design. The list produced by our tool, and the additional tests identified by your judgment/experience yield the maximum number of defects in the shortest possible time. For the example presented in the previous slide, we provide as little as 42 Test Cases that guarantee Pairwise Coverage. Check it out!
14. 14. Pairwise TestCase Generator test combinations can be reduced Value to Software Testers
15. 15. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ T-way TestCase Generator
16. 16. The Situation <ul><li>Extending the previous problem, in certain rare cases, one might want to not only cover 2-way interactions but also target 3-way interactions to gain more confidence, i.e., all combinations of three values of all the test parameters interacting at least once in the produced list of Test Cases. Research has shown that 50% to 90% interaction errors are found by Pairwise TestCase Generator itself, but in cases where there is an absolute need, the coverage strength can be increased to 3 (or 4 or 5) -way combinations of the Test Parameters. </li></ul>
17. 17. An Example <ul><li>In testing of a mission-critical Marine Control System that controls crew on the ship, communication devices etc, it may be desired to increase the Interaction Coverage from 2 to 3. This, of course, is in addition to judgment/experience based tests. </li></ul>
18. 18. Benefit from TestersDesk.com <ul><li>Much like the Pairwise TestCase Generator, the Test Parameters and their respective values are collected to generate a reduced set of Test Cases that guarantee Interaction Coverage of 3, 4 or 5 -way combinations. </li></ul>
19. 19. T-way TestCase Generator test combinations can be reduced with increased coverage Value to Software Testers
20. 20. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ N-way/Random TestCase Generator
21. 21. The Situation <ul><li>Test Coverage is a serious problem with the decisions to be made in executing a test. This has been conceptually solved by the Decision Table matrix formation technique that covers all the possibilities and lets testers mark the appropriate action for each decision set. The problem with this approach is that it tends to grow horizontally as the decisions and their options grow, making it infeasible to use it as part of the Test Case Documentation. Further more, manually prepared decision tables are tough to be fed into Test Automation tools like QTP, for example, and call for re-work. </li></ul>
22. 22. An Example <ul><li>Let us there is a business function &quot;Calculate Monthly Premium&quot; in a Health Insurance Application where there are three decisions that influence the outcome, namely, Person Age Group, Gender, and Health Index. Let us also say that Person Age Group can be one of G1, G2, G3 and G4. Gender can be male, female. And Health Index can be 1 to 10 (and each of them has a difference influence on the calculated premium). </li></ul><ul><li>Now let us say tests have to be prepared covering all the possibilities of sets of options chosen for the respective decisions. We are looking at 4 values of Person Age Group * 2 values of Gender * 10 values of Health Index, a total of 80 possibilities. It may not be very desirable to have 80 columns in a decision table. </li></ul>
23. 23. Benefit from TestersDesk.com <ul><li>Let us say that the following is given as input to TestersDesk.com's N-way TestCase Generator. </li></ul><ul><li>Person Age Group: G1, G2, G3, G4 Gender: male, female Health Index: 1,2,3,4,5,6,7,8,9,10 </li></ul><ul><li>A vertical matrix is created, each row representing a set of possibilities. So we have just 3 columns and 80 rows. This data can be pasted in a spreadsheet, and a 4th column can be added for the &quot;Expected Behavior&quot;. This way you have the Test Case Documentation done in an accelerated way. If a particular row has no significance, you can delete it. Try it out! Further more, such a table can be easily integrated into test automation scripts developed using data-driven approaches. </li></ul>
24. 24. N-way/Random TestCase Generator decision tables for test coverage can easily be generated Value to Software Testers
25. 25. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ N-way/Random TestCase Generator (with random option)
26. 26. The Situation <ul><li>Occasionally, there is a need to randomly pick test combinations without following any specific scheme. This is to test an application completely based on a random data set to study its behavior. </li></ul>
27. 27. An Example <ul><li>In game testing, while making the choices, most of them are based on individual gaming styles. So, even after testing in all known ways, there still exists a need to perform certain random tests. </li></ul>
28. 28. Benefit from TestersDesk.com <ul><li>TestersDesk.com collects the Test Parameters, their values and produces randomly picked combinations of values (about 10% of the total). </li></ul>
29. 29. N-way/Random TestCase Generator (with random option) test cases with random combinations can be selected Value to Software Testers
30. 30. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ Subset TestCase Generator
31. 31. The Situation <ul><li>Often times, while choosing multi-input test values, the problem of selecting a subset of test items from a larger list arises. There is a need to see all possible subsets of a given size from the list, and then select the needed subsets from that. </li></ul>
32. 32. An Example <ul><li>A 7-day week company's payroll application works differently based on which of the 5 days in the calendar week a given employee has attended the office. So, we need to select all possible ways of taking 5 days from 7 days. </li></ul>
33. 33. Benefit from TestersDesk.com <ul><li>TestersDesk.com generates all the subsets from the larger set by taking two simple inputs- the complete list of possible test items, and the size of the subset (i.e., &quot;how many at a time&quot;). For the example discussed here, there are 21 ways how 5 items can be picked out of the 7 test items. </li></ul>
34. 34. Subset TestCase Generator all subsets of test inputs from a larger set can be generated Value to Software Testers
35. 35. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ Boundary TestCase Generator (BVA++)
36. 36. The Situation <ul><li>General theory of Boundary Value Analysis talks about testing the boundaries of a single test field, and when there are multiple range/list based fields, there is a need for a method to cover the interactions between their boundaries (instead of testing boundaries in isolation). </li></ul>
37. 37. An Example There are three fields on a screen each of which take a numeric range. Each individual field has been tested with the seven tuples (values) viz. min-1, min, min+1, mid, max-1, max and max+1. The expected behavior was achieved, however there is no guarantee that the &quot;interactions&quot; between the seven tuples of all the fields together work as expected. What if there is an error that surfaces only when the min+1 value of field #1 and max - 1 of field #2 occur together in a single test - does our test suite has test cases to catch such defects?
38. 38. Benefit from TestersDesk.com <ul><li>By collecting range/list information about test fields, this tool applies pairwise coverage and a few other techniques to generate a list of test cases that cover the interactions between the boundaries (for example, the minimum value of field #1 interacts with maximum value of field #3 at least in one of the generated tests and so on). </li></ul>
39. 39. Boundary TestCase Generator (BVA++) multi-field boundary value analysis tests can be generated Value to Software Testers
40. 40. TestersDesk.com Online Community Edition |_ Test Design Toolkit      |____ TestCase Permutations Generator
41. 41. The Situation <ul><li>Change in order of actions can lead to change in behavior. It is a usually agreed fact in the way how software applications work. Testers have the need to change the order of key test actions to see if they cohesively work well-- some call them as Scenario Tests, Test Stories, Act-like-a-customer tests and so on... But in what ways can the order of 4 tests be changed – can we see a list of possibilities and select what we want? </li></ul>
42. 42. An Example Let us say that a banking application works perfectly in showing the balance money when the test actions are done in the following sequence- Change Password-->Check Balance--->Transfer Funds Let us hypothetically say there is a conflict on the data updating process when balance is checked after changing the password, then the following sequence may not work- Transfer Funds--->Change Password-->Check Balance
43. 43. Benefit from TestersDesk.com <ul><li>You can provide the 3 or 4 critical test actions and get a list of all possible permutations (changes in order) of test execution. This does not necessarily formulate the actual Scenario Tests but at least helps you in visualizing what are the possible orders that the key test actions can take, and lets you pickup the interesting rows. </li></ul>
44. 44. TestCase Permutations Generator permutations (changed orders) of critical tests can be generated Value to Software Testers
45. 45. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Common Test Data Generators        |____ Language String Generator
46. 46. The Situation <ul><li>Modern day applications are required to accept inputs in multiple languages. Testers face the problem of quickly preparing strings in different languages, with the specified lengths. </li></ul>
47. 47. An Example An application needs UTF-8 based input consisting characters in all European languages.
48. 48. Benefit from TestersDesk.com <ul><li>By letting the user choose from a list of different languages, TestersDesk.com generates strings in that language (in the specified length and quantity). </li></ul>
49. 49. Language String Generator test input strings in multiple languages can be generated Value to Software Testers
50. 50. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Common Test Data Generators        |____ Custom Syntax String Generator
51. 51. The Situation <ul><li>Not all Test input fields are insensitive to the format of the data provided. It is a common need for Testers to prepare data in the format/syntax as needed in field's specific context. </li></ul>
52. 52. An Example <ul><li>The US Phone number fields need data in the format 999-999-9999 (where each '9' can be a number 0 to 9). </li></ul><ul><li>An application has in ID field that needs 4 alphabets, followed by 6 numbers, and than one more alphabet. </li></ul>
53. 53. Benefit from TestersDesk.com <ul><li>By letting you choose from a symbol table, TestersDesk.com allows a Custom Syntax to be defined, and then generates as many test values as needed according to that format. </li></ul>
54. 54. Custom Syntax String Generator test input strings with a custom syntax/format can be generated Value to Software Testers
55. 55. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Common Test Data Generators        |____ Quantified String Generator
56. 56. The Situation <ul><li>In the daily life of a typical Software Tester, different test fields are needed be tested for length requirements. Preparing these test strings with the specified lengths, determining whether they are accepted completely or got truncated at a wrong position, and other such related work is, by large done manually, and eats away a lot of during test execution (especially since there is no repeatable technique of preparing strings with specified lengths). Further more, the strings we use to test the length of a field are not self-descriptive and need to be again pasted back in a text editor to analyze where it got broke (if I type a 100 A’s and only 99 got pasted in my field, I cannot know that unless I again copy the value from the field into an editor). </li></ul>
57. 57. An Example <ul><li>A field should not take 30 characters. The tester types 5 times the letter 'a' in a text editor and pastes it six times. It is then pasted into the field, and now copied back into the editor to see all the characters are pasted or not. Then the same procedure is repeated for an invalid value like 31 characters and so on. Some testers use marker characters in end but the preparation process still remains big. </li></ul>
58. 58. Benefit from TestersDesk.com <ul><li>TestersDesk.com generates what it calls as Quantified Strings - Strings that can indicate the position of a character anywhere within. For the previous example, such a string will look like &quot;\$3\$5\$7\$9\$12\$15\$18\$21\$24\$27\$30\$&quot; - each number in the string specifies the position of the next \$ character. Suppose let us say when this is pasted, we see only &quot;\$3\$5\$7\$9\$12\$15\$18\$21\$24\$27\$30&quot;, it is of immediate observation that it got truncated at 29, a typical boundary bug. 30 is saying that the \$ that follows it is the 30th \$, but we do not see it- concluding that it broke at 29. You can change the \$ character to any other character you want. </li></ul>
59. 59. Quantified String Generator quantified strings can be generated to simplify testing field lengths Value to Software Testers
60. 60. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Template-based File Generator
61. 61. The Situation The Application Under Test takes a file as test input. This file has several fields in a specified format. There is a need to prepare multiple files each having different test data. In the end you have, let us say, a large number of files with the same format and only data varies in each of them. In the next new build, let us say, the format has been changed or is added with place for a new field. This calls for individual opening and editing of each such file. Note: EDI, WebServices, XML, Configuration files... there are many cases where the test input is a file with a specified format.
62. 62. An Example <ul><li>An EDI file has to be sent to a partner system and needs multiple files with varied test inputs </li></ul><ul><li>A Properties file has to be prepared as a test input. While the names remain common in all files, values can be changed in different ways </li></ul><ul><li>A Web Service needs to be tested with several XML files. The format of each file is same and only data changes. </li></ul>
63. 63. Benefit from TestersDesk.com <ul><li>By taking two input files- One a Template file that shows the format of your test input file that has placeholders where data needs to be embedded, and the other with several rows of test data, a single ZIP file is generated that has as many files as the number of rows in the CSV Test Data file provided. Each individual file represents each individual row of test data. The advantage is that many files can be generated in one-go, and editing and other maintenance work is done on just two files. </li></ul>
64. 64. Template-based File Generator multiple test input files can be created with just one template and one data file Value to Software Testers
65. 65. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Size-based File Generator
66. 66. The Situation <ul><li>All of us know that test inputs are not always just field level values, and it is a common test need to have files of the specified size and type. </li></ul>
67. 67. An Example <ul><li>An E-learning application is being tested and its course assets module needs files of different sizes </li></ul><ul><li>A CD-Rom burning feature of a Publishing Application is being tested, and needs a 700 MB file with binary data </li></ul><ul><li>An Upload resume feature of a Job Search Application is being tested, and needs two files of sizes 5 MB and 10 MB. </li></ul>
68. 68. Benefit from TestersDesk.com <ul><li>By providing three inputs- File size, Measurement unit (KB, MB, GB) and Type of data (Alphabets, Binary etc) a tiny batch file can be downloaded. This batch file creates the required file when executed on the test machine, in the same directory where it is executed from. After test execution if completed the generated file can be deleted to save space, and can be re-created by re-executing the batch file whenever needed. Currently this feature works on Windows. </li></ul>
69. 69. Size-based File Generator files with the specified data and size can be generated Value to Software Testers
70. 70. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Date/Time (Timestamp) Generator
71. 71. The Situation <ul><li>It is a common test input requirement to provide a date/time value to an Application Under Test. Sometimes, several values may be needed instead of just one. It becomes tedious to prepare them manually. </li></ul>
72. 72. An Example <ul><li>An E-greeting cards application is being tested, and needs several test dates in a particular month or a particular range; and in a specified format. </li></ul>
73. 73. Benefit from TestersDesk.com <ul><li>By providing Timestamp format, and optionally timezone information, the specified number of timestamps are generated. </li></ul>
74. 74. Date/Time (Timestamp) Generator different timestamps can be generated Value to Software Testers
75. 75. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Password Test Generator
76. 76. The Situation <ul><li>A password field needs to be tested against a set of test requirements, and there is a need for both valid and invalid values. </li></ul>
77. 77. An Example <ul><li>There is a password field in a web application's registration form and it is specified that it: </li></ul><ul><li>should have the minimum length as 6 and maximum length as 20 </li></ul><ul><li>should not have spaces </li></ul><ul><li>special characters are allowed </li></ul>
78. 78. Benefit from TestersDesk.com <ul><li>By collecting some inclusion/exclusion options and length requirements, a set of valid and a set of values are generated that can be used as test inputs in testing the requirements of a password field. We are adding more options soon. </li></ul>
79. 79. Password Test Generator test inputs to test password fields can be generated Value to Software Testers
80. 80. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Luhn (Mod-10) Number Generator
81. 81. The Situation <ul><li>A variety of identification numbers, such as credit card numbers and Canadian Social Insurance numbers need to comply with Luhn formula, also known as mod-10 check. Testers need test inputs covering both valid as well as invalid Luhn (mod-10) values to exercise the Application Under Test. </li></ul>
82. 82. An Example <ul><li>A shopping cart is being tested, and the checkout functionality needs sample Credit-card numbers as part of the test input. </li></ul>
83. 83. Benefit from TestersDesk.com <ul><li>By configuring an optional prefix (like 4111 for visa) and length of the number, the specified number of values can be generated that adhere to (or violate) the Luhn (Mod-10) check. </li></ul>
84. 84. Luhn (Mod-10) Number Generator test credit card numbers can be generated Value to Software Testers
85. 85. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Person Name Generator
86. 86. The Situation <ul><li>Many applications need person names as test inputs. While strings like xyz3 and abcd9 also qualify technically, the output may not look good, and you may want to see real person names. </li></ul>
87. 87. An Example <ul><li>A payroll application is being tested, and its reporting functionality has to be validated. There is a test requirement to have real names instead of random strings. </li></ul>
88. 88. Benefit from TestersDesk.com <ul><li>By collecting options like gender, format and quantity, TestersDesk.com generates real person names. </li></ul>
89. 89. Person Name Generator real person names with the specified quantity can be generated Value to Software Testers
90. 90. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ Universal Unique ID Generator
91. 91. The Situation <ul><li>Let us say that a test system needs certain test inputs in a screen, and one of the field has to be globally unique, meaning it should have never been used before any time on any machine, you would need a tool that helps generate such values. </li></ul>
92. 92. An Example <ul><li>A licensing module of an application needs to be tested, and one-time unique values are needed to execute several test cases, in each test cycle. </li></ul>
93. 93. Benefit from TestersDesk.com <ul><li>TestersDesk.com provides a simple to use feature that just asks for the quantity needed, and generates IDs that are universally unique. </li></ul>
94. 94. Universal Unique ID Generator unique IDs can be generated Value to Software Testers
95. 95. TestersDesk.com Online Community Edition |_ Test Data Generation Toolkit      |____ E-Mail Address Generator
96. 96. The Situation <ul><li>There usually are many cases where a particular test may need a lot of dummy test e-mail IDs in different sizes and types. </li></ul>
97. 97. An Example <ul><li>an Address-book functionality is being tested and 100 E-mail IDs are needed to be loaded into it to test Display, Sorting and Pagination features </li></ul><ul><li>a Mailing-list functionality is being tested and you need a 1000 E-mail IDs to test its bulk insert feature </li></ul><ul><li>a performance test needs to bombard a huge number of E-mail IDs into the Application Under Test </li></ul>
98. 98. Benefit from TestersDesk.com <ul><li>By taking a few options like whether you want only E-mail IDs ending with &quot;dot com&quot; or &quot;all types&quot;, whether the generated random values should be new or from a previous seed, different download-ready E-mail IDs are generated. </li></ul>
99. 99. E-Mail Address Generator test e-mail addresses can be generated Value to Software Testers
100. 100. TestersDesk.com Online Community Edition |_ Miscellaneous Testing Toolkit      |____ SQL Injection Test Generator
101. 101. The Situation <ul><li>Malicious test inputs can be crafted to trick the SQL logic running in applications and compromise Application Security (especially when the user supplied inputs are consumed in building SQL). SQL Injection has stood out as the most popular vulnerability, generally in multi-user applications like Web Applications. It has become mandatory to test the applications for such vulnerabilities, at least at the entry-level pre-login screens. But to perform such tests you either need expensive tools or really tech-savvy testers on board. </li></ul>
102. 102. An Example <ul><li>A web application provides activation licenses to a game by taking an order ID. Traditional tests include testing it with valid order IDs, empty fields, lengthy order IDs, and so on... All such tests, let us say, have yielded expected results. There is a chance that it has one major test uncovered - that is whether or not SQL can be injected into the field to trick the server-side logic and compromise Application Security. </li></ul>
103. 103. Benefit from TestersDesk.com <ul><li>TestersDesk.com collects the basic information about a Web Form (its action URL, field names with some dummy values, and the target_field on which you want to perform the SQL injection) and then crafts automated forms with different types of SQL injections, and presents a single downloadable HTML file. Once downloaded, it can be executed on your application and the content within the page may reveal potential security holes in the Application Under Test. </li></ul>
104. 104. SQL Injection Test Generator SQL injection security tests on web forms can be automated Value to Software Testers
105. 105. TestersDesk.com Online Community Edition |_ Miscellaneous Testing Toolkit      |____ OS Information Scripts
106. 106. The Situation <ul><li>In several instances, it is required to gather OS level information before or after test execution on a particular test machine. This information could be related to the filesystem, software, processes, hardware and so on. </li></ul>
107. 107. An Example <ul><li>A bug report needs to include information about the drives (harddisk drives, cd drives etc) present on the test machine </li></ul><ul><li>The tester wanted to execute a test case and see what are the processes currently running on the machine, and send that list somewhere </li></ul><ul><li>There is some problem found in an installation folder on the test machine and information with all attributes was asked for </li></ul><ul><li>An unknown conflict has occurred on a test machine, and the developer asks the tester to send the list of the software programs installed on that machine </li></ul>
108. 108. Benefit from TestersDesk.com <ul><li>TestersDesk.com provides several simple VB Script files that can be downloaded and executed from the command line. All of them produce readable output that can be copied into outgoing test reports, bug reports etc. In future scripts for other Operating Systems will be available too but currently they are available for Windows. </li></ul>
109. 109. OS Information Scripts system-dependent information scripts can be downloaded (for windows) Value to Software Testers
110. 110. More to come!
1. #### A particular slide catching your eye?

Clipping is a handy way to collect important slides you want to go back to later.