Automated web testing with WebDriver

WebDriver is a tool for automating web application testing executing tests across a wide range of browsers like Chrome, Firefox and Microsoft Edge. As a member of the Selenium family, it is designed to provide better support for dynamic web pages.

制限: : 
TestArchitect currently provides partial support for Generic WebDriver. Built-in actions and settings can only work on the platforms and browsers listed in this topic.

  • WebDriver makes direct calls to a browser using the browser’s native support for automation.
  • It provides separated language-binding for each supported language such as C#, Java, Perl, PHP or Ruby. You use it to implement test script.
  • Each supported browser has separated Executable Browser Driver which is used along with language-binding to run the test.
  • WebDriver interacts with applications under test in a more realistic way. For instance, if there exists a disabled checkbox on a testing page, WebDriver has no capability to select the checkbox as just as how a real person cannot.

Advantages

By using WebDriver, you are able to run tests across browsers with minor changes. It saves your time in implementing as well as maintaining test scripts. Besides that, WebDriver is a stand-alone component which is released frequently to support new versions and features of browsers.

Locating interface elements

  • WebDriver only supports locating interface elements by Selenium-supported properties such as id, name, tagname and xpath. You had better use POM Builder or the browser’s inspect feature to identify web elements instead of the Interface Viewer.
  • For legacy interface elements that were captured with different from Selenium-supported properties, replace these properties with. It means that you ought to re-capture the interface elements using the Selenium-supported property.

Getting Started

Platform support

Configuring WebDriver server & client
The topic guides you how to configure WebDriver server/client.

Best practices for WebDriver


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGearはLogiGear Corporationの登録商標であり、Action Based TestingおよびTestArchitectはLogiGear Corporationの商標です。ここに記載されているその他の商標は、各所有者の財産です。

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400