管理服务接口升级关键字以及用例提交
This commit is contained in:
44
01-TestCase/tsg_bfapi/Object/Manage.robot
Normal file
44
01-TestCase/tsg_bfapi/Object/Manage.robot
Normal file
@@ -0,0 +1,44 @@
|
||||
*** Settings ***
|
||||
# Test Teardown DeletePolicyAndGroupObject ${policyIds} ${objectIds}
|
||||
Resource ../../../02-Keyword/tsg_bfapi/PolicyObject.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/policy_object/Policy.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/policy_object/Object.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/policy_object/Log.robot
|
||||
Resource ../../../02-Keyword/tsg_bfapi/Common.robot
|
||||
Resource ../../../03-Variable/ApplicationID.txt
|
||||
Library ../../../04-CustomLibrary/Library/delUseless.py
|
||||
Library ../../../04-CustomLibrary/Custometest/JsonDiff.py
|
||||
Library json
|
||||
Library DateTime
|
||||
*** Variables ***
|
||||
@{policyIds}
|
||||
@{profiles}
|
||||
${objectIds} ${EMPTY}
|
||||
${applicationDictUrl} /application/update/dict
|
||||
${fileUploaduRL} /system/feature/update/
|
||||
*** Test Cases ***
|
||||
update_applicationDict
|
||||
ImportApplication uploadFiles applicationDict.exe ${EMPTY} 200
|
||||
|
||||
update_fileUpload_appSignature
|
||||
ImportApplication uploadFiles appSignature.exe app_signature 200
|
||||
|
||||
update_fileUpload_app_library
|
||||
ImportApplication uploadFiles applibrary.exe app_library 200
|
||||
|
||||
update_install1
|
||||
${updateDict} Create Dictionary profileId=123456 feature=app_signature
|
||||
UpdateInstall ${updateDict}
|
||||
update_install2
|
||||
${updateDict} Create Dictionary profileId=223 feature=app_library
|
||||
UpdateInstall ${updateDict}
|
||||
QueryUpadateRecord1
|
||||
QueryUpadateRecord pageSize=20&pageNo=1&orderBy=opTime desc,contentType asc&profileId=&profileIds=&version=&fileName=&feature=app_signature 200
|
||||
QueryUpadateRecord2
|
||||
QueryUpadateRecord pageSize=10000&pageNo=3&orderBy=opTime asc,contentType asc&feature=app_library 200
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user