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
-1
votes
1 answer

.log files are getting generated when using karate-core dependency

I'm currently using karate-core dependency of version 1.2.0. Using this dependency, ForkJoinPool-1-worker-1.log these log files are getting generated. If i use karate-apache dependency, then it is generating these .log file in the target folder. Is…
-1
votes
1 answer

Karate.get() is returning first value in the expression instead of returning boolean value

I'm trying to evaluate expressions with arithematic operators in karate using javascript. As an alternative to javascript eval(), I'm using karate.get() method to perform the evaluations. In All cases, I'm able to evaluate the expression and get a…
-1
votes
1 answer

how to use same hashmap for feature file having multiple scenarios

I have a case where I have cucumber scenario outline with 3 examples and each example is generating some data which I need to store it in hashmap. For example- Example1 generates- acct no.- abc Example 2 generates - acct no. - def Exmaple 3…
PG2009
  • 1
  • 1
-1
votes
1 answer

Cucumber best practice: adding a column in the examples table or adding steps?

I have to test the creation of a product in different countries by a BDD approach. I used cucumber scenario outline. I have to mention that currency is not mandatory for the creation, it is linked to the country. I wrote the following test: Scenario…
VIJ
  • 1
  • 1
-1
votes
2 answers

Yii check scenario in beforeSave()

For one action I need transform $album_id before save it to DB in model function beforeSave() i do: // преобразовать album -> album_id $album_id=array(); foreach($this->string2array($this->album, '\|') as $one) …
almix
  • 289
  • 1
  • 9
  • 23
-1
votes
1 answer

Update step in scenario in Add-in for Enterprise Architect

I want update field "Results" (UI) for the one of scenario steps defined to element, but its not working. Method "Update()" (API) updated filed "results" instead "result". Only the value from "result" (database, t_objectscenarios.XMLContent=>result)…
-1
votes
2 answers

LINQ - Need help with a statement/ scenario

Here's the scenario: Given a List of Outputs each associated with an integer based GroupNumber. For each distinct GroupNumber within the List of Outputs starting with the lowest GroupNumber (1). Cycle through that distinct group number set and…
-2
votes
1 answer

How to write gherkin scenario directly on Xray test case creation page

How do I get the below options like test details (to add BDD scenario) when creating test cases? enter image description here On my one it just looks like this. I have imported the 6 test type from Xray into my JIRA project. Is there more…
-4
votes
1 answer

How can I mark a test story as PENDING in JAVA

I am doing UI testing in JAVA selenium cucumber environment How can I make the status of a test PENDING deliberately? Now I get FAILED and PASSED. I need this feature temporarily, I know tests should only pass or fail and it's not a good choice to…
Xovika
  • 158
  • 1
  • 6
1 2 3
18
19