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 to organize a Cucumber feature file when there is a common "Then"?

I have the following two scenarios in my feature file: @system-A @updating-dob Scenario: Updating customers dob Given an account from system A When I save the dob Then I should see the dob is updated successfully @system-B…
Preeti
  • 3
  • 2
0
votes
2 answers

Delete step in scenario in Add-in for Enterprise Architect

I have problem with deleting steps from scenario in Add-in for Enterprise Architect I want delete empty steps of scenario from element, but its not working, this "deleted" steps exists in this scenario. Where is mistake in my code? short esCnt =…
0
votes
1 answer

Paragraph ad libs-esque combinations in Python

I have a basic paragraph such as: Sarah went to the (location) to pick up some (item) with her best friend (person) However, they got lost and decided to go to (location 2). Then Sarah took some photos of (object) for her to show to her boss at…
user3587302
  • 11
  • 1
  • 1
0
votes
0 answers

why WCF scenario test generation wizard throw that error?what kind or log file i should use?

I'm creating a wcf test and when the WCF Scenario Test Generation Wizard comes up there is an option to create the scenario called :"Capture the message log" then when I give to it a wcf trace file throws an error: messages.svclog is not a valid…
0
votes
0 answers

cucumber filter out scenario in runtime

I'm looking for the way how I can manage ruby cucumber scenarios in runtime. I'd like to filter some scenarios out having some information about SUT which I can gather in runtime. For instance, I've the following scenarios @automated Scenario: As a…
0
votes
1 answer

How to write to the SAME excel sheet using JXL API?

I have an excel sheet (located in classpath), which has scenarios to be read and executed. Once they are executed, I should write back to the SAME excel sheet saying whether the scenario is PASS'ed or FAIL'ed. How can this be accomplished? (NOTE:…
KrishPrabakar
  • 2,824
  • 2
  • 31
  • 44
0
votes
1 answer

How are database scenario based applications developed?

You are building an application that uses a database. For example, it is a marketing/sales software. The application allows user to create scenarios, one user may choose a different path to improve the company's sales, other user may choose another…
alwbtc
  • 28,057
  • 62
  • 134
  • 188
0
votes
4 answers

How can i use Selenium for long scenarios?

I have been asked to record a long running scenario which involves pages of functionality for the life-cycle of a patient from registration to billing. I tried Selenium IDE but it is flaky, giving replay errors of what it just recorded. When i try…
Chakra
  • 2,525
  • 8
  • 43
  • 82
0
votes
1 answer

In Enterprise Architect, can I export the structured specification of an element's scenario into a report?

For each model element, there is the option in EA 10 to create internal requirements, constraints and scenarios. All of them end up in reports if you use the pre-defined Basic Template. However, if you select "structured specification" instead of…
observer
  • 2,925
  • 1
  • 19
  • 38
0
votes
2 answers

Lua Script - Scenario

Situation : I'm coding about saving the data which is values of the sensors. How can I save two values in one sentence, the line below makes error filehandle:write(" -The Value of the Sensors :…
jung hur
  • 81
  • 1
  • 4
  • 11
0
votes
2 answers

Lua script - Coding a scenario

Situation : There are two sensors and I want to save the data of values of each sensor in the certain file..But it's not working. I am working on linux system and the file is still empty. What's wrong with my code? any suggestion please? my code…
jung hur
  • 81
  • 1
  • 4
  • 11
0
votes
2 answers

Test Suit, Test Module, Test Block, Test Scenario and Test Cases

Please let me know what is the definition of Test Suit, Test Module, Test Block, Test Scenario and Test Cases, and what is the relation between them? Thanks, Somnath
Somnath Guha
  • 107
  • 3
  • 13
0
votes
1 answer

Yii scenario not working

I'm trying to set up a scenario in Yii. I have a model called File, which I use for a file upload. Now, I want to use the same model for the creation of directories. Directories don't have a file attribute so I setup the scenatio in the model like…
Thijs
  • 3,015
  • 4
  • 29
  • 54
0
votes
1 answer

Cucumber: @wip flag behaves strangely with Guard

Possible Duplicate: How do you get cucumber/guard to filter on tags like @wip? I have the following scenarios: Feature: List projects In order to manage projects As a user I want to see a list of them Background: Given I am logged…
Joshua Muheim
  • 12,617
  • 9
  • 76
  • 152
-1
votes
1 answer

Problem accessing indexed results two stage stochastic programming Pyomo

When running a stochastic programming problem in Pyomo, the resulting solution works only when running 10 precisely the same scenarios but the results remain zero when running different scenarios. I aim to run 10 different scenarios with…
1 2 3
18
19