def setUpClass(cls):
     cls.setUpBeforClass()  # setup test before starting.
     cls.Pages_Android = Pages_Android(
         cls.UI_Android)  # create page objects of Android test.
     cls.Pages = cls.Pages_Android  # Just make it simple since generally only one of Android, Ios and Web may be tested.
     '''
     1. Description and Expected Result will be loaded automatically from caseInfo.xlsx if you invoke
     cls.Result.load_android_case_info_from_excel()/cls.Result.load_ios_case_info_from_excel()/cls.Result.load_web_case_info_from_excel().
     2. You also can specify the sheet name cls.Result.load_android_case_info_from_excel("xxxx"), if you leave it as empty, the 
     class name will be the as default sheet name.
     '''
     # cls.Result.load_android_case_info_from_excel()
     # TestData_Android.Sheet_example.dp_msg_upload_waiting()
     '''
예제 #2
0
 def setUpClass(cls):
     cls.setUpBeforClass()  # setup test before starting.
     cls.Pages_Android = Pages_Android(cls.UI_Android)  # create page objects of Android test.
     cls.Pages = cls.Pages_Android  # Just make it simple since generally only one of Android, Ios and Web may be tested.