-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
285 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,281 @@ | ||
2016-08-04 22:54:09.433 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.ConfigUtils: Get the config file: C:\Users\Young\workspace\Demo\config.properties | ||
2016-08-05 22:37:02.060 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.TestNGListener: Test Start | ||
2016-08-05 22:37:02.541 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.ConfigUtils: Get the config file: C:\Users\Young\workspace\Demo\config.properties | ||
2016-08-05 22:37:21.647 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.DriverFactory: Create FirefoxDriver | ||
2016-08-05 22:37:21.647 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.tests.loginTest: Start WebDriver | ||
2016-08-05 22:37:21.656 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.TestNGListener: Test Finsh | ||
2016-08-05 22:37:21.657 DEBUG com.dbyl.libarary.utils.Log 33 debug - com.dbyl.libarary.pageAction.LoginPage: com.dbyl.libarary.pageAction.LoginPage | ||
2016-08-05 22:37:21.657 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: C:\Users\Young\workspace\Demo | ||
2016-08-05 22:37:21.657 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: C:\Users\Young\workspace\Demo/src/com/dbyl/libarary/pageAction/LoginPage.xml | ||
2016-08-05 22:37:21.657 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: com.dbyl.libarary.pageAction.LoginPage | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: page Info is:com.dbyl.libarary.pageAction.LoginPage | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator type | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator timeOut 3 | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator value //input[@name='account' and not(@autocomplete)] | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: locator Name is loginEmailInputBox | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator type ByXpath | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator timeOut 3 | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator value //button[@class='sign-button submit' and text()='��¼'] | ||
2016-08-05 22:37:21.720 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: locator Name is loginButton | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator type ByXpath | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator timeOut 3 | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator value //div[@class='top-nav-profile']//img[@class='Avatar'] | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: locator Name is profile | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator type ByXpath | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator timeOut 3 | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator value //input[@name='password' and @placeholder='����'] | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: locator Name is loginPasswordInputBox | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator type ByXpath | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator timeOut 30 | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: get locator value //div/a[.='��¼'] | ||
2016-08-05 22:37:21.735 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.xmlUtils: locator Name is clickToLoginButton | ||
2016-08-05 22:37:29.642 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: executing request http://www.zhihu.com | ||
2016-08-05 22:37:29.916 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: -------------------------------------- | ||
2016-08-05 22:37:29.917 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: HTTP/1.1 200 OK | ||
2016-08-05 22:37:29.918 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: Response content length: -1 | ||
2016-08-05 22:37:29.927 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: Response content: <!DOCTYPE html> | ||
<html lang="zh-CN" class=""> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="apple-itunes-app" content="app-id=432274380"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<meta name="renderer" content="webkit" /> | ||
<meta name="description" content="һ����ʵ�������ʴ�������������Ѱ�Ҵ𰸣�����֪ʶ��"/> | ||
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0"/> | ||
<title>֪�� - ������������֪ʶ������ͼ���</title> | ||
|
||
|
||
|
||
<link rel="apple-touch-icon" href="http://static.zhihu.com/static/revved/img/ios/touch-icon-152.87c020b9.png" sizes="152x152"> | ||
<link rel="apple-touch-icon" href="http://static.zhihu.com/static/revved/img/ios/touch-icon-120.496c913b.png" sizes="120x120"> | ||
<link rel="apple-touch-icon" href="http://static.zhihu.com/static/revved/img/ios/touch-icon-76.dcf79352.png" sizes="76x76"> | ||
<link rel="apple-touch-icon" href="http://static.zhihu.com/static/revved/img/ios/touch-icon-60.9911cffb.png" sizes="60x60"> | ||
|
||
<link rel="shortcut icon" href="http://static.zhihu.com/static/favicon.ico" type="image/x-icon" /> | ||
<link rel="dns-prefetch" href="p1.zhimg.com"/> | ||
<link rel="dns-prefetch" href="p2.zhimg.com"/> | ||
<link rel="dns-prefetch" href="p3.zhimg.com"/> | ||
<link rel="dns-prefetch" href="p4.zhimg.com"/> | ||
<link rel="dns-prefetch" href="comet.zhihu.com"/> | ||
<link rel="dns-prefetch" href="static.zhihu.com"/> | ||
<link rel="dns-prefetch" href="upload.zhihu.com"/> | ||
<link rel="stylesheet" href="http://static.zhihu.com/static/revved/-/css/pages/unlogin-index/main.a5004030.css"> | ||
<meta name="google-site-verification" content="FTeR0c8arOPKh8c5DYh_9uu98_zJbaWw53J-Sch9MTg" /> | ||
<meta name="baidu-site-verification" content="KPFppAFoYF4Kkdv9" /> | ||
<meta property="qc:admins" content="00544670776201056375" /> | ||
<link rel="canonical" href="http://www.zhihu.com" /> | ||
<meta id="znonce" name="znonce" content="df9b5817a67a409c8bf6a391819251b7"> | ||
<!--[if lt IE 9]> | ||
<script src="http://static.zhihu.com/static/components/respond/dest/respond.min.js"></script> | ||
<link href="http://static.zhihu.com/static/components/respond/cross-domain/respond-proxy.html" id="respond-proxy" rel="respond-proxy" /> | ||
<link href="/static/components/respond/cross-domain/respond.proxy.gif" id="respond-redirect" rel="respond-redirect" /> | ||
<script src="/static/components/respond/cross-domain/respond.proxy.js"></script> | ||
<![endif]--> | ||
<script src="http://static.zhihu.com/static/revved/-/js/instant.14757a4a.js"></script> | ||
</head> | ||
<body class="zhi "> | ||
|
||
|
||
|
||
<div class="index-main"> | ||
<div class="index-main-body"> | ||
<div class="index-header"> | ||
|
||
<h1 class="logo hide-text">֪��</h1> | ||
|
||
<h2 class="subtitle">������������֪ʶ������ͼ���</h2> | ||
</div> | ||
|
||
<div class="desk-front sign-flow clearfix sign-flow-simple"> | ||
|
||
<div class="index-tab-navs"> | ||
<div class="navs-slider"> | ||
<a href="#signup" class="active">ע��</a> | ||
<a href="#signin">��¼</a> | ||
<span class="navs-slider-bar"></span> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="view view-signin" data-za-module="SignInForm"> | ||
<form> | ||
<input type="hidden" name="_xsrf" value="45bfa985b2d2eccc46780865c47e7c6e"/> | ||
<div class="group-inputs"> | ||
|
||
<div class="email input-wrapper"> | ||
|
||
<input type="text" name="account" aria-label="�ֻ��Ż�����" placeholder="�ֻ��Ż�����" required> | ||
</div> | ||
<div class="input-wrapper"> | ||
<input type="password" name="password" aria-label="����" placeholder="����" required> | ||
</div> | ||
|
||
<div class="input-wrapper captcha-module" data-type="en" > | ||
<input id="captcha" name="captcha" placeholder="��֤��" required data-rule-required="true" data-msg-required="����д��֤��"> | ||
<div class="captcha-container"> | ||
|
||
<img class="js-refreshCaptcha captcha" width="120" height="30" data-tooltip="s$t$�����������һ��" alt="��֤��"> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="button-wrapper command"> | ||
<button class="sign-button submit" type="submit">��¼</button> | ||
</div> | ||
<div class="signin-misc-wrapper clearfix"> | ||
<label class="remember-me"> | ||
<input type="checkbox" name="remember_me" checked value="true"> ��ס�� | ||
</label> | ||
<a class="unable-login" href="#">����¼?</a> | ||
</div> | ||
|
||
<div class="weibo-signup-wrapper"> | ||
<span class="name js-toggle-sns-buttons">�罻�ʺŵ�¼</span> | ||
|
||
<div class="sns-buttons"> | ||
<a title="�ŵ�¼" class="js-bindwechat" href="#"><i class="sprite-index-icon-wechat"></i></a> | ||
<a title="����¼" class="js-bindweibo" href="#"><i class="sprite-index-icon-weibo"></i></a> | ||
<a title="QQ ��¼" class="js-bindqq" href="#"><i class="sprite-index-icon-qq"></i></a> | ||
</div> | ||
|
||
|
||
</div> | ||
|
||
</form> | ||
|
||
<div class="QRCode"> | ||
<button class="QRCode-toggleButton"> | ||
<span class="sprite-global-icon-qrcode"></span> | ||
<span class="QRCode-toggleButtonText ">����֪�� App</span> | ||
</button> | ||
<div class="QRCode-card"> | ||
<div class="QRCode-image"></div> | ||
<div class="sprite-index-icon-arrow"></div> | ||
</div> | ||
</div> | ||
|
||
|
||
</div> | ||
<div class="view view-signup selected" data-za-module="SignUpForm"> | ||
<form class="zu-side-login-box" action="/register/email" id="sign-form-1" autocomplete="off"> | ||
<input type="password" hidden> | ||
<input type="hidden" name="_xsrf" value="45bfa985b2d2eccc46780865c47e7c6e"/> | ||
<div class="group-inputs"> | ||
|
||
|
||
<div class="name input-wrapper"> | ||
<input required type="text" name="fullname" aria-label="����" placeholder="����"> | ||
</div> | ||
<div class="email input-wrapper"> | ||
|
||
<input required type="text" class="account" name="phone_num" aria-label="�ֻ��ţ���֧���й���½��" placeholder="�ֻ��ţ���֧���й���½��"> | ||
|
||
</div> | ||
|
||
<div class="input-wrapper"> | ||
<input required type="password" name="password" aria-label="����" placeholder="���루������ 6 λ��" autocomplete="off"> | ||
</div> | ||
|
||
<div class="Captcha input-wrapper" data-type="cn" data-za-module="Captcha"> | ||
<div class="Captcha-operate"> | ||
<input type="hidden" name="captcha" required data-rule-required="true" data-msg-required="����ͼ�е���������"> | ||
<input type="hidden" name="captcha_type" value="cn" required> | ||
<label class="Captcha-prompt">����ͼ�е���������</label> | ||
<span class="Captcha-refresh js-refreshCaptcha sprite-index-icon-refresh"></span> | ||
</div> | ||
<div class="Captcha-imageConatiner"> | ||
<img class="Captcha-image" alt="��֤��" > | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
<div class="button-wrapper command"> | ||
<button class="sign-button submit" type="submit">ע��֪��</button> | ||
</div> | ||
</form> | ||
|
||
|
||
<div class="QRCode"> | ||
<button class="QRCode-toggleButton"> | ||
<span class="sprite-global-icon-qrcode"></span> | ||
<span class="QRCode-toggleButtonText ">����֪�� App</span> | ||
</button> | ||
<div class="QRCode-card"> | ||
<div class="QRCode-image"></div> | ||
<div class="sprite-index-icon-arrow"></div> | ||
</div> | ||
</div> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
<div class="footer"> | ||
<span>© 2016 ֪��</span> | ||
<span class="dot">��</span> | ||
<a target="_blank" href="/roundtable">֪��Բ��</a> | ||
<span class="dot">��</span> | ||
<a target="_blank" href="/explore" data-za-c="explore" data-za-a="visit_explore" data-za-l="home_bottom_explore">����</a> | ||
<span class="dot">��</span> | ||
<a target="_blank" href="/app">�ƶ�Ӧ��</a> | ||
<span class="dot">��</span> | ||
|
||
|
||
<a href="/org/signin" class="footer-mobile-show">ʹ�û����ʺŵ�¼</a> | ||
|
||
<span class="dot footer-mobile-show">��</span> | ||
|
||
<a href="/contact" class="footer-mobile-show">��ϵ����</a> | ||
<span class="dot">��</span> | ||
<a href="https://liukanshan.zhihu.com" class="footer-mobile-show" target="_blank">����ɽ</a> | ||
<span class="dot">��</span> | ||
<a target="_blank" href="/careers">��֪������</a> | ||
<span class="dot">��</span> | ||
<a href="http://www.miibeian.gov.cn/" target="_blank">�� ICP �� 13052560 ��</a> | ||
<span class="dot">��</span> | ||
<span>���������� 11010802010035 ��</span> | ||
<span class="dot">��</span> | ||
<span>�����������¿Ƽ�����˾</span> | ||
</div> | ||
|
||
|
||
|
||
<script type="text/json" class="json-inline" data-name="disabled_components">["back_to_top"]</script> | ||
<script type="text/json" class="json-inline" data-name="current_user">["","","","-1","",0,0]</script> | ||
<script type="text/json" class="json-inline" data-name="env">["zhihu.com","comet.zhihu.com",false,null,false]</script> | ||
|
||
<script type="text/json" class="json-inline" data-name="ga_vars">{"user_created":0,"now":1470407851000,"abtest_mask":"------------------------------","user_attr":[0,0,0,"-","-"],"user_hash":0}</script> | ||
|
||
<script src="http://static.zhihu.com/static/revved/-/js/vendor.cb14a042.js"></script> | ||
<script src="http://static.zhihu.com/static/revved/-/js/closure/base.4cbdac46.js"></script> | ||
|
||
<script src="http://static.zhihu.com/static/revved/-/js/closure/common.fd0c254a.js"></script> | ||
<script src="http://static.zhihu.com/static/revved/-/js/closure/page-index.3ef87691.js"></script> | ||
<meta name="entry" content="ZH.entrySignPage" data-module-id="page-index"> | ||
|
||
|
||
<input type="hidden" name="_xsrf" value="45bfa985b2d2eccc46780865c47e7c6e"/> | ||
</body> | ||
</html> | ||
2016-08-05 22:37:29.928 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: ------------------------------------ | ||
2016-08-05 22:37:29.937 DEBUG com.dbyl.libarary.utils.Log 33 debug - com.dbyl.libarary.pageAction.LoginPage: find element By xpath | ||
2016-08-05 22:37:29.977 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: click button | ||
2016-08-05 22:37:30.041 DEBUG com.dbyl.libarary.utils.Log 33 debug - com.dbyl.libarary.pageAction.LoginPage: find element By xpath | ||
2016-08-05 22:37:30.068 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: type value is: 13282774643 | ||
2016-08-05 22:37:30.159 DEBUG com.dbyl.libarary.utils.Log 33 debug - com.dbyl.libarary.pageAction.LoginPage: find element By xpath | ||
2016-08-05 22:37:30.200 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: type value is: appium123 | ||
2016-08-05 22:37:30.265 DEBUG com.dbyl.libarary.utils.Log 33 debug - com.dbyl.libarary.pageAction.LoginPage: find element By xpath | ||
2016-08-05 22:37:30.296 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.pageAction.LoginPage: click button | ||
2016-08-05 22:37:31.779 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.TestngRetryManager: running retry for 'loginByUerName' on class com.dbyl.libarary.utils.TestngRetryManager Retrying 1 times | ||
2016-08-05 22:37:31.780 ERROR com.dbyl.libarary.utils.Log 41 error - com.dbyl.libarary.utils.TestNGListener: Test Skipped | ||
2016-08-05 22:37:31.786 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.tests.loginTest: Stop WebDriver | ||
2016-08-05 22:37:33.829 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.ConfigUtils: Get the config file: C:\Users\Young\workspace\Demo\config.properties | ||
2016-08-05 22:37:52.820 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.DriverFactory: Create FirefoxDriver | ||
2016-08-05 22:37:52.820 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.tests.loginTest: Start WebDriver | ||
2016-08-05 22:37:52.820 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.TestNGListener: Test Finsh | ||
2016-08-05 22:37:52.820 ERROR com.dbyl.libarary.utils.Log 41 error - com.dbyl.libarary.utils.TestNGListener: Test Skipped | ||
2016-08-05 22:37:52.820 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.tests.loginTest: Stop WebDriver | ||
2016-08-05 22:37:54.490 INFO com.dbyl.libarary.utils.Log 25 info - com.dbyl.libarary.utils.TestNGListener: Test Finish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.