• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






cloud_test

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 下一页

2013年12月3日

Selenium如何实现dropbar移动
摘要: 遇到这个拖拽的dropbar,如何实现呢,,经过网上查找,可以用Action的方式实现或者js来控制原理:移动按钮的同时,数字也随着变化解决方法:1.最简单的就是直接在文本框输入相应的数字 2.利用js来控制 3.Actions来执行(无法获取相应的x.y坐标位置,放弃)第二种方式来做: var js_ChangeRadio = string.Format("document.querySelector('#bar1 img').style='left: 100px'"); ((IJavaScriptExecutor) driver).Exe 阅读全文
posted @ 2013-12-03 15:18 cloud_test 阅读(255) 评论(0) 推荐(0)
 

2013年11月29日

Selenium稳定性 Test
摘要: [Test] public void DriverExtension_Wait() { var driver = new FirefoxDriver(); driver.Navigate().GoToUrl("http://www.baidu.com"); driver.FindElement(By.Id("kw")).SendKeys("selenium"); driver.FindElement(By.Id("su")).Submit(); drive... 阅读全文
posted @ 2013-11-29 17:33 cloud_test 阅读(740) 评论(0) 推荐(0)
 
Selenium 脚本稳定性问题
摘要: 运行一个星期前升至更久前的脚本,,,出现如下错误提示elementNotVisibleException was unhandled by user code。经过询问大侠,说我的脚本不够健全,也就是稳定性的问题,需要增加一些判断等待,那需要封装一些等待方法 public static void WaitUnit(this IWebDriver webDriver, Func func, int seconds = 20) { var wait = new WebDriverWait(webDriver, TimeSpan.FromSeconds(seco... 阅读全文
posted @ 2013-11-29 15:52 cloud_test 阅读(983) 评论(0) 推荐(0)
 

2013年11月24日

selenium资料
摘要: 来源http://release.seleniumhq.org/selenium-remote-control/0.9.2/doc/dotnet/Selenium.ISelenium.MouseMoveAt.html#locatorsElement LocatorsElement Locators tell Selenium which HTML element a command refers to. The format of a locator is:locatorType=argumentWe support the following strategies for locating 阅读全文
posted @ 2013-11-24 15:08 cloud_test 阅读(238) 评论(0) 推荐(0)
 

2013年11月23日

Selenium API(C#)
摘要: 1 Fetching a Pagedriver.Url="http://www.google.com";2 Locating UI Elements (WebElements)By IDThis is the most efficient and preferred way to locate an element. Common pitfalls that UI developers make is having non-unique id’s on a page or auto-generating the id, both should be avoided. A c 阅读全文
posted @ 2013-11-23 12:20 cloud_test 阅读(357) 评论(0) 推荐(0)
 

2013年8月30日

winphone 开发学习笔记(2)
摘要: 导航NavigationService.Navigate(new Uri("xxxx.xaml",UriKind.Relative))xxx表示要跳转的目标页面页面和页面导航相关的虚方法1.OnNavigatedTo:当页面成为活动页面时调用 2.OnNavigateFrom:当页面不再是活动页面时调用 3.OnNavigatingFrom:当页面即将不再是活动额面时调用,可以用e.Cancel=true; 4.OnBackKeyPress:当用户按下手机上的后退键时候调用,可以在事件e.Cancel=true取消后 退执行自己的处理逻辑(比如:退出系统)eg:protec 阅读全文
posted @ 2013-08-30 23:07 cloud_test 阅读(211) 评论(0) 推荐(0)
 
winphone 开发学习笔记(1)
摘要: 学习了winphone task1.首先根据自己电脑下载sdk,,,win 7和win 8的Sdk安装包不一样,http://www.microsoft.com/en-hk/download/default.aspx这个是微软的下载地址2.1学习一:所有Task都有show方法1.SmsComposeTask:启动发送短信任务,to body属性设置号码和内容;show后显示发送界面2.EmailComposeTask:发邮件任务,subject body to Cc属性设置标题,内容,手件人,抄送3.WebBrowserTask:打开网页任务,URL属性设置网址4.PhoneCallTasK 阅读全文
posted @ 2013-08-30 16:57 cloud_test 阅读(253) 评论(0) 推荐(0)
 

2013年8月29日

Performance testing of web application
摘要: Testing the performance of web application is easy .It's easy to design unrealistic scenario .Easy to collect and measure the performance data.And ,even if you manage to design a sound scenario and collect the right data.It's easy to use the worng statistical methods summarie and pesent the 阅读全文
posted @ 2013-08-29 17:16 cloud_test 阅读(176) 评论(2) 推荐(0)
 
每天几步一点点
摘要: 浪费时间是可耻的,,,每天进步一点点,,,哪怕一点点都是好。 阅读全文
posted @ 2013-08-29 17:04 cloud_test 阅读(135) 评论(0) 推荐(0)
 

2013年8月9日

其实做测试也不是想象中的简单
摘要: 想做一个有技术的测试,必须有如下1.懂一门语言2.广泛的知识3.数据库知识4.网络知识 阅读全文
posted @ 2013-08-09 16:07 cloud_test 阅读(175) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 下一页