示例#1
0
 def test_EAdminPage(self):
     h4 = HomePageElements(driver)
     h4.MoveAdminPage()
     h4.MoveUserManagement()
     h4.UserPage()
     userpage = driver.current_url
     assert userpage in 'https://opensource-demo.orangehrmlive.com/index.php/admin/viewSystemUsers'
示例#2
0
 def test_LverifyDetails(self):
     h8 = HomePageElements(driver)
     h8.verify_confirmpasswrod()
     h8.verify_EmplyeeName()
     h8.verify_labelUserRole()
     h8.verify_Password()
     h8.verify_helptext()
     h8.verify_Status()
示例#3
0
 def test_Kadduser(self):
     h7 = HomePageElements(driver)
     h7.Add_Addbutton()
     time.sleep(5)
     h7.user_Addrole()
     h7.add_employee("Steven Edwards")
     h7.add_username("MyDearHes")
     h7.add_status()
     h7.Addpassword("Hellomydear")
     h7.confirmpassword("Hellomydear")
     h7.SaveUser()
示例#4
0
 def test_HSearch(self):
     h6 = HomePageElements(driver)
     h6.Seach_User()
     h6.Data_Search()
示例#5
0
 def test_FUserFourm(self):
     h5 = HomePageElements(driver)
     h5.EnterUsername("SriHari")
     h5.Userrole()
示例#6
0
 def test_DLeave(self):
     h3 = HomePageElements(driver)
     h3.PendingLeavesRequest()
示例#7
0
 def test_CLegend(self):
     h2 = HomePageElements(driver)
     h2.LegendValues()
示例#8
0
 def test_BDistribution(self):
     h1 = HomePageElements(driver)
     h1.EmployeeDistribution()