Răsfoiți Sursa

case Tag添加

jo 1 an în urmă
părinte
comite
acf95dec43
19 a modificat fișierele cu 72 adăugiri și 2 ștergeri
  1. 4 0
      AllSuite/ClientSuite/DeviceInformationSuite/GetPersonDeviceListAsync.robot
  2. 1 0
      AllSuite/ClientSuite/OrganizationInformationSuite/AddOrganizationsAsync.robot
  3. 7 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetAllRanksAsync.robot
  4. 4 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetLangugeDataListAsync.robot
  5. 5 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetOrganizationByCodeAsync.robot
  6. 5 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetOrganizationSettingAsync.robot
  7. 4 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetParentOrganizationListAsync.robot
  8. 4 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetPersonOrganizationAsync.robot
  9. 5 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetRankByCodeAsync.robot
  10. 3 0
      AllSuite/ClientSuite/OrganizationInformationSuite/GetServerSettingAsync.robot
  11. 1 0
      AllSuite/ClientSuite/OrganizationInformationSuite/RemoveOrganizationsAsync.robot
  12. 11 0
      AllSuite/ClientSuite/OrganizationInformationSuite/SavePersonOrganizationAsync.robot
  13. 10 0
      AllSuite/ClientSuite/OrganizationInformationSuite/SearchOrganizationsAsync.robot
  14. 0 1
      AllSuite/ClientSuite/OrganizationInformationSuite/__init__.txt
  15. 2 0
      AllSuite/ClientSuite/PatientInformationSuite/CreatePatient.robot
  16. 4 0
      AllSuite/ClientSuite/PatientInformationSuite/FindPatientByCodeAsync.robot
  17. 1 0
      AllSuite/ClientSuite/PatientInformationSuite/FindPatients.robot
  18. 1 0
      AllSuite/ClientSuite/PatientInformationSuite/FindValidPatientsByName.robot
  19. 0 1
      AllSuite/ClientSuite/PatientInformationSuite/__init__.txt

+ 4 - 0
AllSuite/ClientSuite/DeviceInformationSuite/GetPersonDeviceListAsync.robot

@@ -10,20 +10,24 @@ ${method}         GetPersonDeviceListAsync
 
 *** Test Cases ***
 Class_001_查询个人名下所有设备列表接口,已绑定设备
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo22
     [Template]    getPersonDeviceListAsync_assertClass
     ${token}
 
 Class_002_查询个人名下所有设备列表接口,未绑定设备
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    xuejiao
     [Template]    getPersonDeviceListAsync_assertClassNull
     ${token}
 
 Exception_001_查询个人名下所有设备列表接口,Token非空校验
+    [Tags]    inexecution
     [Template]    getPersonDeviceListAsync_assertException
     ${EMPTY}    1002    Permission validation error
 
 Exception_002_查询个人名下所有设备列表接口,Token正确性校验
+    [Tags]    inexecution
     [Template]    getPersonDeviceListAsync_assertException
     99999999    1002    Permission validation error
 

+ 1 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/AddOrganizationsAsync.robot

@@ -11,6 +11,7 @@ ${method}         AddOrganizationsAsync
 
 *** Test Cases ***
 Class_001_添加部门 \ 部门名称需随机
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo22
     [Template]    addOrganizations_assertClassTrue
     ${token}    部门test    Organization_20220402033059L0189V    ${EMPTY}    0

+ 7 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetAllRanksAsync.robot

@@ -11,30 +11,37 @@ ${uri}            /IRankService
 
 *** Test Cases ***
 Class_001_获取所有职称,单个组织、包含职称
+    [Tags]    inexecution
     [Template]    getAllRanks_assertClass
     ${token}    Organization_2022031612051511AJL8
 
 Class_002_获取所有职称,多个组织、包含职称
+    [Tags]    inexecution
     [Template]    getAllRanks_assertClass
     ${token}    Organization_2022031612051511AJL8|Organization_20220316112911z3Fv8H
 
 Class_003_获取所有职称,单个组织、不包含职称
+    [Tags]    inexecution
     [Template]    getAllRanks_assertClassNull
     ${token}    Organization_202203020833096S18eE
 
 Class_004_获取所有职称,多个组织、不包含职称
+    [Tags]    inexecution
     [Template]    getAllRanks_assertClassNull
     ${token}    Organization_20220302075923FcyxLj|Organization_20220302080016510cQE|Organization_2022030208285601NQCo
 
 Class_005_获取所有职称,不填写组织
+    [Tags]    inexecution
     [Template]    getAllRanks_assertClass
     ${token}    ${EMPTY}
 
 Exception_001_获取所有职称,Token非空校验
+    [Tags]    inexecution
     [Template]    getAllRanks_assertException
     ${EMPTY}    Organization_20220302075923FcyxLj|Organization_20220302080016510cQE|Organization_2022030208285601NQCo    1002    Permission validation error
 
 Exception_002_获取所有职称,Token正确性校验
+    [Tags]    inexecution
     [Template]    getAllRanks_assertException
     ${EMPTY}    Organization_20220302075923FcyxLj|Organization_20220302080016510cQE|Organization_2022030208285601NQCo    1002    Permission validation error
 

+ 4 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetLangugeDataListAsync.robot

@@ -11,18 +11,22 @@ ${method}         GetLangugeDataListAsync
 
 *** Test Cases ***
 Class_001_获取语言配置列表,中文
+    [Tags]    inexecution
     [Template]    getLangugeDataListAsync_assertClass
     ${token}    zh-CN    ${EMPTY}    ${EMPTY}
 
 Class_002_获取语言配置列表,英文
+    [Tags]    inexecution
     [Template]    getLangugeDataListAsync_assertClass
     ${token}    en-US    ${EMPTY}    ${EMPTY}
 
 Exception_001_获取语言配置列表,Token非空校验
+    [Tags]    inexecution
     [Template]    getLangugeDataListAsync_assertException
     ${EMPTY}    en-US    ${EMPTY}    ${EMPTY}    1002    Permission validation error
 
 Exception_002_获取语言配置列表,Token正确性校验
+    [Tags]    inexecution
     [Template]    getLangugeDataListAsync_assertException
     11111111    en-US    ${EMPTY}    ${EMPTY}    1002    Permission validation error
 

+ 5 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetOrganizationByCodeAsync.robot

@@ -11,22 +11,27 @@ ${method}         GetOrganizationByCodeAsync
 
 *** Test Cases ***
 Class_001_根据编号获取机构信息
+    [Tags]    inexecution
     [Template]    getOrganizationByCode_assertClass
     ${token}    Organization_20220402033059L0189V
 
 Class_002_根据编号获取机构信息,填写不存在组织编码
+    [Tags]    inexecution
     [Template]    getOrganizationByCode_assertClassNull
     ${token}    Test00001
 
 Exception_001_根据编号获取机构信息,OrganizationCode非空校验
+    [Tags]    inexecution
     [Template]    getOrganizationByCode_assertException
     ${token}    ${EMPTY}    1001    Code can't be null
 
 Exception_002_根据编号获取机构信息, Token非空校验
+    [Tags]    inexecution
     [Template]    getOrganizationByCode_assertException
     ${EMPTY}    Organization_20220402033059L0189V    1002    Permission validation error
 
 Exception_003_根据编号获取机构信息, Token正确性检验
+    [Tags]    inexecution
     [Template]    getOrganizationByCode_assertException
     1234567890    Organization_20220402033059L0189V    1002    Permission validation error
 

+ 5 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetOrganizationSettingAsync.robot

@@ -11,22 +11,27 @@ ${method}         GetOrganizationSettingAsync
 
 *** Test Cases ***
 class_001_获取机构配置信息(病人),版本号小于最新版本
+    [Tags]    inexecution
     [Template]    getOrganizationSettingAsync_assertClass
     ${token}    0    0.1
 
 class_002_获取机构配置信息(检查),版本号小于最新版本
+    [Tags]    inexecution
     [Template]    getOrganizationSettingAsync_assertClass
     ${token}    1    0.1
 
 Exception_001_获取机构配置信息(病人、检查),版本号大于/等于最新版本
+    [Tags]    inexecution
     [Template]    getOrganizationSettingAsync_assertException
     ${token}    1    99    1001    Not real version
 
 Exception_002_获取机构配置信息(病人、检查),版本号格式正确性检查
+    [Tags]    inexecution
     [Template]    getOrganizationSettingAsync_assertException
     ${token}    1    99.0    1001    This is the latest version
 
 Exception_003_获取机构配置信息(病人、检查),Token非空校验
+    [Tags]    inexecution
     [Template]    getOrganizationSettingAsync_assertException
     ${EMPTY}    1    0.1    1002    Permission validation error
 

+ 4 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetParentOrganizationListAsync.robot

@@ -11,20 +11,24 @@ ${method}         GetParentOrganizationListAsync
 
 *** Test Cases ***
 Class_001_查询上级机构列表
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo22
     [Template]    getParentOrganizationListAsync_assertClass
     ${token}
 
 Class_002_查询上级机构列表,用户未完善个人信息
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo0416
     [Template]    getParentOrganizationListAsync_assertClassNull
     ${token}
 
 Exception_001_Token非空校验
+    [Tags]    inexecution
     [Template]    getParentOrganizationListAsync_assertException
     ${EMPTY}    1002    Permission validation error
 
 Exception_002_Token正确性检验
+    [Tags]    inexecution
     [Template]    getParentOrganizationListAsync_assertException
     11111111111    1002    Permission validation error
 

+ 4 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetPersonOrganizationAsync.robot

@@ -10,21 +10,25 @@ ${method}         GetPersonOrganizationAsync
 
 *** Test Cases ***
 Class_001_查询机构详细信息
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo22
     [Template]    getPersonOrganizationAsync_assertClass
     ${token}
 
 Exception_001_查询机构详细信息,用户未完善个人信息
+    [Tags]    inexecution
     [Setup]    get_login_token    ${URL}    jo0416
     [Template]    getPersonOrganizationAsync_assertException
     ${token}    1002    Organization Code Empty error
 
 Exception_002_查询机构详细信息,token非空检验
+    [Tags]    inexecution
     [Setup]
     [Template]    getPersonOrganizationAsync_assertException
     ${EMPTY}    1002    Permission validation error
 
 Exception_003_查询机构详细信息,token正确性检验
+    [Tags]    inexecution
     [Setup]
     [Template]    getPersonOrganizationAsync_assertException
     1111111    1002    Permission validation error

+ 5 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetRankByCodeAsync.robot

@@ -12,22 +12,27 @@ ${method}         GetRankByCodeAsync
 
 *** Test Cases ***
 Class_001_根据编码获取职称信息,包含职称
+    [Tags]    inexecution
     [Template]    getRankByCode_assertClass
     ${token}    UserRankDO_20220316115514V07f63
 
 Class_002_根据编码获取职称信息,不包含职称
+    [Tags]    inexecution
     [Template]    getRankByCode_assertClassNull
     ${token}    Organization_202203020833096S18eE
 
 Exception_001_根据编码获取职称信息,Token正确性校验
+    [Tags]    inexecution
     [Template]    getRankByCode_assertException
     11111    UserRankDO_20220126135848Kk4as7    1002    Permission validation error
 
 Exception_002_根据编码获取职称信息,Token非空校验
+    [Tags]    inexecution
     [Template]    getRankByCode_assertException
     ${EMPTY}    UserRankDO_20220126135848Kk4as7    1002    Permission validation error
 
 Exception_003_根据编码获取职称信息,RankCode非空校验
+    [Tags]    inexecution
     [Template]    getRankByCode_assertException
     ${token}    ${EMPTY}    1001    Code can't be null
 

+ 3 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/GetServerSettingAsync.robot

@@ -11,14 +11,17 @@ ${method}         GetServerSettingAsync
 
 *** Test Cases ***
 Class_001_客户端获取Server配置
+    [Tags]    inexecution
     [Template]    getServerSettingAsync_assertClass
     ${token}
 
 Exception_001_客户端获取Server配置,Token非空校验
+    [Tags]    inexecution
     [Template]    getServerSettingAsync_assertException
     ${EMPTY}    1002    Permission validation error
 
 Exception_002_客户端获取Server配置,Token正确性校验
+    [Tags]    inexecution
     [Template]    getServerSettingAsync_assertException
     111111111111111111    1002    Permission validation error
 

+ 1 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/RemoveOrganizationsAsync.robot

@@ -10,6 +10,7 @@ ${method}         RemoveOrganizationsAsync
 
 *** Test Cases ***
 Class_001_删除组织,删除单个组织
+    [Tags]    inexecution
 
 *** Keywords ***
 removeOrganizations_Post

+ 11 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/SavePersonOrganizationAsync.robot

@@ -10,16 +10,19 @@ ${method}         SavePersonOrganizationAsync
 
 *** Test Cases ***
 Class_001_保存机构信息
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0
 
 Class_002_保存机构信息,修改RegionCode(地区编码)
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320100    0
 
 Class_003_保存机构信息,修改ParentCode(上级机构)
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220316112911z3Fv8H    320500    0
@@ -31,41 +34,49 @@ Class_004_保存机构信息,修改LogoUrl(Logo)
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0
 
 Class_005_保存机构信息,修改OrganizationCode(机构)
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033149q92esc    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    ${EMPTY}    320500    0
 
 Class_006_保存机构信息,修改OrganizationName(机构名称)
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院修改    Organization_20220402033149q92esc    320500    0
 
 Class_007_保存机构信息,修改PatientType(服务对象)
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertClassTrue
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    1
 
 Exception_001保存机构信息,Token非空校验
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertException
     ${EMPTY}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0    1002    Permission validation error
 
 Exception_002_保存机构信息,Token正确性校验
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertException
     1234567890123    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0    1002    Permission validation error
 
 Exception_003_保存机构信息,OrganizationCode非空校验
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertException
     ${token}    ${EMPTY}    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0    1001    OrganizationCode Empth Error
 
 Exception_004_保存机构信息,OrganizationCode正确性校验
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertException
     ${token}    123    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    jo测试医院    Organization_20220402033149q92esc    320500    0    1002    OrganizationName Empth Error
 
 Exception_005_保存机构信息,OrganizationName非空校验
+    [Tags]    inexecution
     [Setup]
     [Template]    savePersonOrganizationAsync_assertException
     ${token}    Organization_20220402033059L0189V    http://192.168.6.117:9303/Flyinsono-BJ-1300984704.VCS.AP-BeiJing/caihong.JPG    ${EMPTY}    Organization_20220402033149q92esc    320500    0    1001    Permission validation error

+ 10 - 0
AllSuite/ClientSuite/OrganizationInformationSuite/SearchOrganizationsAsync.robot

@@ -11,42 +11,52 @@ ${uri}            /IOrganizationService
 
 *** Test Cases ***
 Class_001_获取组织信息,组织类型为医院
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertClass
     ${token}    ${EMPTY}    ${EMPTY}    "0"
 
 Class_002_获取组织信息,组织类型为部门
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertClass
     ${token}    ${EMPTY}    ${EMPTY}    "1"
 
 Class_003_获取组织信息,组织类型为科室
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertNull
     ${token}    ${EMPTY}    ${EMPTY}    "2"
 
 Class_004_获取组织信息,填写OrganizationName中包含的关键字
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertClass
     ${token}    医院    ${EMPTY}    "0"
 
 Class_005_获取组织信息,填写OrganizationName中不包含的关键字
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertNull
     ${token}    哈哈哈哈哈哈哈哈&*&*((    ${EMPTY}    "0"
 
 Class_006_获取组织信息,填写存在下级部门的父级编码
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertClass
     ${token}    ${EMPTY}    Organization_20220402033149q92esc    "0"
 
 Class_007_获取组织信息,填写不存在下级部门的父级编码
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertNull
     ${token}    ${EMPTY}    123456789    "0"
 
 Class_008_获取组织信息,填写不存的组织类型
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertNull
     ${token}    ${EMPTY}    ${EMPTY}    "999999"
 
 Exception_001_搜索组织,Token非空校验
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertException
     ${EMPTY}    ${EMPTY}    ${EMPTY}    "0"    1002    Permission validation error
 
 Exception_002_搜索组织,Token正确性校验
+    [Tags]    inexecution
     [Template]    searchOrganizations_assertException
     1234567890    ${EMPTY}    ${EMPTY}    "0"    1002    Permission validation error
 

+ 0 - 1
AllSuite/ClientSuite/OrganizationInformationSuite/__init__.txt

@@ -1,2 +1 @@
 *** Settings ***
-Force Tags        inexecution

+ 2 - 0
AllSuite/ClientSuite/PatientInformationSuite/CreatePatient.robot

@@ -10,6 +10,7 @@ ${method}         CreatePatient
 
 *** Test Cases ***
 test
+    [Tags]    inexecution
     ${body}    Create Dictionary
     Set To Dictionary    ${body}    jsonrpc    2.0
     Set To Dictionary    ${body}    method    CreatePatient
@@ -30,6 +31,7 @@ test
     Log    ${body}
 
 test2
+    [Tags]    inexecution
     ${body}    Create Dictionary
     Set To Dictionary    ${body}    jsonrpc    2.0
     Set To Dictionary    ${body}    method    CreatePatient

+ 4 - 0
AllSuite/ClientSuite/PatientInformationSuite/FindPatientByCodeAsync.robot

@@ -11,18 +11,22 @@ ${method}         FindPatientByCodeAsync
 
 *** Test Cases ***
 Class_001_查询病人详细信息
+    [Tags]    inexecution
     [Template]    findPatientByCode_assertClass
     ${token}    PatientInfoDO_202209060308023hLHXE
 
 Class_002_查询病人详细信息,病人编码不存在
+    [Tags]    inexecution
     [Template]    findPatientByCode_assertClassNull
     ${token}    PatientInfoDO_
 
 Exception_001_Token非空校验
+    [Tags]    inexecution
     [Template]    findPatientByCode_assertException
     ${EMPTY}    PatientInfoDO_20220516083707wCNXvA    1    Permission validation error
 
 Exception_002_Token正确性校验
+    [Tags]    inexecution
     [Template]    findPatientByCode_assertException
     111111    PatientInfoDO_20220516083707wCNXvA    1    Permission validation error
 

+ 1 - 0
AllSuite/ClientSuite/PatientInformationSuite/FindPatients.robot

@@ -13,6 +13,7 @@ ${method}         FindPatientsAsync
 
 *** Test Cases ***
 Class_001_分页查询病人列表
+    [Tags]    inexecution
     [Template]    findPatients_assertClass
     ${token}    1    10
 

+ 1 - 0
AllSuite/ClientSuite/PatientInformationSuite/FindValidPatientsByName.robot

@@ -11,6 +11,7 @@ ${method}         FindValidPatientsByName
 
 *** Test Cases ***
 Class_001_获取有效相同病人名称的列表
+    [Tags]    inexecution
     [Template]    findValidPatientsByName_assertClass
     ${token}    12
 

+ 0 - 1
AllSuite/ClientSuite/PatientInformationSuite/__init__.txt

@@ -1,2 +1 @@
 *** Settings ***
-Force Tags        inexecution