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://www.codercto.com/soft/d/19741.html

High Performance JavaScript

High Performance JavaScript

Nicholas C. Zakas / O'Reilly Media / 2010-4-2 / USD 34.99

If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your ......一起来看看 《High Performance JavaScript》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

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

在线 XML 格式化压缩工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具