def test_call_protocol(browser, protocol): obj = MainPage(browser) obj.call(protocol, resolution=rand(0, 14), speed=rand(0, 19), fps=rand(0, 6)) obj.call_rezult(protocol) return
def test_call_number_sip_tls(browser, number, protocol='SIP_TLS'): obj = MainPage(browser) obj.call(protocol, number=number) obj.call_rezult('SIP', number=number) return
def test_call_number_h323(browser, number, protocol='H323'): obj = MainPage(browser) obj.call(protocol, number=number) obj.call_rezult(protocol, number=number) return
def test_call_fps_sip(browser, fps, protocol='SIP'): obj = MainPage(browser) obj.call(protocol, resolution=rand(0, 14), speed=rand(0, 19), fps=fps) obj.call_rezult(protocol, fps=fps) return
def test_call_speed_sip(browser, speed, protocol='SIP'): obj = MainPage(browser) obj.call(protocol, resolution=rand(0, 14), speed=speed, fps=rand(0, 6)) obj.call_rezult(protocol, speed=speed) return
def test_call_resolution_h323(browser, resolution, protocol='H323'): obj = MainPage(browser) obj.call(protocol, resolution=resolution, speed="1536", fps=rand(0, 6)) obj.call_rezult(protocol, resolution=resolution) return