Exemple #1
0
 def choose_device_conversion(self, device):
     device_group = devices.dev_attr(device, 'group')
     menu_img = getattr(self,
                        "".join(["_",
                                 device_group.upper(), "_", "MENU"]))
     click(menu_img)
     click(device)
 def verify_device_format_selected(self, device):
     device_group = devices.dev_attr(device, 'group')
     if device_group == 'Format':
         if exists(device):
             return True
     else:
         if exists(device) and exists("MP4"): #all devices are mp4 by default
             return True
Exemple #3
0
 def verify_device_format_selected(self, device):
     device_group = devices.dev_attr(device, 'group')
     if device_group == 'Format':
         if exists(device):
             return True
     else:
         if exists(device) and exists(
                 "MP4"):  #all devices are mp4 by default
             return True
def device_output(option):
    dev_output_format = devices.dev_attr(option, 'container')
    return device_output_format
def device_group(option):
    menu_group = devices.dev_attr(option, 'group')
    return menu_group
def device_output(option):
    dev_output_format = devices.dev_attr(option, 'container')
    return device_output_format
def device_group(option):
    menu_group = devices.dev_attr(option, 'group')
    return menu_group
 def choose_device_conversion(self, device):
     device_group = devices.dev_attr(device, 'group')
     menu_img = getattr(self, "".join(["_",device_group.upper(),"_","MENU"]))
     click(menu_img)
     click(device)