getgauge / gauge-csharp

Csharp runner for Gauge
https://gauge.org
GNU General Public License v3.0
33 stars 21 forks source link

Ability to get current step text with values of dynamic parameters from ExecutionContext #133

Open sswaroopgupta opened 6 years ago

sswaroopgupta commented 6 years ago

Expected behavior

User should be able to get current step text with values of dynamic parameters from ExecutionContext.

Proposed behavior

Step text with dynamic parameters can be read from method getDynamicText() wherein the actualStepText of currentStep can be read from method getText.

Steps to reproduce

  1. run test with step which receives dynamic parameters
  2. get step text from ExecutionContext on AfterStep or BeforeStep event

Gauge version

Gauge version: 0.9.9.nightly-2018-06-01 Commit Hash: 812f26e

Plugins

csharp (0.10.4.nightly-2018-05-29)