Beispiel #1
0
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     #self.driver=driver
     self.un_id = "username"
     self.pwd_name = "pwd"
     self.login_btn_xpath = "//*[text()='Login ']"
     self.wg = WebGeneric(self.driver)
Beispiel #2
0
    def __init__(self, driver):

        WebGeneric.__init__(self, driver)
        self.driver = driver
        self.un_id = 'j_username'
        self.pwd_name = 'j_password'
        self.login = "******"
Beispiel #3
0
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     # self.driver=driver
     self.un_id = "j_username"
     self.pwd_name = "j_password"
     self.login_btn_xpath = "Submit"
     self.wg = WebGeneric(self.driver)
Beispiel #4
0
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.un_xpath = "//input[@class='_2zrpKA _1dBPDZ']"
     self.pwd_xpath = "//input[@type='password']"
     self.login_xpath = "//*[@class='_2AkmmA _1LctnI _7UHT_c']"
     self.close_xpath = "//*[@class='_2AkmmA _29YdH8']"
     self.wg = WebGeneric(self.driver)
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.driver = driver
     self.signin_nav = "//a[text()='Sign In']"
     self.un_id = "email"
     self.pwd_id = "password"
     self.Sign_in = "btnSignin"
Beispiel #6
0
 def __init__(
     self, driver
 ):  # Created a constructor>>to take driver ref from test file  #### 7 ####
     self.driver = driver
     WebGeneric.__init__(
         self, driver
     )  # Declared Webgeneric constructor inside driver   #### 12 ####
     self.logout_xpath = "//a[text()='Log Out']"  # Declared locator values                   #### 13 ####
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.search_xpath = "//input[@title='Search for products, brands and more']"
     self.wg = WebGeneric(self.driver)
Beispiel #8
0
 def __init__(self,driver):   # Created a constructor>>to take driver ref from test file  #### 7 ####
     self.driver=driver
     WebGeneric.__init__(self,driver)     # Declared Webgeneric constructor inside driver  #### 12 ####
     self.un_id="user_login"              # Declared locator values                        #### 13 ####
     self.pwd_id="user_pass"
     self.sb_id="wp-submit"
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.un_id = "username"
     self.pss_name = "pwd"
     self.wg = WebGeneric(self.driver)
Beispiel #10
0
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.un_id = "email"
     self.pwd_id = "pass"
     self.wg = WebGeneric(driver)
 def __init__(self,driver):
     WebGeneric.__init__(self,driver)
     self.login_xpath="//span[text()='Login']"
     self.email_tx_id="inputEmail"
     # self.dest_xpath="//*[@id='droppable']"
     self.wg=WebGeneric(self.driver)
Beispiel #12
0
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.un_xpath = "//input[@name='q']"
     self.wg = WebGeneric(self.driver)
 def __init__(self, driver):
     WebGeneric.__init__(self, driver)
     self.iframe_xpath = "//iframe[@class='demo-frame']"
     self.src_xpath = "//*[@id='draggable']"
     self.dest_xpath = "//*[@id='droppable']"
     self.wg = WebGeneric(self.driver)