-1

In karate.core version 0.9.5 scenarioContext.scenarioInfo.getScenarioName() , this was working but in karate 0.9.6 , scenarioContext.scenarioInfo.getScenarioName() is not working. what is the alternative to it in Karate 0.9.6

Engineer
  • 459
  • 1
  • 4
  • 8

1 Answers1

-1

Please focus on 1.0 now: https://github.com/intuit/karate/wiki/1.0-upgrade-guide

It will be:

* def name = karate.scenario.name

You are welcome to contribute code to fix this in 0.9.6, this is open-source.

Peter Thomas
  • 54,465
  • 21
  • 84
  • 248
  • Thanks for your answer Regarding , "focus on 1.0" It would be great , if you would add such points in the earlier version release notes. It could save other's time and efforts. – Engineer Feb 05 '21 at 19:48
  • @Engineer we can't go and update all old release notes when we create new versions, no project ever does this :) – Peter Thomas Feb 06 '21 at 03:27
  • No Worries, one day everything would be fine. – Engineer Feb 07 '21 at 09:42