亚洲好骚综合-亚洲黄色录像-亚洲黄色网址-亚洲黄色网址大全-99久久99久久-99久久99久久精品国产

您的位置:軟件測試 > 開源軟件測試 > 開源功能測試工具 > Selenium
Selenium利用javascript控制滾動條
作者:網絡轉載 發布時間:[ 2013/9/11 10:56:05 ] 推薦標簽:

  以下備注所用test.html 的代碼(我也是在網上找的,簡單的修改顯示文字而已),供大家使用:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns=http://www.w3.org/1999/xhtml>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Selenium Study</title>
<script language="JavaScript">
function check(){
var clientHeight = document.getElementById('text').clientHeight;
var scrollTop    = document.getElementById('text').scrollTop;
var scrollHeight = document.getElementById('text').scrollHeight;
if(clientHeight + scrollTop < scrollHeight){
alert("Please view top news terms !"); return false;
}else{
alert("Thanks !");
}
}
function set()
{
document.getElementById('text').scrollTop=10000;
}
</script>
</head>
<body>
<form id="form1" method="post" onsubmit="return check();">
<textarea id="text" name="text" cols="70"  rows="14">
Selenium IDE is the a Firefox plugin that does record-and-playback of interactions with the browser. Use this to either create simple scripts, assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.
Selenium IDE is the a Firefox plugin that does record-and-playback of interactions with the browser. Use this to either create simple scripts, assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.
Selenium IDE is the a Firefox plugin that does record-and-playback of interactions with the browser. Use this to either create simple scripts, assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.
Selenium IDE is the a Firefox plugin that does record-and-playback of interactions with the browser. Use this to either create simple scripts, assist in exploratory testing. It can also export Remote Control or WebDriver scripts, though they tend to be somewhat brittle and should be overhauled into some sort of Page Object-y structure for any kind of resiliency.
</textarea><br /><br />
<input type="submit" id="submit" name="submit" value="Submit" />
</form>
</body>
</html>

上一頁123下一頁
軟件測試工具 | 聯系我們 | 投訴建議 | 誠聘英才 | 申請使用列表 | 網站地圖
滬ICP備07036474 2003-2017 版權所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd
主站蜘蛛池模板: 男无遮挡吃奶gift动态图 | 天天做夜夜爽 | 成年男女免费视频网站播放 | 久草香蕉视频 | 永久网站www774777视频 | 99热免费在线观看 | 黄色片视频免费看 | 成人看片黄在线观看 | 香港一级a毛片在线播放 | 日韩免费一区二区 | 亚洲影视久久 | 欧美久久综合九色综合 | 久久天天躁夜夜躁狠狠躁2019 | 2019天天干| 欧美色碰碰碰免费观看长视频 | 一级特黄a 大片免费 | 在线99热 | 人喾交性专区免费看 | xxxx性中国| 欧美黄色α片 | 手机看片国产免费永久 | 久久精品国产精品亚洲综合 | 日韩精品视频在线观看免费 | 中国孕妇孕交xxx | 三级全黄裸体 | 青青草国产一区二区三区 | 国外成人在线视频 | 26uuu另类欧美亚洲曰本 | 禁视频网站在线观看漫画 | 国产成人精品在线 | xxxx久久| 亚洲综合在线网 | 久久久久国产一级毛片高清版 | 国外成人免费视频 | 青草娱乐极品免费视频 | 一本大道香一蕉久在线影院 | 精品视频一区二区三三区四区 | 国产精品午夜在线观看 | 91短视频在线观看手机 | 久热操 | 在线观着免费观看国产黄 |