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

您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源功能測(cè)試工具 > Selenium
Selenium利用javascript控制滾動(dòng)條
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2013/9/11 10:56:05 ] 推薦標(biāo)簽:

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

<!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下一頁
軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠(chéng)聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd
主站蜘蛛池模板: 欧洲三级在线观看 | 可以免费观看的一级毛片 | 青草视频网站在线观看 | 亚洲欧美日韩国产综合 | 美国成人免费视频 | 午夜在线不卡 | 未成18年禁止观看的免费 | 最新欧美在线 | 日韩精品在线观看视频 | 欧美成人午夜精品一区二区 | 中文字幕第四页 | 日本一道在线观看 | 91成人免费观看网站 | 黄色短片视频 | 开心久久激情 | 欧美亚洲h在线一区二区 | 免费日本高清 | 日日天天干 | 国产在线成人精品 | 一级一级毛片 | 天堂在线中文网 | 亚洲天堂国产精品 | a级毛片免费完整视频 | 成人区在线观看免费视频 | 狠狠躁夜夜躁人人躁婷婷视频 | 成人免费网站在线观看 | 午夜影院免费在线观看 | 国产精品视频大全 | 国产亚洲人成网站在线观看 | 永久视频在线观看 | 一级欧美视频 | 成人免费精品视频 | 欧美黄视频在线观看 | 九九视频在线观看 | 手机看片欧美日韩 | 日本一区二区免费在线观看 | 国产成人激情 | 亚洲日日干| 波多野结衣一二三区 | 免费看黄在线看 | 中国一级特黄高清免费的大片 |