[ ]
[ ] ////-----------------------//TesCases//---------------------------------------
[ ] //-------------------------------------------------------------------------
[-] //Testcases for WinAdminShell
[+] testcase TLoginFirst()appstate AfterSuperLogin
[-] do
[ ] ActivTestAdministration.Help.Contents.Pick()
[ ] ActivTestAdministrationShell.Close()
[ ] ActivTestAdministration.Exit()
[-] except
[ ] Print("Failed")
[ ] ActivTestAdministration.Exit()
[ ]
[ ]
[+] testcase TLogout() appstate none
[-] do
[ ] Logout()
[-] except
[ ] Print("Failed")
[ ]
[ ]
[+] testcase TCreateHierarhy()appstate SystemAdministratorStart
[-] do
[ ] SuperUser = SystemAdministration.VerticalSplitter.SWFSplitter.HierarchyPanel.OrganisationalHierarchy.GetContents()[1]
[ ] RecoveryInfo.HierarchyLevel = SuperUser
[ ] CreateHNode(IDHierarchy[1], NameHierarchy[1])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]
[ ] CreateHNode(IDHierarchy[2], NameHierarchy[2])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]
[ ] CreateHNode(IDHierarchy[3], NameHierarchy[3])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]
[ ] CreateHNode(IDHierarchy[4], NameHierarchy[4])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4]
[ ] CreateHNode(IDHierarchy[5], NameHierarchy[5])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4]+"/"+NameHierarchy[5]
[ ]
[ ] EditTestCentreLab()
[ ]
[ ] EditTestCentreLab()
[ ]
[ ] CreateHNode(IDHierarchy[6], NameHierarchy[6])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4]+"/"+NameHierarchy[5]+"/"+NameHierarchy[6]
[ ] SystemAdministration.VerticalSplitter.SWFSplitter.HierarchyPanel.OrganisationalHierarchy.Select (SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4])
[ ] CreateHNode(IDHierarchy[7], NameHierarchy[7])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4]+"/"+NameHierarchy[7]
[ ] SystemAdministration.VerticalSplitter.SWFSplitter.HierarchyPanel.OrganisationalHierarchy.Select (SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4])
[ ] CreateHNode(IDHierarchy[8], NameHierarchy[8])
[ ] RecoveryInfo.HierarchyLevel = SuperUser+"/"+NameHierarchy[1]+"/"+NameHierarchy[2]+"/"+NameHierarchy[3]+"/"+NameHierarchy[4]+"/"+NameHierarchy[8]
[ ]
[ ] ActivTestAdministration.Exit()
[-] except
[ ] Print("Failed")
[ ] ActivTestAdministration.Exit()
[ ]
[+] testcase TManageUserAttributes()appstate UserAttributesStart
[-] do
[ ] UserAttributes()
[ ] ActivTestAdministration.Exit()
[-] except
[ ] Print("Failed")
[ ] ActivTestAdministration.Exit()
[ ]
[+] testcase TCreateUKAdmin()appstate SystemAdministratorStart
[-] do
[ ] CreateAdministrator(SuperUser+"/"+NameHierarchy[1], ukadmin, ukadmin, NameHierarchy[1], "Admin", ukadmin, 1, NonePermission)
[ ] ActivTestAdministration.Exit()
[-] except
[ ] Print("Failed")
[ ] ActivTestAdministration.Exit()
[ ]
[ ]
[+] testcase TPackageInstallation()appstate ActTestStart
[-] do
[ ] ActivTestAdministration.SetActive()
[ ] LogIn.Invoke()
[ ] ConnectionType = LogIn.Connection.ConnectionTable.RadioWebService.GetContents()[GetConnecType]
[ ] Login(ukadmin, ukadmin, Server, ConnectionType)//Change login information
[ ] //--------------------------------------------------------
[ ] Agent.SetOption (OPT_WINDOW_TIMEOUT, 1500)
[ ] ActivTestAdministration.SetActive()
[ ] PackageInstallation(Packages)//Change path to the packages
[ ] Agent.SetOption (OPT_WINDOW_TIMEOUT, 15)
[ ] ActivTestAdministration.Exit()
[-] except
[ ] Print("Failed")
[ ] ActivTestAdministration.Exit()
[ ]
[ ]
[ ]
[+] testcase TPacAssignment()appstate ActTestStart
[-] do
[ ] ActivTestAdministration.SetActive()
[ ] LogIn.Invoke()
[ ] ConnectionType = LogIn.Connection.ConnectionTable.RadioWebService.GetContents()[GetConnecType]
[ ] Login(ukadmin, ukadmin, Server, ConnectionType)//Change login information
[ ] ActivTestAdministration.Edit.SystemAdministration.Pick ()
[ ] SystemAdministration.VerticalSplitter.SWFSplitter.HierarchyPanel.OrganisationalHierarchy.TypeKeys ("<#Times>")
[ ] int tmp
[-] for (tmp = 2; tmp < (ListCount(NameHierarchy)-1); ++tmp)
[ ] RecoveryInfo.HierarchyLevelNum = tmp
[-] do
[ ] SystemAdministration.SetActive ()
[ ] SystemAdministration.Tools.PackageAssignment.Pick ()
[-] if(PackageAssignment.Exists())
[ ] PackageAssignment()
[-] else
public void ИмяФункции_выдать_ArgumentNullException_если
_передан_null()
{
//…
}
Если не удалось найти и скачать презентацию, Вы можете заказать его на нашем сайте. Мы постараемся найти нужный Вам материал и отправим по электронной почте. Не стесняйтесь обращаться к нам, если у вас возникли вопросы или пожелания:
Email: Нажмите что бы посмотреть