码迷,mamicode.com
首页 >  
搜索关键字:webdriver grid    ( 6583个结果
oracle 11g RAC手动卸载grid,no deinstall
1、通过root用户进入到grid的ORACLE_HOME [root@db01]# source /home/grid/.bash_profile [root@db01]# cd $ORACLE_HOME/crs/install/ 2、执行如下两个脚本(只在其中一个节点执行,root用户) [root@db01]# ./rootcrs.pl -verbose -deconfig -f...
分类:数据库   时间:2014-11-10 21:52:37    阅读次数:348
selenium Webdriver 截图
在使用Selenium做自动化时,有的时候希望失败了进行截图,下面提供一个封装的截图方法,方便使用,代码如下://只需要传入文件名字即可,而这个名字大家可以直接使用测试的方法名public void captureScreenshot(String fileName) {String dirName...
分类:Web程序   时间:2014-11-10 21:36:59    阅读次数:281
Selenium webdriver 之select 控件封装,解决onchange问题
使用webdriver的时候,select控件经常会绑定onchange事件,在selenium2.09之前click方法对onchange事件有bug,2.09以后修复了,但是根据经验也遇到用seleniumui下面的select的类去做select操作,有时也可能不发触发onchange事件,所...
分类:Web程序   时间:2014-11-10 21:17:26    阅读次数:215
WebDriver 运行模式下使用rc 代码
selenium2对之前的rc代码提供了兼容性接口,如果你之前的code都是用rc写,而现在又想摆脱要每次启动server,你只需要略做修改即可。代码如下:public class TestWb extends SeleneseTestCase {@Beforepublic void setUp()...
分类:Web程序   时间:2014-11-10 21:13:47    阅读次数:200
rac_grid自检无法正常进行报PRVF-4007
原创作品,出自 “深蓝的blog” 博客,欢迎转载,转载时请务必注明以下出处,否则追究版权法律责任。 深蓝的blog: grid自检报PRVF-4007 : User equivalence check failed for user "grid" 【实验环境】 实验平台:WIN7 旗舰版 64bit 虚拟机软件:VM VirtualBox 4.2 虚拟操作系统:CentOS6.4 6...
分类:其他好文   时间:2014-11-10 10:00:45    阅读次数:276
Grid中添加链接,打开选项卡页面
如何在grid中点击,添加一个选项卡并打开页面functionaddeditnew(id,title) { varnode= { attributes:{ href:"addeditnew.aspx?id="+id }, t...
分类:其他好文   时间:2014-11-10 09:49:43    阅读次数:176
Python自动化测试例子--一个简单的自动化测试用例脚本--批量执行测试用例
#coding=utf-8 fromseleniumimportwebdriver fromselenium.webdriver.common.byimportBy fromselenium.webdriver.commonimportkeys fromselenium.webdriver.supportimportselect fromselenium.commonimportexceptions importunittest,time,re classBaidu(unittest.TestCase): #..
分类:编程语言   时间:2014-11-10 01:16:19    阅读次数:534
Matlab技巧1:在同一坐标系上绘制两个函数图像
x=-2:0.01:2;y1=sqrt(2*abs(x)-x.^2);y2=asin(abs(x)-1)-pi/2;plot(x,y1,'r',x,y2,'b')grid程序结果:
分类:其他好文   时间:2014-11-09 19:27:07    阅读次数:692
572 - Oil Deposits
The GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid that divides th...
分类:其他好文   时间:2014-11-08 18:21:48    阅读次数:176
[leetcode]Unique Paths
问题描述: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying to r...
分类:其他好文   时间:2014-11-07 11:24:26    阅读次数:160
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!