Web应用测试框架 SelAid

码农软件 · 软件分类 · 测试工具 · 2019-11-25 08:13:43

软件介绍

SelAid 使得可以很方便的使用 Selenium 2.0 WebDriver 来测试 Web 应用程序,助手类提供丰富的关于 WebDriver 的 WebElement 的抽象层。使用 SelAid 来编写 Web 测试程序使得测试更加简单、可读和可维护。

示例代码:

  WebElement element = _driver.findElement(By.id("colors"));
  SelectHelper helper = new SelectHelper(element);
  assertTrue(helper.isMultiSelect());
  assertTrue(helper.isSelected("yellow"));
  assertFalse(helper.isSelected("red"));
  assertFalse(helper.isSelected("fuchsia")); // doesn't exist
  // concisely check which entries are selected
  assertArrayEquals(
      new String[] {"Yellow", "Green"},
      helper.getSelectedText()
      );

本文地址:https://codercto.com/soft/d/19741.html

Usability for the Web

Usability for the Web

Tom Brinck、Darren Gergle、Scott D. Wood / Morgan Kaufmann / 2001-10-15 / USD 65.95

Every stage in the design of a new web site is an opportunity to meet or miss deadlines and budgetary goals. Every stage is an opportunity to boost or undercut the site's usability. Thi......一起来看看 《Usability for the Web》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具