SpecFlow: C# BDD Framework Runner Example(SpecFlow.org)

SpecFlow+ Getting Started

This section guides you through the process of installing SpecFlow and SpecFlow+ Runner1 and setting up a simple project in Visual Studio. The getting started guide for SpecFlow+ Excel can be found here.

The sample project is intentionally kept very simple and consists of a basic “calculator” that adds two numbers and returns the result. You will define a test scenario to automate the testing of the calculator’s code.

This guide contains the following sections:

UB: Ubuntu 18.04 LTS Desktop VM Setup

VirtualBox Setup

  • Ubuntu 18.04 LTS Desktop
  • ISO: ubuntu-18.04-desktop-amd64.iso
  • OS: Linux_x64
  • Memory: 2G
  • Video: 128M
  • USB:3.0
  • HDD: 10G

Install net-tools

sudo apt install net-tools

Install OpenSSH server

https://help.ubuntu.com/lts/serverguide/openssh-server.html

sudo apt install openssh-server

sudo apt install openssh-client

Install firewall config tools

sudo apt install firewalld

gcc install

https://askubuntu.com/questions/1028601/install-gcc-8-only-on-ubuntu-18-04

Required for VBox Guest Additions

Tags

CucumberJVM: 05 - More Logic with Examples:, driver.switchTo() and action.moveToElement()

Another feature file with more test data

Feature: Free CRM Create Contacts

Scenario Outline: Free CRM Login Test Scenario

Given user is already on Login Page
When title of login page is Free CRM
Then user enters "<username>" and "<password>"
Then user clicks on login button
Then user is on home page
Then user moves to new contact page
Then user enters contact details "<firstname>" and "<lastname>" and "<position>"
Then close the browser

Examples:
    | username | password | firstname | lastname | position |
    | naveenk  | test@123 | ucFirst1  | ucLast1  | manager  |
    | naveenk  | test@123 | ucFirst2  | ucLast2  | qa       |

Definitions implementation

 

Hardware: USB Headset/Microphone Dying after 5-15min

After falling victim to dying USB headsets & microphones, finally found the culprit option:

Control Panel > Power Options > Change Advanced Power Settings > USB Settings > USB Selective Suspend Settings > DISABLED

 

worked for ~45minutes


http://www.catalog.update.microsoft.com/Search.aspx?q=MS13-081

2862330

x32

http://download.windowsupdate.com/c/msdownload/update/software/secu/2013/12/windows6.1-kb2862330-v2-x86_a6f3c9b5811bd869cf6834acb96c4a0232588c9b.msu

x64

Tags
Subscribe to