scenarios Questions

7

I need to pass the List of strings from cucumber scenario which works fine as below Scenario Outline: Verify some scenario Given something When user do something Then user should have some "<...
Permanence asked 11/7, 2017 at 11:53

4

In my robolectric test i wrote a @Rule public ActivityScenarioRule<AppCompatActivity> activityScenarioRule = new ActivityScenarioRule<>(AppCompatActivity.class); @Rule public Ac...
Gaffer asked 11/4, 2019 at 14:55

4

As the title suggests, I wish to run some certain configuration / environment setup steps before a scenario outline. I know there is Background to do this for scenarios, but Behave splits a scenari...
Barth asked 7/12, 2015 at 4:31

1

Solved

I'm writing BDD automation tests in Visual Studio 2019 using Specflow and running them using Nunit3. When i write a Scenario Outline with an Examples table it looks like: Scenario Outline: NP10_New...
Undry asked 13/10, 2020 at 8:48

4

Solved

Is there a way to implement an AfterScenario hook to re-run the current test in case of Fail? Something like this: [AfterScenario("retry")] public void Retry() { if (ScenarioContext.Current.Test...
Mulct asked 22/1, 2014 at 9:0

1

I would expect to be able to have my scenario outline title have more information by using the examples within the title itself: Scenario Outline: A <some> step is <result> When a &l...
Doughboy asked 31/5, 2018 at 19:6

1

Solved

I'm trying to create a new set of tests for testing a legacy web site that I'm working on. The site uses a database at the back end. I'm planning on using SpecFlow and Selenium, however I'm a bit s...
Ariose asked 29/3, 2016 at 12:50

1

I'm just a newbie in testing with Specflow and I have an issue when I use Scenario Outline. My feature file as following: feature file and below is the name is auto generated name. I just want...
Scrivner asked 13/10, 2015 at 9:48

1

Solved

I have been using SpecFlow for a while, without making use of the "but" logic. Considering the following scenario: Scenario: Kiran logs into the system but doesn't click remember me Given I have...
Westbound asked 10/6, 2015 at 17:48

3

Solved

We are trying to take screenshots for each step. Everything works fine. But we are not able to correlate the screenshots to the steps which created them. What we would like is something like Feat...
Pre asked 4/11, 2014 at 0:23

1

Solved

I have this feature file: Scenario Outline: Example Given I am a user When I enter <x> as an amount Then the result should be <result> Examples: | x | result | | 3 | 3 | | 1 | 1...
Knowles asked 21/2, 2014 at 22:34

3

Solved

Sometimes it can be useful to run only the first part of a large doctests file. There are many situations when the first part breaks after a code change, I would like to run only the first part, ...
Footcloth asked 19/3, 2012 at 13:37

1

Solved

I was wandering is there any chance to use scenario for rules, in my model I have public function rules() { return array( array('delivery, firstNameBilling, lastNameBilling, addressBilling, c...
Volding asked 2/7, 2013 at 7:44

5

Solved

I am looking for a good strategy of dealing with database deadlocks from within a Java 6 application; several parallel threads could, potentially, write into the same table at the same time. The da...
Disincentive asked 8/12, 2009 at 11:9

9

Solved

Does anyone have any good scenarios for teaching relational databases and SQL? All the examples I can find are either trivial or have improbable domain constraints (like full name being uniqu...
Condolence asked 2/2, 2009 at 16:33
1

© 2022 - 2024 — McMap. All rights reserved.