Neutrino Packing Machine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

meta4qa-browser

1.9.1 • Public • Published

Dialect For Web Apps

A scenario describes a user story - essentially it's a list of instructions and expectations.

The framework interprets each step in the scenario using the Gherkin Vocabulary.

To test using a particular web browser, you'll need to install the appropriate driver:

BrowserComponent
Chromechromedriver(.exe)
Internet ExplorerIEDriverServer.exe
EdgeMicrosoftWebDriver.msi
Firefox 47+geckodriver(.exe)
PhantomJSphantomjs(.exe)
Operaoperadriver(.exe)
SafariSafariDriver.safariextz

Let's start with an example:

@dialect=webapp
@target=google
Scenario: Test Google using Firefox

  Given I use firefox browser
  When I visit /
  When I type meta4qa into q
  When I click btnG
  When I wait until page is meta4qa - Google Search
  Then I stop using browser
  Then dump

Keywords

none

install

npm i meta4qa-browser

Downloadsweekly downloads

6

version

1.9.1

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar