Exemplo n.º 1
0
from page.company.companySettlementDetails_page import CompangySettlementDetails

from selenium.webdriver import ActionChains
from selenium.webdriver.common.keys import Keys

from pykeyboard import PyKeyboard
from pymouse import PyMouse

from utility.utilities import ele_input,is_ele_exist
import time,pytest
from time import sleep


pt_bill_number=None
handle=None
Data_import_pt_bill=Read_config().read_pt_import_bill()
@pytest.fixture(scope='module',params=Data_import_pt_bill)
def data_import_pt_bill(request):
    return request.param

pt_bill_number=None
pt_bill_handle=None


class Test_platform:

    def platform(self,browser):
        p=PlatformLogin(browser)
        return p

    def test_login(self,browser):
Exemplo n.º 2
0
 def __init__(self, browser):
     self.driver = browser
     self.content = Read_config().read_location_company_settlementDetails()
Exemplo n.º 3
0
 def __init__(self, browser):
     self.driver = browser
     self.content = Read_config().read_location_agency_dashboard()
Exemplo n.º 4
0
 def __init__(self, browser):
     self.driver = browser
     self.content = Read_config().read_location_company_login()
Exemplo n.º 5
0
 def __init__(self, browser):
     self.driver = browser
     self.platform = Read_config().read_location_platform_login()