????λ?????????? >> ??????????
Selenium ????????????
???????????? ???????[ 2014/5/15 10:05:35 ] ????????Selenium ????????????
???????selenium ??python???????????????????????????????檔
???????д????????????????????????debug?????????????????????????????ο????????????У?????????????
# -*- coding: utf-8 -*-
#get_info_of_working.py python2.7.x
#orangleliu@gmail.com 2014-04-24
'''''
|
???????????????????????? ?????????????????
'''
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
def login_system(driver):
'''''
|
??????????????????
'''
login_url = 'http://att.xx.com/'
username = 'zhizhi.liu'
password = '1234'
driver.get(login_url)
driver.find_element_by_id("username").clear()
driver.find_element_by_id("username").send_keys(username)
driver.find_element_by_id("password").clear()
driver.find_element_by_id("password").send_keys(password)
driver.find_elements_by_tag_name("form")[0].submit()
driver.get('http://att.xx.com/TRecordList.action')
if __name__ == "__main__":
driver = webdriver.Firefox()
login_system(driver)
|
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
????????????????AutoRunner??Selenium????????Selenium???????????????????????Selenium?????????????Щ?????????????????£???????Selenium???????????????ζ?Selenium???????????????????Selenium???????????????????????з?????Щ??????????????????????ATF???Selenium??????????????????д???????Selenium?????????????Selenium????????????????????Selenium???????????ATF????θ??????????????????????Selenium??????????????ATFJava?汾??Selenium??????????UI???-Python+Selenium???????Selenium????Webdriver??????????????????η???Selenium?????????Selenium FF WebDriver?????????firebug??2????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????