def collect_prerequisites():
    """
    Collects all prerequisites required to run the UIAutomation test case.
    :return: 
    """
    print('1 - iOS')
    print('2 - Android')
    platform = int(input('Choose platform:'))
    if 1 < platform > 2:
        print('You have selected an invalid platform')
        exit(1)
    app_bundle = input('Enter path to app bundle:')
    if app_bundle.__len__() == 0:
        print('Can not test an app which does not exist ;)')
        exit(1)
    return {'platform': platform, 'app_bundle': app_bundle}
