需求

摘要: 用户名、密码是否有密码强度限制设置密码最小长度(密码强度)是否允许密码和用户名一致有无缺省的超级用户 有无超级密码密码错误次数有无限制大小写敏感口令不允许明文显示cookie中或隐藏变量中是否含有用户名、密码、userid等关键信息2.权限验证没有登录或注销登录后,直接输入登录后才能查看的页面的网址... 阅读全文
posted @ 2016-01-20 15:29 h57519153 阅读(177) 评论(0) 推荐(0)

LR浏览器起不来,问题分析。

摘要: 1、启动IE----工具---Internet选项,去掉启用第三方浏览器的勾2、点击Vuser下的Run-Time Setting或者是图形工具栏下的Edit Runtime Settings,其快捷键为F4,找到Browser下的Browser Emulation项,点击Change按钮,然后再弹... 阅读全文
posted @ 2016-01-18 15:06 h57519153 阅读(310) 评论(0) 推荐(0)

selenium+python自动化测试笔记(1)

摘要: 1.定位元素的方式: dr.find_element_by_class_name() dr.find_element_by_css_selector() dr.find_element_by_id() dr.find_element_by_link_text() dr.... 阅读全文
posted @ 2016-01-13 16:33 h57519153 阅读(222) 评论(0) 推荐(0)

使用selenium+python;在页面A点击一个按钮跳转到页面B,页面A没有关闭,浏览器打开了一个B,切换窗口定位页面B的元素

摘要: 转自:http://blog.csdn.net/hhabc123456789/article/details/21862139# -*- coding:cp936 -*-__author__ = 'Administrator'import unittest,time,refrom selenium ... 阅读全文
posted @ 2016-01-13 11:31 h57519153 阅读(871) 评论(0) 推荐(0)

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined ;At least one of these environment variable is needed to run this program

摘要: linux下,关闭和重启tomcat时报错:Neither the JAVA_HOME nor the JRE_HOME environment variable is definedAt least one of these environment variable is needed to ru... 阅读全文
posted @ 2016-01-11 15:02 h57519153 阅读(8733) 评论(0) 推荐(0)

mysql远程连接故障

摘要: 问题描述:在一台linux服务器上安装了mysql数据库,然后拿其他”机器A”去远程连接数据库,结果输入#mysql -h17.18.198.80 -uroot -pqwe123后报错ERROR 1045 (28000): Access denied for user 'root'@'17.18.1... 阅读全文
posted @ 2016-01-11 12:35 h57519153 阅读(223) 评论(0) 推荐(0)

关于Loadrunner的一些RunTimeSetting,适合新手

摘要: 1.Controller-Edit Schedule-Initialize all Vusers before Run这是Controller中一个很有用的功能,why?正如该选项下面括号中所说,选择这个选项意味着,只有当所有的Vusers都到达Ready状态,才能开始Run。那究竟有什么用处呢?案... 阅读全文
posted @ 2016-01-08 09:30 h57519153 阅读(605) 评论(0) 推荐(0)

linux下安装oracle11g,netca和dbca命令不能使用,报错command not found!

摘要: 安装玩oracle后,还没有安装监听和建数据库在oracle用户下使用命令$netca 报错command not found输入命令$which netca出现/data/oracle/product/11.2.0/dbhome_1/bin/netca切换到该目录下cd/data/oracle/p... 阅读全文
posted @ 2016-01-07 16:44 h57519153 阅读(5934) 评论(0) 推荐(0)

oracle11g问题:新建oracle用户后,在oracle用户下找不到.bash_profile文件;不能修改环境变量配置。

摘要: 在oracle用户修改oracle11g的环境变量,发现在/home/oracle下找不到.bash_profile文件。建议在root用户下把.bash_profile拷到/home/oracle下cp /root/.bash_profile /home/oracle因为已经安装到配置环境变量,所... 阅读全文
posted @ 2016-01-07 16:36 h57519153 阅读(1021) 评论(0) 推荐(0)

安装oracle11g 日志报错SEVERE: [FATAL]THANKS.localdomain: THANKS.localdomain.

摘要: 造成错误的原因可能是dns没有返回服务名的IP,可能是hosts原因。查看#vi /etc/hosts 发现没有配置]THANKS主机名;查看#vi /etc/sysconfig/network文件修改HOSTNAME;修改成HOSTNAME=localhost.localdomain然后使用命令#... 阅读全文
posted @ 2016-01-07 16:17 h57519153 阅读(379) 评论(0) 推荐(0)