随笔分类 -  Selenium

上一页 1 2 3

[Selenium]中使用css选择器进行元素定位
摘要:常见语法*通用元素选择器,匹配任何元素E标签选择器,匹配所有使用E标签的元素.infoclass选择器,匹配所有class属性中包含info的元素#footerid选择器,匹配所有id属性等于footer的元素E,F多元素选择器,同时匹配所有E元素或F元素,E和F之间用逗号分隔E F后代元素选择器,... 阅读全文

posted @ 2014-05-12 10:33 张缤分 阅读(938) 评论(0) 推荐(0) 编辑

[Selenium]验证点了某个Button之后无反应
摘要:期望:点了某个Button,无反应问题:怎么去验证无反应WebElement webElement = page.getICORemove();SeleniumUtil.hover(page.getDriver(), webElement);String beforeStr = (String) S... 阅读全文

posted @ 2014-04-16 17:19 张缤分 阅读(904) 评论(0) 推荐(0) 编辑

7. Debug on local machine
摘要:Step 1:Configure AllNodes.bat,change HUD_NAME to local machine's Computer name.set HUD_NAME=SZPC1888Configure Hub.bat,change SERVER_NAME to local machine's Computer name.set SERVER_NAME=SZPC1888Run AllNodes.bat and Hub.batStep 2:Configure the environment,choose to run on local debug mode.Ref 阅读全文

posted @ 2014-03-27 12:21 张缤分 阅读(274) 评论(0) 推荐(0) 编辑

6. Manage the driver for browser and the script for Hub
摘要:AllNodes.bat的内容:TITLE SELENIUM_NODEset HUD_NAME=SZPC1888set HUD_PORT=4444set NODE_PORT=4005set DRIVER_PATH_IE=C:\WebDriver\IEDriverServer.exeset DRIVER_PATH_CHROME=C:\WebDriver\chromedriver.exeset JAR_NAME=selenium-server-standalone-2.35.0.jarset MAX_INSTANCES=1set MAX_SESSION=1java -jar %JAR_NAME% 阅读全文

posted @ 2014-03-27 11:56 张缤分 阅读(317) 评论(0) 推荐(0) 编辑

4. Configure maven in Spring Tool Suite
摘要:First of all, you need to copy the folder named like: Choose Window->Preferences->Maven->User Settings, then update your maven settings.You should choose the "settings.xml" file in the maven folder which is in your local machine.Then you will find the url has been changed and then 阅读全文

posted @ 2014-03-27 10:37 张缤分 阅读(191) 评论(0) 推荐(0) 编辑

3. Install Spring-Tool-Suite & TestNG
摘要:1.Install Spring-Tool-Suite2.Install TestNG 阅读全文

posted @ 2014-03-27 10:09 张缤分 阅读(426) 评论(0) 推荐(0) 编辑

5. Import the project download from Git
摘要:1.Recover eclipse projectCopy .project from other project(You can new a project first in eclipse. Then copy its “.project” file into our projects), remember to replace project name with current name in .project2.Import the project into the Spring Tool Suite.And now, you can import your project into 阅读全文

posted @ 2014-03-26 12:38 张缤分 阅读(270) 评论(0) 推荐(0) 编辑

2. Get the codes from GIT
摘要:Clone the code from git.Click the “GitEx Clone”.Paste the url into the “Repository to clone”. You can get the route from git repository from it:https://msstash.companydomainname.com/ .Find the project which you want to download and then click the “Clone” button and copy the url.Then the codes have b 阅读全文

posted @ 2014-03-25 17:51 张缤分 阅读(164) 评论(0) 推荐(0) 编辑

1. Install Git and GitExtension
摘要:Install GitStep 1: Run Install GitExtensionStep 1: Run . You will find the following dialogue, then click “Run” button.Step 2: Then click “Next”.Step 3: Choose “Install for all users of this machine”, then click “Next”.Step 4: Choose “Install MsysGit” and “Install KDiff”, then click “Next”.Step 5: Y 阅读全文

posted @ 2014-03-25 17:42 张缤分 阅读(206) 评论(0) 推荐(0) 编辑

上一页 1 2 3

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示