11 2018 档案

摘要:# -*- coding: utf-8 -*- import time import os from selenium import webdriver from selenium.webdriver.common.keys import Keys jenkinsJobName=os.getenv("JOB_NAME") url="http://*.*.*.*/test.html" prin... 阅读全文

posted @ 2018-11-16 17:26 张缤分 阅读(1858) 评论(0) 推荐(1)

摘要:设置默认分辨率 通常亚马逊虚拟机自动登录分辨率为800x600,不能满足测试要求,需要设置为1280x1024. 由于远程桌面无法修改虚拟机分辨率,需要安装TightVNC工具。 TightVNC下载地址:http://www.tightvnc.com/download.php 虚拟机上操作: 1、 阅读全文

posted @ 2018-11-12 10:43 张缤分 阅读(910) 评论(0) 推荐(0)

摘要:原因 如果文件里有非ASCII字符,需要在第一行或第二行指定编码声明。 解决方法 在第一行或是第二行加入这么一句# -- coding: utf-8 -- ASCII知识普及: ASCII(American Standard Code for Information Interchange,美国信息 阅读全文

posted @ 2018-11-01 08:59 张缤分 阅读(1062) 评论(0) 推荐(0)

导航