Home
QaTraq Pro Scripts
Contents
1. QaTraq Pro Scripts Professional Test Scripts Module for QaTraq QaTraq Professional Modules QaTraq Professional Modules are a range of plug in modules designed to give you even more visibility and control over your test process The Pro Scripts module extends the existing Test Script functionality in QaTrag to give you Test Script Sets and Test Script Templates QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Contents OE oa ese ee ctv eet tyson cys E 524 gectp sass E E 1 MET OGUC IO en R r S E E E E E S il Pe TIS CRIT SNC Soe crsarc sees we cerrsn nese cumnmeecencancemaamiar ucuasnua gecemneeeceeewanceexinetenmastecaesincussuses il MS Ca AO NOTES ix soseseesstsnennee ecadeamieneta EEE EE E il ADU Oa Trig Pro SOLOS eioen EEE E A E ES il NCHPts Templates and SCtS sccaicn ct asvsetcecsmianctosecctescntstmctoussaissatesametpewiathceateceasaiavenntes 1 E p E e E E E N EN EE E EOS 3 Creating a New Template and Modifying an Existing One cccccceeeeeeees 3 WAC Wt T mp AL CS e E E E EE AE 7 Delene Templates serisinin e irna A E EEEE 7 Including and Removing Test Cases from Templates c ssssssseseeeeeeeeeeees 7 Including Existing Test Cases to Templates cccccccccsssseseeeeeeeeeeeeenseseeeeees 8 Including New Test Cases to Templates 200 000 ccccecccccccccceeeeseeeeceeeeeeaeeeesseeeees 9 Removing Test Cases from Templates ccccccccccccccceeeesssse
2. Template Product After you select the search criteria and press the Search button you will see a list of the available Templates that match your criteria The search results for Templates will show the following information about each Set Template Title Template ID hyper linked Template Copy to Script value Template Product Put a tick in the Add check box next to the selected Template and the when you click the Save button the changes in the reference to the Template will be added in the Set The actual version of the Templates which are used to create the Scripts when the Set is included under a test design depends on the Copy to Script setting in the Template when the Set is Included When you modify an existing Set the Templates search results will show the Templates that have already been included with a remove check box shown so that you can remove the Template if necessary Any Template that has not been included in the Set already is shown with an Add check box so that you can add the Template reference if necessary Besides the Template Title and Template Product which are self explanatory there are two other headers for the search results list Template ID It is influenced by the copy to Script value defined for each Template The version of the Template referenced by the hyper linked ID will depend on the Copy to Script value for the Template So if you have latest x 0 Set for a Template you will only see the
3. act of including the Set creates 4 Scripts along with their associated test results specifically for testing this new build of software QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Templates As already explained in the previous chapter Templates are an identical document type to Scripts The only difference between Templates and Scripts is that Templates don t have test results associated with them EE E EEE ey Similarly to Scripts Templates are eee stored under a test design document but you will not see aaah acciai aiikigla Salis dibo aiian vikia 2 aparit them listed under a test design i O eE document or test plan This is Mmmm fs e ae p een because until they are used to create Test Scripts they have no DS UTI TTT test results that are of any pia fe ___nezg _s_E l_ concern to the test plan So you ee can only list and view Templates cc maos 2 Co when working within the eee _ m o Templates pages within QaTraq sm as shown in the screenshot on the left The Templates List When you create a new Template most likely you will store it under the same Test Design document that the Test Scripts will be created under However you can also create a separate Test Design document under the Test Plan to specifically store only Templates or even create a whole new Test Plan to store all Templates The last two cases are recommendable when you hav
4. modified because they are not the latest version have a View button on the right as shown in the next screenshot a E As only the latest version of a Template Gis Gee Gack Pome Go Gas Pie is Gii fies IS Modifiable you only see a Modify en eT Ln py on DENO Wer a ESNE a T zj EET mi b Te m plate Hi When you click the Modify button this re will open the Modify Template Script a lowe ore page which is shown in the screenshot E below lowes a Cove jusce Tm C The fields and values you see on the Modify Template Script page are almost the same as the ones in the New Template page Only the differences between the new page and modify pages are called out below The fields that are not present on the New template page are the ones for the current version i e 0 5 and the new version i e 0 6 as well as the dates of the Template creation and modification If you scroll down the screen you will see some other fields as shown in the screenshot on the left The first box lt a provides you with the ability to modify test a case priorities and the remaining boxes are the test cases included in the egress ieee Template The dropdown in the first box allows to change the priorities of all Test Cases Tithe i oer ma ea Tn If you would like
5. result records associated with the Test Script Template Test Scripts Or Templates are essentially identical to normal Test Scripts except that they don t have any test results associated with them So you can develop a Template Test Script over a period of time and then when you are ready copy the Template to create a Test Script which has associated test results Similarly to Test Scripts Templates are assigned to a test design Additionally Templates have test cases included in exactly the same way as test cases are included in Test Scripts In fact you can have exactly the same test cases in both templates and scripts Templates have default values for Product Product Version Intended Tester Intended Platform and Intended Os Operating System These values can be changed when you copy the Template to a Test Script So for example you can copy one template to create many new test script where each test script specifies a different product version for the product under test Templates have a Copy to Script value which defines which version of the Template can be copied to create a Test Script There are four scenarios Template copy to Template Template copy to Script Script copy to Template and Script copy to Script and they are described in more detail later in the manual together with the privileges that are necessary to perform these actions The second document type that will be described in this manual is the Set A Set is
6. save amo corr 2 Parent Test Design when you create a new Template record it has to be related to a test design record Thus when you create a new Template record you have to search for and select the appropriate test design document as the parent document This field shows the design document that you selected Template Contents QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq 3 Intended Tester the value in this field is set to a default value but lets you specify who you expect to run the tests once you have copied the Template to a Test Script This value can be changed when you copy the Template to a Test Script so that you define a different tester to actually complete the tests If you have a tester that you know is familiar with the functionality listed in this template then select this tester If not leave the default value This value only really comes into play when you copy the template to a script at which point you specify the tester that you intend to complete the testing 4 Product and Product Version the aim of each Test Script is to test a certain area of functionality against a particular product and a particular version of that product However for a Template you do not have any test result records so these fields are used to specify the product and version for which the Template is intended The Product Version can be changed when you copy the Template to a Test
7. then the gatekeeper would set the copy to script value for a template to Copy Latest x 0 3 Users who can copy Templates to Scripts The next stage in the process is to Setup users who can copy Templates to Scripts When copying individual Templates to Test Scripts it is important to remember that a user needs 1 Template Copy privileges 2 Test Script New privileges 3 a Copy to Script value in the Template which is NOT Prevent Copy So to set up users with privileges to copy Templates to Test Scripts you need to create a role in QaTrag or assign these privileges to an existing role which has the following privileges Templates Copy Scripts New So a tester who has these two privileges would be able to copy an authorised template i e a template without the copy to script value set to Prevent Copy to create a new test script However that same tester may not have privileges to modify Templates or Scripts so he she would be restricted to only running tests using authorised test scripts 4 Users who can enter results against Test Scripts This group of users needs to have the following privileges Results View Results Modify In other words once a test script has been created they can enter results for that test script Again they may not be able to modify the script so he she would be restricted to only running tests using authorised test scripts 15 QaTraq Pro Scripts Manual Professional Test Script
8. 2 0 2 and TMP2 0 3 you could set the Copy to Script value to Specific Version v0 2 Any user attempting to copy TMP2 would only ever be allowed to copy version 0 2 Meaning that version 0 1 could not be used to record test results against and also meaning that you can continue to develop Template TMP2 without other users creating Test Scripts from it i e users could not use version 0 3 to create Test Scripts e Copy Latest X 0 this is really the key value to use when developing a Test Script and Template review process Selecting this value means that only ever versions of Template ending in x 0 can be copied and used to create formal Test Scripts So you can develop minor version of a Template perhaps TMP2 0 2 and only when you increment the version number to a major number i e TMP2 1 0 can the Template be used to create a formal Test Script Again if you developed this TMP2 Template so that you have TMP2 1 1 only version TMP2 14 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq 1 0 would be copied to create formal Test Scripts Not until you increment the version to 2 0 would other users be able to create formal Test Scripts from TMP2 2 0 So for example a gatekeeper might review a Template and then decide to change the copy to script value so that the template can be copied to a script If a gatekeeper were keen to stick to a policy of x 0 versions being release versions and x 1 x 2 etc being draft versions
9. Script Thus you can copy a template many times creating many identical test scripts for many versions of the product under test 5 Intended Platform the value in this field is a default one and it lets you specify the expected platform on which the tests will be run once the Template is copied to a Test Script This value can be changed when you copy the Template to a Test Script so that you define a different platform to actually complete the tests on 6 Intended Os the value in this field is a default one and it lets you specify the expected Operating System on which the tests will be run once the Template is copied to a Test Script This value can be changed when you copy the Template to a Test Script so that you define a different Operating System to actually complete the tests on 7 Copy to Script The key point with Templates is the ability to copy a Template to create a normal Test Script where a normal Test Script has test results associated with it The ability to copy a template to a Test Script is however restricted by the Copy to Script value assigned to each Template You can select different versions to be copied or you can select to prevent any copying Copy to Script is described in more detail later in this chapter 8 Attachments when you create a new Template record or modify an existing Template record you can add attachments Clicking the Add Attachment button in new or modify mode brings up an attach
10. a list of references to Templates It is important to remember that a Set is NOT a copy of a Template it is just a reference to a Template Every Set contains zero or more references to Templates You can create a Set without any references to Templates and then add references at a later date It is also possible to copy multiple Templates in one go to create multiple Test Scripts QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Template The relationship between Scripts Templates and Sets From this relationship diagram you can see the following 1 Templates can be copied to create Test Scripts creating the associated test results for the script 2 Scripts can be copied to a Template creating a Template with no test results 3 Sets of reference to zero or more Templates 4 Set of many Templates can be copied to create many Test Scripts creating the associated test results for the scripts So for example you might create 4 Templates These Templates might be the basis of a set of regression tests that are run for every build of the software that is released for testing So you create a Set that references these 4 Templates When you receive a new build of the software you are testing you know you have to run these 4 regression test scripts which are currently stored as templates Using the Set you created which references these 4 Templates you include the Set under a Test Design document This
11. b vers click the Remove button at the her mem ate amended Tester bottom of the page This way the ee product product version Intended Platform selected Test Case s will be owe copy To sero aa ie removed from the Template Test Haa amont 7 cases removed from a Template aoe in this manner will not be pest o EEA physically deleted from the we application _meuce cases nenove cases Removing Cases Modifying Test Cases Modifying Test Cases can t be done from within a Template except for the Order and Priority values so if you need to modify a Test Case you will need to do it from the Cases module of QaTraq When you modify a test case you can opt to search and update any Templates with the modified test case So when you modify a test case you can search for Templates that already include the test case and update them with the modified version of the Test Case For each included test case a drop down box is available which will allow you to select different versions of the test case So for example if the first version of a test case e g TCA12 0 1 has been modified and updated to version TCA12 0 2 then you will find a drop down box in the modify Template page which allows you to select either TCA12 0 1 and TCA12 0 2 Thus you can update the Template to include the latest versions of any test cases that have been modified Test cases are marked with Newer version available if an old version of a test case is currently inc
12. detail below Copying Templates can be carried out from several places For instance from the View Template Script the page that shows the Template details is one place If you want to make use of the advanced copy features of QaTrag Pro Scripts and copy a Template to Script and vice versa you should do it by clicking on the Copy link in the left menu i When you click on the Copy link in the left EEN KEETA ra DO O yem Wen Omii menu you will see a list of the available Se Templates and a copy button next to O Copy Soret Te Temoiate them as shown in the screenshot on the left p Cer L From the three radio buttons Copy Template to Script Copy Script to Templ nd Co Template to Copying Templates ampan a py p Template select the appropriate one If you have selected to copy a Script this list will be refreshed to include only Scripts Clicking the Copy button next to the template or script will enable you to create the copy Copying Templates to Templates You may find that you have already created Templates which would be a good starting point for a new Template For example you may decide that you have a Template for Product X which would be quite a good starting point for a Template for Product Y If this is the case copy a Template to create a new Template in the same way that you d copy any other document type in QaTraq Only this time make sure you select the Copy Template To Template opt
13. e many Templates for many projects and you need to be able to see all of them together Creating a New Template and Modifying an Existing One Creating a new Template and modifying an existing one is very similar to creating a new Test Script and modifying it First you go to the Templates page click the Templates button in the top menu and then from the menu on left choose New This will open the page which is shown in the screenshot on the left Every Template has a parent vine Sea Sains wie ia SA dias Shaws A aa Search for Test Designs to Create a lemplate Script templates f Searches accross multp e feld will be executed with the A operator test desig n reco rd and each is seen at cones a ae ee SS o p Hea ypas on Enter the Title of the Test Design document which you would like to be the parent of the new Template and click the Search button If you kba don t know the name of the Test e Design that you want to be the parent of the new template don t enter anything and only click the Search for Test Designs to Create a Template Script Search button QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq When you see the list of the available Test Designs click on the New button in front of the oe for rest Designs oo Sete Template Script design of your choice and Searches accross multiple fields will be executed with
14. ecuted for every build and release of your product These tests create a lot of data and information In order to keep track of this data you need a reliable application that manages the process and keeps track of the tests and results you create Pre Requisites To utilize the Templates and Sets functionality in the QaTraq Pro Upgrade you must ensure you comply with the following pre requisites You need to be running QaTrag 6_7_rc or later You need to have installed QaTrag Pro 1_0_ rc or later You need to be running with MySQL version 4 or later You need to have installed the Zend Optimizer version 3 0 0 or later You need to have purchased and installed the Pro Licence DOOOCoOD Installation Notes This manual describes how to use QaTraq Pro Test Scripts and assumes that you already have QaTraq installed For more information about how to install the QaTraq Pro Test Scripts module please check the latest install guide on our web site About QaTraq Pro Scripts QaTrag Pro Test Scripts component is part of the QaTraq Professional Upgrade The Pro Test Scripts module extends the existing Test Script functionality in QaTrag to give you Test Script Sets and Test Script Templates Bringing these new areas of functionality together also gives you the ability to enforce or oversee a Test Script review process il QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Scripts Templates and Sets Scr
15. en from the menu on left choose New This opens the page that is CORECT Sle aw es B shown in the screenshot on the E vite Gusset fais pease e a eee eeu Pusu joss left The form is simpler than the forms for new Scripts and Templates So to create a new Author Type Set you need to specify the Description following e z Ue EZ Bee OAS b gt BBR u Title a title identifying the set e g Regression Test Set for Product X This is a mandatory field mmn n j Author and Type Author and SAVE AN view SAVE ANO WOOIFY SAVE AND COPY Type are automatically specified Author will be given the value of the logged in user who created or last modified the set The Type is predefined as SET An ID is automatically assigned to the Set when you save it The format of Type and IDs is therefore SETx e g SET5 where 5 is the unique identifier Creating a New Set Description Here you enter the description of the set This is a mandatory field Zero or more references to Templates Here you include the Templates that will be referenced by the Set When you create the Set you can leave this blank and add the Templates later 16 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Since there can be hundreds of Templates in order to find the templates you need you can perform a search based on the following search criteria Template Title Template ID Template Version
16. enshot on the previous page you can check the Display New Test Case check box This provides you with the New Test Case form where you can create new test cases to immediately include in the Template To create new test cases and include them immediately in a Template it is important to make sure that you have privileges to create New test cases LI Fil in the Title Product Requirements Content and the other fields in the form and when you are ready click the Save amp Include Test Case button to include it in the Template The new test case will also be available for inclusion in any other Test Scripts and Templates too One point to note here is that the new Test Case will only show up if the search Ee ux ele ame EES criteria specified match that content of the new test case For example if you have a specific Test Case ID defined in the search criteria when you Save amp Include Test Case then only Test Cases which match that ID will be displayed this doesn t mean that your new test Seve Leelee Tesi Care cases hasn t been included it will be Sint As rd included it just doesn t match the search criteria specified and that is why it is not Including A New Test Case displayed in the list Some of the fields in the form are self explanatory and will not be described here The other fields that require explanation are Product You will notice that the new test case can onl
17. er can opt to retain the original value in the Template or change it to a new value So for example if the user opts to change the Product version ALL of the new Scripts created will have the new product version specified However if you were to opt to retain the Intended OS values then each Script will retain the same value that was specified in each of the original Templates even if the values differ between Templates referenced in the Set You might have noticed that the procedure of including Sets to a Test Design does not offer a way to modify the Template title version content and attachments This is quite logical because Sets are only references to a Template not a copy of it If you need to alter these fields once you have completed the Sets include action you can still do it provided that you have Script Modify privileges When including a Set there are some other points that you should have in mind e When you use Sets the Copy to Script value of the separate Templates determines if or which Scripts will be copied So for example if a Template has a Copy to Script value of Prevent Copy at the time of including a Set under a test design this Template will not be copied to create a Test Script e You will see in the list of Templates shown in the Set that each Template has the current Copy to Script value displayed so there is no need to check it in the Template itself e f you don t want to include all the Tem
18. formation about Order and Priority can be found in the next section on Including New Test Cases to Templates The new Quick Script functionality in QaTrag lets you search for test cases to include and create new cases which are immediately included So you have the following options when adding test cases to your Template e Don t show already included test cases this will filter out all test cases which are already included in your Template Only test cases which match the search criteria will be displayed excluding any already included test cases e Show only included test cases this will show only test cases which are already included Any search criteria specified will be ignored this is useful when you are adding new test cases and you want to see what the final Template will look like QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Show all test cases shows all test cases which match the search criteria specified Test cases which have already been included but which don t meet the search criteria are NOT displayed this goes for newly created test cases too Long Format displays the additional fields Product Component and Content fields for all displayed test cases Short Format displays only Title ID Priority and Order fields for displayed test cases Including New Test Cases to Templates When you are searching for Test Cases to include in the current Template Script shown in the scre
19. g Sets in a Test Design Document Once you have created a Set you can include all the referenced Templates under a Test Design document by selecting Include Set The process of including Sets to a ee OO ee Test Design Document is a way to ee SSE quickly distribute the required Test Scripts amongst your teams In critical moments e g when you need to perform a series of regression tests on a new build of the product under test you will appreciate the convenience of having the right Sets to include in the Test Design Document The key idea behind including a Set is to copy all the referenced Templates as new Test Scripts under a specific test design Including Sets document The act of copying these referenced Templates creates new Test Scripts which will have associated test result records when they are created When you click the Include link on the menu on the left a list of the available Sets will appear Click the button on the right of the Set that you would like to include and this will open the page shown in the screenshot above 18 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq The form for including new Sets has several editable fields Test Plan and Test Design documents Product Product Version Intended Platform Intended OS Intended Tester which are the same as the fields in the Templates and therefore will not be described here For each of these values the us
20. hyper linked reference to TMP5 2 0 even if there is a TMP5 2 1 Template Copy to Script value Note also that it is fine to add a reference to a Template that has a Copy to Script value of Prevent Copy Any Template with Prevent Copy can be contained in the Set but will not be copied to a Script when the Set is Included under a Test Design However if at a later date you change the Templates Copy to Script value to say latest version when you now include a Set under a Test Design that Template will create a new Test Script this is without modifying the Set as the Set picks up all the Copy to Script values automatically Modifying a Set allows you to change the title and content as necessary In addition to this when you modify a Set you can add and remove references to Templates as needed Any user who has Set modify privileges can modify any Set So you can modify Sets which were originally created by other users although the author field will be changed to the last person to modify the Set Viewing Sets When you are on the page with the Sets list you will see a View button next to each Set Clicking on the View button will open the page in the screenshot on the next page You will see the Set s details like title Set ID author and description If the Set is not empty you will also see a list of the Templates that are referenced by it The list of referenced Templates shows the title of the Template the ID which is hyper
21. ileges allow the following in Templates e Gatekeeper MODIFY allows a user to modify the version and copy to Script value when MODIFYING a Template e Gatekeeper NEW allows a user to modify the version and copy to Script value when creating a NEW Template e Gatekeeper COPY allows a user to modify the version and copy to Script value when COPYING a Template 13 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq The Review Process To implement a review process you will need four types of users You can have a separate role for each of them or you could merge them into one single role but you need to have 1 Users who can create and modify Templates 2 Users who can authorise the copying of Templates to Scripts gatekeeper 3 Users who can copy Templates to Scripts 4 Users who can enter results against Test Scripts 1 Users who can create and modify Templates To set up users with privileges to create and modify Templates you need to create a role in QaTrag which has the following privileges Templates New View Modify Delete Include and Remove Gatekeeper No privileges Scripts Only view privileges So for example you may give those privileges to a role such as the Test Analyst This would allow all users who have the Test Analyst role to create and develop Templates Restricting the Gatekeeper and Script privileges as shown above would mean that a user who writes a Template would have to wait f
22. ion when on the Templates Copy page Please note that copying Templates to Templates needs Template Copy privileges 11 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Copying Templates to Scripts The key purpose of Templates is providing the test team with the ability to create Template Scripts before you start any testing and then copy those Scripts to create normal Test Scripts with associated test results This process is the crux of creating a Test Script review process and is covered in more detail in the sections that follow When you copy a Template to create a new Test Script you can change a number of parameters in the newly created Test Script like product version intended tester etc so that you can have multiple instances of a Test Script for different test runs say for different versions of the product under test Templates have a Copy to Script value This value allows you to define which versions of the Template you want to allow to be copied to create new Test Scripts So for example if your Template has a Copy to Script value of Latest Version you will only be able to copy the Latest Version of the Template to create a new Test Script and the associated test result records that go with that Test Script You will notice when you are copying Templates to Scripts that your search results will only allow you to copy Templates that have the appropriate Copy to Script value set For example
23. ipts Templates and Sets are the three core QaTragq document types that define and track your testing While the Scripts functionality is available in the free version of QaTraq Templates and Sets are available in the Pro version only The Scripts feature is described in the User Manual and because it is the same as the free module it will not be described in this guide Templates and Sets will be described in detail in separate chapters but before we proceed to the detailed explanation we need to have some general idea about each of the three different document types in the context of the QaTrag application A Test Script is a document that describes in detail how a group of related tests should be conducted A Test Script contains information outlining the test defines the pre requisites and contains a number of test cases The user enters the outline and pre requisite text and then links the Test Script to a number of test cases that will be contained within the Test Script Every Test Script has a parent test design record and each Test Script record contains its core content similar to the other document types Once you have created a Test Script you can associate zero or more test cases with the Test Script by including them in the Test Script As test cases are added to a Test Script test result records are created for each test case Thus for a Test Script which contains a number of test cases you will have the same number of test
24. is the author requires delete privileges so if you don t have the have the necessary privileges you will not be able to delete Templates CS ieee Sisia cine Mice rus A bbs QA nuus Y mule Es l o Ou Saro Ausso Pouso Jesis riius Girisi ec iind Porous Mias Search for Template Scripts to Remove earches accross m l Test Cases ca y IZ F ass n All plans J All designs J Tithe Conte coe o J J l VIEW Modify New _ Copy ltmpt TMP 2 0 5 l Remove Include q J Remove tmp MPi 0 5 2 Kemove Deleting Templates Templates can be deleted if you click the Delete button in View Template Details page the screenshot left or if you go to the page with the list of Templates select the Remove link from the menu on the left and then click the Remove button next to the selected Template Besides lacking the privileges to remove Templates there are some other restrictions for deleting Templates For instance since Templates are subject to version control you can remove just the latest version or all of the versions so that the Template document no longer exists Also a Template can t be deleted if it is referenced by a Set In this case you must first remove the reference or delete the whole Set if you don t need it anymore and then you can proceed with deleting the Template Including and Removing Test Cases from Templates As we have said before Templates are Scripts without results so the o
25. ity to include and remove Test Cases from Templates in several ways To include an existing Test Case either click the Include link from the menu on the left then click the Include button next to the Template where you want the Test Case included or on the View Template Script page click the Include Cases button Either way you will open the page shown in the next screenshot Fill in the search criteria for the Test Cases you are looking for a mam zen uan Sos Ge ee be a Then click the Search button to EEE see which test cases meet the rc wy Terai serit name umes criteria you specified If you Document 10 THP2 0 6 have the New Test Case check servo box checked this action will also aaa eens eee open an additional form for He tmtended Platform ny creating a new case This action M inciude pper will also give you a list of the existing Test Cases will be om available seen a a Existing test cases can be sM a ection B aa oe included in the Template by LC LF eee ia atcomeonents E C clicking the Include check box oe ee Oi Mae tosh seo dad eh Show all test cases Serie D Short format clicking the Save amp Include button If the Test case is already included you will see Including Test Cases in Templates an Already Included message in red instead of a check box Also when including an existing Test Case to your Template you can change its Order and Priority more in
26. linked the Copy to Script value for each Template and the product that the Template was created for 17 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq TTT ERS It should be pointed out that the Gis Ghee Rune Woes Ons Gass Fue a Powe Mau Template referenced by the hyper linked ID will depend on the Copy to Scrip value for the Template So if you have latest x 0 Set for a Template you will only see the hyper linked reference to TMP5 2 0 even if there is a TMP5 2 1 When viewing a Set you will also see the Include button This takes you to the page which allows you to include all the Templates referenced by the Set under a test design as new Test Set Details Scripts Deleting and Copying Sets In the same way that you delete copy and modify other QaTraq document types you can delete copy and modify Sets When you delete a Set you only delete the Set and the references that the Set contains to Templates You do not delete the actual Templates A user can delete a Set as long as the user has privileges to delete a Set It does not matter if a user wishing to delete the Set is the original creator of the Set When you copy a Set you create a new Set which contains the same Set of references to Templates as the Set that you copy The act of copying a Set only creates a new Set it does not create any new Templates or Test Scripts Includin
27. luded in a Template as shown in the next screenshot 10 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Note that it is not possible to include the same version of the same test case twice You can include different versions of the same test case but not the same version So you will find if you attempt to change the version of a test case to a wo favor version that s already included in Order J0 the Template that you won t find PTEE the already included version in the oe drop down list For example if you Test Steps have TCA11 0 5 and TCA11 0 1 in ee the same Template you will not be able to change the version of A TCA11 0 1 to TCA11 0 5 as it is already included in the Template you could change TCA11 0 1 to TCA11 0 4 as this version is not included in the Template Copying Templates As Templates and Scripts are essentially the same document type you are presented with four scenarios when it comes to copying between Templates and Scripts Template copy to Template Template copy to Script Script copy to Template Script copy to Script Sr S Sl i 2 3 4 Scenario 4 above is covered by the core QaTraq application and thus is not covered by this guide Scenarios 1 and 3 are straightforward copies of Templates and Scripts Scenario 2 is slightly more complicated as this can act as the key mechanism for implementing a Test Script Review Process and is discussed in more
28. ments window from which you can select attachments to upload to the QaTraq database In order to be able to add attachments you must have write privileges for the directory where the attachments will be uploaded 9 Content The plain text or html content section of the Template is the section that should contain the details about how to execute the Test Script It is likely to contain sections like Pre requisites and Test Setup details Note that the default contents for this field are specified in the defaults Templates html file 10 Test Cases once you have created a Template you can associate zero or more test cases with the Template by including them in the Template Once test cases have been included they are listed below the other Template details The principles of including and removing test cases in a Template are identical to the way in which you include and remove test cases from a Test Script QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Modifying an existing Template is not very different from creating it However there is a restriction on which version can be modified Similarly to the other document types in QaTraq you can modify only the latest version of a document When you click on the Modify link in the left menu on the Templates page will open the list of Templates For those templates that can be modified you will see a Modify button on the right Templates that can t be
29. or a Gatekeeper to authorise the copying of the Template to create a script see next for more information on this 2 Authorising the copying of Templates to Scripts To set up users with privileges to modify the versions and copy to script values in Templates you need to create a role in QaTraq which has the following privileges Gatekeeper Modify New and Copy The ability to copy Templates to Test Scripts is restricted by the Copy to Script value assigned to each Template The ability to modify this value is only given to users who have gatekeeper privileges So you find on each individual Template the drop down box labelled Copy to Script The value selected in each Template for this field can take one of 4 values e Copy Latest Only if this is selected for a particular Test Script then ONLY the latest version of the Template can be copied to create a new Test Script e Prevent Copy if this is selected for a particular Test Script then this Test Script can NOT be copied to create a Test Script This is a useful setting if you are in the process of creating a draft version of the Template and you do not want anybody to use this Template to run and record test results against it This is also the default setting when creating new Templates e Copy Specific Version this value allows you to set any single particular version of the Template as valid for copying to create a new Test Script So for example if you had versions TMP2 0 1 TMP
30. perations that can be performed on a Script can be performed on a Template as well Including and removing test cases is one of the key operations used to create and develop scripts So from the same pool of test cases you can assign individual test cases to both Test 7 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Scripts and Templates When including test cases you will notice that you have a number of options radio buttons which modify the test case results you obtain Note that each time you include or remove test cases the minor version of the Template is incremented For example if you are including 2 test cases in Template TMP1 0 2 version 0 2 then the version will be incremented to 0 3 once you have completed the include In this way you can go back to previous version of a Template and see exactly which test cases were included A Template will be based around testing one product as listed in the Template details but it is possible to include test cases which are for different products The ability to include test cases for other products could for instance allow the creation to integration tests between two products Or you could create a pseudo product say for usability and then include these test cases across many different product Templates thus having common usability test cases across multiple products Including Existing Test Cases to Templates QaTraq Pro Scripts gives you flexibil
31. plates listed in a Set simply uncheck the Copy check box in the lower right corner of the screen next to the Template So any Templates that aren t checked or Templates which have a Copy to Script value of Prevent Copy will not be used to create test scripts when you include the set e All attachments defined in the Templates are copied to the new Scripts that are created e Al result records for the newly created Scripts will be set to the default result value of Outstanding When you are ready the last step is to click the Include button and the Set will be included in the selected Test Design Document Set Privileges Privileges for Sets work in very much the same way as privileges for other document types within QaTrag For example the usual View Modify New Delete and Copy privileges can be used to create modify and delete Sets However Sets do have an Include privilege This include privilege is required to Include the Templates referenced in a Set under a selected Test Design Document Copyright 2006 Trag Software Limited All Rights Reserved 19
32. rivileges restrict or allow copying of Templates to create new Test Scripts So you need gatekeeper privileges to be able to specify if Templates can be copied to Test Scripts Setting up a Gatekeeper To set a Gatekeeper you can either add the privileges to existing roles like Team Lead or create a new role Gatekeeper The advantage of creating a new Gatekeeper role is that with QaTrag roles and privileges you can just select a user and then add this role to the user Without Gatekeeper new modify copy privileges a user creating or modifying Templates is not able to increment the major or increment both major and minor version numbers of the Template Thus a user that has rights to modify Templates cannot move it to version x 0 e g 1 0 This is where the copy to Script value of Latest x 0 version comes into play Setting a Templates copy to script value to Latest x 0 allows users to modify the draft version of a Template but only the Gatekeeper can move the version to 1 0 2 0 etc enabling the Template to be copied to a Test Script Another point to consider is that a user creating a new Template without Gatekeeper privileges will mean that the default Copy to Script value of Prevent Copy will always be set in the Template This means a newly created Template cannot be copied to a Script until the gatekeeper modifies the Template and changes the Copy to Script value To be clear then the Modify New and Copy Gatekeeper priv
33. s Module for QaTraq Sets Sets have been added to the QaTraq Scripts Pro module to help manage large numbers of Templates and enable users to create multiple test scripts with ease As already explained in the first chapter are a list of symbolic links or references to Templates Sets do not contain copies or standalone instances of Templates They only contain a list of references to existing Templates QaTraq Sets provide you with a quick way to copy multiple Gules Saale Faas ise gaos Bas Bess Templates in one go in order to Jass Jenas Quaw Moues Fess Pius auss ero paws Juves oss create multiple Test Scripts Search for Sets to View Searches accross multiple fields will be executed with the amp operator Title ID Author Description When ou create the Set ou admin g Ld y y specify a number of links to Templates Later when you are Beta Testvoiunteer Jsem admin ooo ready you simply include this Set as a number of new Test Scripts in the Test Design document Title ID Author Number of Templates Unlike Templates and Scripts there is no version control for Sets Sets are contain references to version controlled Templates Sets are not a document type in their own right The Sets List Creating a New Set and Modifying an Existing One Creating a new set is a very simple procedure First you go to the Sets page click the Sets button in the top menu and th
34. sessesseeeeeeeeeeeees 10 DUNO GIy WS CSU GAS CS aso scesacine caste esr E E E 10 OV ESA Sere ye tetas E A 1 Copying Templates to Templates wssiccccssncnanadoscncesancepenanesemetasuaeserasenaaeindoncsesecas 11 Copying Templates to Scripts sssseseeeeeeeeesessssssssssssseeerrresssssssssssseeeeereereeeee 12 Copying Scripts to Templates aciccsccscsscceacecntcatnensnnerausonievecsessxaceucdsetacaneeeecuacnuaes 12 Templates Privileges and the Review Process cccccccecssseeseeeeeeeeeeeeeeeeees 13 E P A EEO O a A EE E E ET 13 The RE a EOC a cissoeete cceise tetas neacnatteaeradieenctang ete ase pusuatesaiossewenetat 14 BS E EA secre tats cel A AAAA 16 Creating a New Set and Modifying an Existing One ecceccceeeeeeeeeeneee 16 TC WN US E E te ctenseue T E E E E E T 17 Deleting and Copying Sets cccccccssssssssssssseeececeeeeeeeeeeeeeaaeeeaesssseseeeeeeeeeeeeees 18 Including Sets in a Test Design Document eee eeecccccecceeeeeeeeeeceeeeeaaeeeeees 18 CE PL VIC E S e E E E E 19 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Introduction Testing cannot be successful unless you take control of the test process QaTrag along with the Pro Test Scripts upgrade module help give you take control To be more precise the QaTraq Pro Test Scripts module gives you control over the development deployment and execution of your tests Complex applications require many test scripts and test cases to be ex
35. t Scripts Module for QaTraq An alternative way to create a new case and include it in one or more Script s and or Template s is to do it by clicking on the Cases link in the top menu of QaTrag The process of creating new Test Cases from there is similar to the already described one and besides it is described in detail in the User Guide http www testmanagement com user_stage_6 html so here we shall mention only the aspects that are related to Templates Search for Test Scripts bo iechede the current Test Case in Searches acorass multime fields will be eocecuted with the A operator i anp a After you have created a new Test E a mre Case you can search for Test Scripts and Test Templates to include it into rss 0 5 if ho 5 mpi TSEJ 0 5 C 10 E nalate Test Seripe tect 0 5 if 10 The screenshot on the left shows the part of the Test Case Details page Templates is displayed When you put a tick in the Update Script checkbox and save the Test Case this Test Case will be included to the selected Script s Template s Removing Test Cases from Templates Removing test cases is slightly more straightforward than including them First search for and select the appropriate Test Template put a Tarde Sibi a ehineris A aris Ga aes Sey ies ip eis j Eens Gees deaa H ae ena Gea Fasen eee sar Eoi as tick in the check boxes of the Test Cases you wish to remove and o
36. the amp operator Test Design Title this will open the page where you enter the information about your _ ce a the screenshot on the eft NAVIGATION a Es bese When you have selected the test design document you will be presented with the new Template screen From the new Template entry screen you will see that the core contents of a Template record within QaTragq are split into six sections Selecting Test Designs 1 Document Title and Version info 2 Parent Test Design 3 Intended Tester 4 Product and Product Version 5 Intended Platform 6 Intended Os 7 Copy to Script value 8 Attachments 9 Content 10 Test Cases 1 Document Title and Version Info This section contains the ee ee PE ee ee eee title given to this Template record the creation moditication date pnie Version Document ID and Author Version type Test Design Title or the last person to modify the ror majer o ai document The Type constant increment both admin testi id TMP shows that this document is Product version a a template Intended msa Ary x The radio button for incrementing the minor major or both versions of the new Template has the same functionality as for other document Test Procedures GN types You can choose to increment the minor version of the Pos Tast acras document the major version or both save amo wrew save ano mony
37. to change the priority for raea each test case scroll down further and T change the priority or order using the drop i down boxes for the for the particular test cases Priority and Test Cases QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Viewing Templates When you are on the page with the Templates list you will see a View button next to each Template Clicking on the View button will open the page in the screenshot below fobs SLRs Pe Mec A ues SA pues o a GP bonis Qae ise Hu us ea erases Genie emo pais Gp estas ces Tron plalims Virw Template Seriget B Titl l T Wil Test Design Tithe It Version L Terminate T st Dateegn TMF 2 05 wO 5 reation Ary o O omen ieue casts O oe cases Viewing Templates The View Templates Script page shows the following fields Title Test Design Title ID Version Template Test Design Author Creation Date Intended Tester Product Product Version Intended Platform Test Product Copy to Script Intended Os Content Also the Modify Copy Delete Include Cases and Delete Cases buttons are accessible from this page When you scroll down you will see a list of the Test Cases that have been included in the Template Deleting Templates Deleting Templates is similar to removing the other document types in QaTraq Deleting Templates regardless if you or somebody else
38. u already have a Test Script which you would like to turn into a Template If this is the case then use the Copy Script to Template option on the Templates copy page to search for and then copy a Test Script The new copy of the 12 QaTraq Pro Scripts Manual Professional Test Scripts Module for QaTraq Test Script which is created as a Template will be available so that you can go on to create many instances of this Template as Test Scripts The point to remember when copying a Script to a Template is that you will need to specify a Copy to Script value for this newly created Template This Copy to Script value limits or restricts how this new Template will be used when users decide to create new Test Scripts from the Template Please note that copying Scripts to Templates needs Template Copy privileges Templates Privileges and the Review Process The Template functionality fits into the existing QaTraq Users Roles and Privileges framework So by changing the privileges for your roles you can give users access to create New Modify Delete Copy and View Templates in the same way as every other QaTraq document type As Templates work in a similar manner to Test Scripts you also have privileges for including and removing test cases in Templates The key point to understand about implementing a review process is that the Gatekeeper privileges control other users ability to copy Templates to create Test Scripts The gatekeeper p
39. y be assigned to the product that was specified in the Template If you change the product in the search criteria then the New Test Case box will not be displayed To complete the test case and include it in this Test Template select the relevant Components and Requirements as well Order is used to order the test cases included in a Template If you specify an order of 0 then this is deemed to be the first test case to be listed in the Template lt is valid to specify the same order value for many test cases e g if several test cases have an Order value of O then they will be the first test cases in the Template You have no control over the order of test cases which have the same order value Alternatively you can give every test case a different Order value and guarantee that the order will be as you specify If you don t specify an Order value for a test case then it is given the Order value of 10 Priority can be used to indicate how important a test case is Priority values are specified in terms of P1 P2 P3 P4 or P5 P1 being the highest priority Thus you can identify which test cases a test team needs to concentrate on and complete first You could also use the priority to indicate to the tester the importance of this test case should the test case fail i e if its a high priority test case and the test case result is a fail then the priority of the bug raised should probably be high QaTraq Pro Scripts Manual Professional Tes
40. you will only be able to copy version 1 0 of a Template to a Script if that Template has a Copy to Script value of Latest x 0 and the Template actually has a version 1 0 available With Template Scripts minor versions greater than 0 can be considered a draft Template needing review So with Copy Latest x 0 you can create draft copies of Templates i e 0 1 1 1 1 2 which can t be copied to create Scripts However the latest major version i e 1 0 2 0 or 3 0 can be copied to Scripts When you copy a Template to a Script you can modify only the following fields for the newly created Script e Product Version Intended Platform Intended OS Design Intended Tester You will not be able to modify any of the following fields Product Title Version Content Attachments Note however that once the new script has been created you can modify any or all of these values if you have script modify privileges If you don t want users to modify scripts created from templates then remove the script modify privileges from the required users The other important point to note is that copying Templates to Scripts needs Template Copy and Script New Privileges Copying Scripts to Templates When you copy Templates you can assign them to a different Test Design document Then when you are ready to run a Test Script you copy the Template and place the newly created Template under a different Test Design document In some cases you may find yo
Download Pdf Manuals
Related Search
Related Contents
炭ー電離塵量ー 取扱説明書 " Arquivo do Manual Ummi Control. KC9036 KC9039 - Black & Decker Fujitsu ESPRIMO E9900 FEB227 User's Guide Universal Input 12W LED Ballast PCIe-IIRO-16 - ACCES I/O Products, Inc. Eizo SX2462W Samsung SGH-E870 Benutzerhandbuch Manuale di Uso e Manutenzione Copyright © All rights reserved.
Failed to retrieve file