Time of Update: 2017-11-10
標籤:findall list body ack iter note color lte 節點 import xml.etree.ElementTree as
Time of Update: 2017-11-10
標籤:port 儲存格 安裝 class elf 自動 .com 名稱 讀取 前言當登入的帳號有多個的時候,我們一般用excel存放測試資料,本節課介紹,python讀取excel方法,並儲存為
Time of Update: 2017-11-10
標籤:wsgi path 全路徑 文字 一個 index mode 請求方式 site Django基礎篇MTV:URL:
Time of Update: 2017-11-10
標籤:指定 selenium logs rom ima 上下 element 分享 失效 前言雖然cookie相關操作在平常ui自動化中用得少,偶爾也會用到,比如登入有圖形驗證碼,可以通過繞過驗
Time of Update: 2017-11-10
標籤:element 關閉 web 前言 使用 開啟 oca 實現 cas 前言前面講到unittest裡面setUp可以在每次執行用例前執行,這樣有效減少了代碼量,但是有個弊端,比如開啟瀏覽器
Time of Update: 2017-11-10
標籤:編程思想 學習 ant 核心編程 asa 基本功 hdpi 而且 lan 入門級《Head First Python》+ 入門級 + 49票 + 豆瓣評分
Time of Update: 2017-11-10
標籤:python 登入介面 登入介面練習要求:讀取帳號檔案,登入三次錯誤密碼將鎖定並寫入鎖定檔案# python 3.6 登入介面練習# _*_ coding:utf-8 _*_import sysimport osimport getpassi = 0while i < 3:&nb
Time of Update: 2017-11-10
標籤:python隨機產生驗證碼密碼描述:一個簡單的練習產生驗證碼或密碼的小指令碼程式,驗證碼廣泛用於web的隨機驗證模組,也可以通過稍稍改造,達到隨機產生密碼的效果.來看看代碼吧:代碼:def GetCode(num): code = ‘‘ for i in range(num): &n
Time of Update: 2017-11-10
標籤:war 常見異常 print expect mmu eva main 中斷 may 前言在定位元素的時候,經常會遇到各種異常,為什麼會發生這些異常,遇到異常又該如何處理呢?本篇通過學習se
Time of Update: 2017-11-10
標籤:idt alt ima selenium 源碼 logs rom images match 前言擷取頁面title的方法可以直接用driver.title擷取到,然後也可以把擷取到的結果用
Time of Update: 2017-11-10
標籤:tle 需要 one selenium2 不能 成功率 方法 面試 none 前言最近看到群裡有小夥伴貼出一組面試題,最近又是跳槽黃金季節,小編忍不住抽出一點時間總結了下,回答不妥的地方歡
Time of Update: 2017-11-10
標籤:implicit users use load local 參考 lin elements 轉至部落格:上海-悠悠前言不少小夥伴問非input標籤如何上傳文檔,這個本身就是一坑,無奈很多
Time of Update: 2017-11-10
標籤:group 管道 arch mil sea int 表達 reg 運算式 管道可以匹配多個Regex中的一個>>> >>> m=re.search(
Time of Update: 2017-11-10
標籤:部分 assert class 執行 直接 sts add str false 前言當測試案例寫完後,有些模組有改動時候,會影響到部分用例的執行,這個時候我們希望暫時跳過這些用例。或者前面
Time of Update: 2017-11-10
標籤:logs 方法 com 資訊 ima href re模組 技術分享 png 前言有時候通過元素的屬性的尋找頁面上的某個元素,可能不太好找,這時候可以從源碼中爬出想要的資訊。selenium
Time of Update: 2017-11-09
標籤:分享 print color str his src img images 紅色 print()輸出顏色提示顯示顏色格式:\033[顯示方式;字型色;背景色m......[\033[0m]
Time of Update: 2017-11-09
標籤:1.3 mirrors lib xargs ror etc 1.2 parse dev 步驟1:清空pythonrpm -qa|grep python|xargs rpm -e
Time of Update: 2017-11-10
標籤:eth assm attribute abc each restful alt like gic http://ningning.today/2017/01/25/python/simpl
Time of Update: 2017-11-09
標籤:python 日誌是我們排查問題的關鍵利器,寫好日誌記錄,當我們發生問題時,可以快速定位代碼範圍進行修改。Python有給我們開發人員們提供好的日誌模組1.日誌模組:logging例子:import logginglogging.debug("This is debug message")logging.info("This is info message")logging.warning("This is warning
Time of Update: 2017-11-11
Python 解決面試題47 不用加減乘除做加法,python加減乘除