def TC5_Create_Use_Case_missing_expected_result():

    time.sleep(1)

    try:

        ui_test_functions.ui_start_uc_creating()
        time.sleep(1)
        ui_test_functions.ui_write_uc_title("Title1")
        ui_test_functions.ui_write_uc_step("Step1")
        ui_test_functions.ui_press_uc_submit()

        return ui_test_functions.ui_check_improper_uc()

    except:
        return "ERROR"
def TC4_Create_Use_Case_title_too_short():

    time.sleep(1)

    try:

        ui_test_functions.ui_start_uc_creating()
        time.sleep(1)
        ui_test_functions.ui_write_uc_title("Titl")
        ui_test_functions.ui_write_uc_expected("Expected1")
        ui_test_functions.ui_write_uc_step("Step1")
        ui_test_functions.ui_press_uc_submit()

        return ui_test_functions.ui_check_improper_uc()

    except:
        return "ERROR"
def TC9_Create_Use_Case_step_empty_space():

    time.sleep(1)

    try:

        ui_test_functions.ui_start_uc_creating()
        time.sleep(1)
        ui_test_functions.ui_write_uc_title("Title1")
        ui_test_functions.ui_write_uc_expected("Expected1")
        ui_test_functions.ui_write_uc_step(" ")
        ui_test_functions.ui_press_uc_submit()

        return ui_test_functions.ui_check_improper_uc()

    except:
        return "ERROR"