Ejemplo n.º 1
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  all_pages = landing_page.get_all_pages_from_navbar()
  
  for page in all_pages:
    page.navigate_to()
    data.auto_fill(page)
    page.save_and_continue()

  recommendations = landing_page.navigate_to('Recommendations')
  #needs two recommendations for a complete application
  data.auto_fill(recommendations)
  data.auto_fill(recommendations)
  recommendations.save_and_continue()

  preview_page = landing_page.preview_application()
  preview_page.continue_to_page()
  data.auto_fill(preview_page)
  preview_page.submit()
  preview_page.submit_with_offline_payment()
  preview_page.verify_application_submitted()
Ejemplo n.º 2
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']
  
  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  data.create_random_username()
  
  #test
  landing_page.start_new_app(data)

  email_page = landing_page.navigate_to('Email')
  email_page.sign_in_to_gmail(data)
  email_page.check_for_and_click_email_verification_link(data)
  email_page.switch_to_newest_window()
  
  landing_page.set_password(data)

  all_pages = landing_page.get_all_pages_from_navbar()
  
  for page in all_pages:
    page.navigate_to()
    data.auto_fill(page)
    page.save_and_continue()

  recommendations = landing_page.navigate_to('Recommendations')
  #needs two recommendations for a complete application
  data.auto_fill(recommendations)
  data.auto_fill(recommendations)
  recommendations.save_and_continue()

  landing_page.is_complete(data, all_pages)

  preview_page = landing_page.preview_application()
  preview_page.continue_to_page()
  data.auto_fill(preview_page)
  preview_page.submit()
  preview_page.confirm_submit(data)
  preview_page.verify_application_submitted()
Ejemplo n.º 3
0
def test(args):
    #setup
    driver = args['driver']
    program_url = args['url']
    data = args['data']
    os = args['os']

    landing_page = LandingPage(driver, 'Login Page', program_url, os)
    landing_page.login(data)

    #test
    employment_info = landing_page.navigate_to('Employment Information')
    data.auto_fill(employment_info)
Ejemplo n.º 4
0
def test(args):
    #setup
    driver = args['driver']
    program_url = args['url']
    data = args['data']
    os = args['os']

    landing_page = LandingPage(driver, 'Login Page', program_url, os)
    landing_page.login(data)

    #test
    fin_aid_info = landing_page.navigate_to('Financial Aid Information')
    data.auto_fill(fin_aid_info)
Ejemplo n.º 5
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  prof_exp = landing_page.navigate_to('Professional')
  data.auto_fill(prof_exp)
Ejemplo n.º 6
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  uploads = landing_page.navigate_to('Uploads')
  data.auto_fill(uploads)
Ejemplo n.º 7
0
def test(args):
    #setup
    driver = args['driver']
    program_url = args['url']
    data = args['data']
    os = args['os']

    landing_page = LandingPage(driver, 'Login Page', program_url, os)
    landing_page.login(data)

    #test
    security_questions = landing_page.navigate_to('Security Questions')
    data.auto_fill(security_questions)
Ejemplo n.º 8
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  clinical_experience = landing_page.navigate_to('Clinical Experience')
  data.auto_fill(clinical_experience)
Ejemplo n.º 9
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  statement_of_purpose = landing_page.navigate_to('Statement of Purpose')
  data.auto_fill(statement_of_purpose)
Ejemplo n.º 10
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  volunteer_exp = landing_page.navigate_to('Volunteer Experience')
  data.auto_fill(volunteer_exp)
Ejemplo n.º 11
0
def test(args):
    #setup
    driver = args['driver']
    program_url = args['url']
    data = args['data']
    os = args['os']

    landing_page = LandingPage(driver, 'Login Page', program_url, os)
    landing_page.login(data)

    #test
    acad_background = landing_page.navigate_to('Academic Background')
    data.auto_fill(acad_background)
Ejemplo n.º 12
0
def test(args):
  #setup
  driver = args['driver']
  program_url = args['url']
  data = args['data']
  os = args['os']

  landing_page = LandingPage(driver, 'Login Page', program_url, os)
  landing_page.login(data)

  #test
  recommendations = landing_page.navigate_to('Recommendations')
  data.auto_fill(recommendations)
  #recommendations.teardown()
Ejemplo n.º 13
0
def test(args):
    #setup
    driver = args['driver']
    program_url = args['url']
    data = args['data']
    os = args['os']

    landing_page = LandingPage(driver, 'Login Page', program_url, os)
    data.create_random_username()

    #test
    landing_page.start_new_app(data)

    email_page = landing_page.navigate_to('Email')
    email_page.sign_in_to_gmail(data)
    email_page.check_for_and_click_email_verification_link(data)
    email_page.switch_to_newest_window()

    landing_page.set_password(data)