Forum Discussion

vbhanuprakash's avatar
vbhanuprakash
New Member
3 years ago

How to get scenario count

We need to get how many scenarios are present in feature file When we are running a specific tag 

 

Example :

1. In a feature file we have some scenarios

2. I have picked 1 scenario and started running

3. Now we need to get the scenarios count present in feature file which we are running( we will know 1 scenarios is running but we need to know total scenarios count= Running + not running one)

 

Any help is really appreciated. 

No RepliesBe the first to reply