您好,欢迎来到尚车旅游网。
搜索
您的当前位置:首页Test Case测试用例模板

Test Case测试用例模板

来源:尚车旅游网
ModuleCompatibilitySubmoduleCaseID214215216217218UILogin/out219220221222223224225226227228PermissionSkipTrainingCertificateValidation229230GetResponseCode231232233234GetResponseCode-iXPay/SPM235GetResponseCode-Fushion236GetResponseCode-iGem237GetResponseCode-NAMOS238GetResponseCode-Necleus239GetResponseCode-Multipleasset type240GetResponseCode-iGEM2241242243244245246247248AccessAudit Log249250251ManageTrainingCertificates252253ViewTrainingCertificates254255MultiplePermision256Test CaseCheck Code Dealer on Safari, the ui and function work well.Check Code Dealer on Chrome, the ui and function work well.Check Code Dealer on Firefox, the ui and function work well.Check Code Dealer on Edge, the ui and function work well.Check each page's ui display well(eg:button, link, align).Open Code Dealer website, enter a correct email on login page's Username textbox,click Password textbox or login button,should redirect and jump to Wayne login page.After you enter correct account and password in the Wayne Fueling System login pageand click login button,should login success and jump to Code Dealer's user list page.Open User Management login page, enter an invalid email (eg:aaa) and click loginbutton, should show message: Invalid email address.Wayne login page:Precondistion: Open Code Dealer website login page, enter a correct email and clicklogin button,should redirect and jump to Wayne login page.On Wayne login page, enter an invalid email (eg:aaa) and click login button, shouldshow message: Invalid email address.Precondition: Open Code Dealer website login page, enter a correct email and clicklogin button,should redirect and jump to Wayne login page.On Wayne login page, enter wrong email or password and click login button, shouldshow message:authorization failed.When User management does not exsit user:Test@gmail. com, but exists in Kroger'sIDP , and IDP has a User Group 1 to this user, and User Management's Krogerorganization has a user group named User Group 1(Assigned Code Dealer role1):Check the user login Code Dealer has the role1's permission.When User management has a user:Test@gmail. com, which is added in Krogerorganization's User group 1(Assigned Code Dealer role1), and also exists in Kroger's IDP, which has a User Group 2 to this user, and Kroger organization's has a user groupnamed User group 2(Assigned Code Dealer role2)Check the user login Code Dealer should has the user group1( role1) and user group2(role2)'s permission.When user A has been deleted from all the user group, login the Code Dealer ,shouldalert: You don't have any permission for application Code DealerWhen user A has not assign user managemen application's any role, login the CodeDealer,should alert: You don't have any permission for application Code DealerWhen click the log out button, should jump to the Wayn login page (and will alsoautomatically log out on Wayne).Precondition:1.When assign role 1 (which select 1.Skip Training Certificate Validation permission2.User Group Permission 3.Get Response Code Permission 4.Get Response CodePermission's all asset types) to a organization's user group,and the user group has userA2. Under the certificate module, there is no record of user A or only one records ofuser A (if one certificate Type is iGEM)Check the user A login Code Dealer:1. Only can see Log Activity module.2. Can Get Response Code for any device type.Precondition:1.When assign role 1 (which select 1.Skip Training Certificate Validation permission2.User Group Permission 3.Get Response Code Permission 4.Get Response CodePermission's all asset types) to a organization's user group,and the user group has userA2. Under the certificate module, there is one record of user A which certificate Type isiGEM, but status is expire.Check the user A login Code Dealer:1. Only can see Log Activity module.2. Only can Get Response Code for iGEM.Precondition:1.When assign role 1 (which select 1.Get Response Code Permission 2.UserGroupPermission and asset 3.iGEM asset type) to a organization's user group,and the usergroup has user A2. Under the certificate module, there is no record of user A which certificate Type isiGEM.Check the user A login Code Dealer:1. Only can see Log Activity module.2. Can Get Response Code for iGEM.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2.User GroupAsset type 3.iGEM asset type) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is iGEM), but Status has expired.Check the user A login Code Dealer:1.Click the Request Code For drop button just display iGEM.2.Select iGEM enter the correct Chanllenge Code and click Get Response Code button,should not display Response Code.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2.iXPay/SPM assettype but unselect UserGroup Asset type) to a organization's user group,and the usergroup has user A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is iXPay/SPM), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For drop button,iXPay/SPM is empty.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2.iXPay/SPM assettype 3. UserGroup Asset type) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is iXPay/SPM), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For drop button should just display iXPay/SPM.2.Select iXPay/SPM, enter the correct Chanllenge Code, click Get Response Codebutton should get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.Fushion asset type ) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is Fushion), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display Fushion.2.Select Fushion, enter the correct Chanllenge Code, click Get Response Code buttonshould get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM asset type ) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is iGEM), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM.2.Select iGEM, enter the correct Chanllenge Code, click Get Response Code buttonshould get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.NAMOS asset type ) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is NAMOS), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display NAMOS.2.Select NAMOS, enter the correct Chanllenge Code, click Get Response Code buttonshould get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.Necleus asset type ) to a organization's user group,and the user group hasuser A.2. Under the certificate module, there is a record of user A or only one records of userA (if one certificate Type is Necleus), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display Necleus.2.Select Necleus, enter the correct Chanllenge Code, click Get Response Code buttonshould get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM asset type 4.NAMOS asset type 5.Fushion asset type) to aorganization's user group,and the user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM, NAMOS, Fushion), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM, NAMOS,Fushion.2.Select iGEM/NAMOS/Fushion, enter the correct Chanllenge Code, click Get ResponseCode button should get response code success.Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Developer Access asset type ) to a organization's user group,andthe user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the admin access asset type's func and sub func), click GetResponse Code button should pop message \"You don't have permission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Administrative Access asset type ) to a organization's usergroup,and the user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the Developer Access asset type's func and sub func), clickGet Response Code button should pop message \"You don't have permission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Basic Service Access asset type) to a organization's user group,andthe user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the IGEM2 Administrative Access asset type's func and subfunc), click Get Response Code button should pop message \"You don't havepermission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Developer Access asset type) to a organization's user group,andthe user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the IGEM2 Developer Access asset type's func and subfunc), click Get Response Code button should pop message \"You don't havepermission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Administrative Access asset type ) to a organization's usergroup,and the user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the IGEM2 Administrative Access asset type 's func and subfunc), click Get Response Code button should pop message \"You don't havepermission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.iGEM2 Basic Service Access asset type ) to a organization's usergroup,and the user group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID(thechanllenge code content is the IGEM2 Basic Service Access asset type's func and subfunc), click Get Response Code button should pop message \"You don't havepermission\".Precondition:1.When assign role 1 (which select 1.Get Response Code permission 2. UserGroupAsset type 3.IGEM2 Developer Access asset type, 4.IGEM2 Administrative Access assettype 5.IGEM2 Basic Service Access asset type ) to a organization's user group,and theuser group has user A.2. Under the certificate module, there are three records of user A (if one certificateType is iGEM2), but Status is active.Check the user A login Code Dealer:1.Click the Request Code For dropdown button should just display iGEM2.2.Select iGEM2, enter the correct Chanllenge Code, Serial Number, User ID, click GetResponse Code button should produce the response code for develop, administrative,basic acccess asset type.When a user just have Get Response Code permission , Check can not access if directinput the certificates or Audit Log module's URL. 1. On the opened cd page, enter Audit Log's url:should pop message \"don't havepermission\" and the page not jump.2.On new page,enter Audit Log's url:the page will auto jump to a page havepermissions(such as Log Activity).A user just have Audit Log permission, login cd: 1. Check just display Audit Log module. 2. Check the module function work fine. 3. Check the Code Type display all types evenif just distribute one type of get responsecode.A user just have Audit Log permission, login cd, click theCode dealer or Dever FuelingSystem near by the Audit Log, check should turn to the Audit Log module, and displaythe data on Audit Log.A user just have Audit Log permission, check enter the url for certificates or LogActivity module, can not access this page.A user just have Manage Training Certificates permission,Login cd: 1. The page should just display the Certificates module. 2. Display Upload button. 3. Enter the url for other not Certificates module can not access this page.A user just have Get Response Code permission,Login cd: 1. Because this user has no permission to access Training module, so can not accessthis page, but have the permission for upload, and should turn to \"https://codedealer-dev.azurewebsites.net/#!/certificates/upload \" if login. 2. Check after upload, should still on upload page.A user just have View Training Certificates permission, Login cd: 1. The page should display Certificates. 2. Do not display the Upload.Enter the upload Certificates url manual can not be access.Check the user have all the permission(Get Response Code,Audit Log,ManageTraining Certificates,View Training Certificates) , all page can display and action.ResultPass-0928Pass-0928Pass-0928Pass-0928Pass-0928Pass-0921Pass-0921Pass-0921Pass-0921Pass-0921Pass-0932Pass-0921Pass-0921Pass-0921Pass-09211. 用户A在UM里分配了Role 1(只勾选了Get ResponseCode Permission以及该permission下面UserGroup Assettype 和iXPay/SPM assettype)

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- sceh.cn 版权所有

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务