Questions tagged [scenarios]

In Behavior-driven development (i.e. BDD), a scenario (also known as acceptance criteria) is a description of each specific case of the narrative.

See the Wikipedia entry for Behavior-driven development for more information about scenarios.

279 questions
0
votes
1 answer

How does a Symmetric CGN handle this scenario?

Client A (behind a NAT) tries to send the same session initiation message to a port on server B from multiple ports, what does the NAT do, does the NAT forward all the ports trough different random ports or does the NAT software sends only one…
0
votes
1 answer

Have some issue with running Simple Scenario And Sensor Model 3D Simulation

I want to run the SimpleScenarioAndSensorModel3DSimulation example on Matlab R2019b simulink. But there are 2 kind of errors which one of them is a warning and I'm not sure whether this warning leads into simulation error or not. Here are the…
Nika
  • 1
  • 2
0
votes
1 answer

Execute Scenario Outline in a feature file only if previous one passes

I am using a Cucumber feature file with two scenarios using Scenario Outline. Is there a way to execute the second Scenario Outline, only if the first one passes? Scenario Outline: Test 1 fails, then Scenario Outline: Test 2 is never executed. I…
kokodee
  • 285
  • 1
  • 3
  • 15
0
votes
1 answer

How can I use the name of a step in my error logs? NUnit, Specflow, C#

I am automating tests as end-to-end scenarios, therefore I have multiple Thens, e.g. Scenario: My scenario Given a When b Then check something 1 When c Then check something 2 When d And e Then check something 3 I am aware that you can access the…
Zuno
  • 433
  • 1
  • 7
  • 17
0
votes
1 answer

Acceptance scenarios and method for cancel print dialog box

I am working in automated test using specflow scenario feature files and steps to execute . i got stucked in executing scenario for cancel print dialog box in chrome. Scenario:User can get report When I select 'All ' tab And I click on…
0
votes
1 answer

Cucumber tests - break

I have a scenario outline with around 4 examples Scenario Outline: Select Customer Given I am in "home" page When I click on Then I should see results Examples: | person | | john | | john | |…
0
votes
2 answers

How to ignore some part of characters from output result

I have to assert a string, i want to skip some characters suppose I have expected result value ABCDEFGHIJKLM, and my output will ABCDXYGHIZKLM. it should pass my bdd. note :- my string length will be same for every time.
Sachin Singh
  • 201
  • 4
  • 11
0
votes
2 answers

How to pass parameters in cucumber scenario outline example based on environment?

I am using Scenario Outline for my API testing. My need is very simple, give multiple input and verify the output.(Negative & Positive inputs). So for that I want to parameterized input data depends on my environment. Dependency - cucumber-java :…
Bhavik Shah
  • 140
  • 4
  • 16
0
votes
3 answers

"How to execute a whole scenario with 5 steps before some particular scenarios in cucumber"

"Can i execute a specific scenario that is having suppose 5 steps before some specific scenaros in Cucumber? Suppose i have a feature file that contains 3 scenarios say A,B and C. I am writing another feature file and there are suppose 5 scenarios…
Ranjan
  • 1
  • 2
0
votes
1 answer

Power BI: How to scenario analysis, where the selector "looks up" the select value from slicer and gets values from that row

I've followed multiple tutorials on scenario analysis and what if analysis in power BI. these examples are quite clear to me and I somewhat understand how they work. For example this…
Anton
  • 581
  • 1
  • 5
  • 23
0
votes
2 answers

Fetching all cucumber scenarios that have a particular tag

How can I fetch a list of all the scenarios that have a particular tag. For example get all scenarios that have @checkout tag.
Harry
  • 31
  • 1
  • 6
0
votes
1 answer

All the JBehave steps are marked as PENDING when executing them in SerenityBDD

I'm trying to execute a very simple story with login functionality in Serenity BDD and JBehave framework. But, all my steps are marked as PENDING and skipped. Please help me understand what is really going wrong with my code. I have made sure that…
Vinoth
  • 21
  • 3
0
votes
0 answers

Range of arguments for a Specflow Scenario

I'm looking to have a Specflow test which processes rows from an external spreadsheet. As an example this feature produces the exact effect I need. As in a single feature which generates multiple tests which have their test name ammended so I can…
0
votes
2 answers

how can I randomize the steps order of Cucumber?

How can I randomize the fastest method /way to do?: Scenario Outline: As an Piet i can delete users Given the user is logged in as 'Piet' Given the menu item 'user management' is selected When the user '' is deleted Then…
a_vp
  • 1
0
votes
1 answer

@Json in JBehave's Story

Parametrised Scenarios can be achieved by different ways (http://jbehave.org/reference/stable/parametrised-scenarios.html) in JBehave's story file. But I want to know whether Json can be used in parametrised scenarios like the following…