William,
I'm a bit confused.  You say you want it before/during the test
execution, but that you need it for report / view generation.
My understanding (which I would verify by running the
spring-security example) is that the name is available and that
you
would want to implement the report generation in a way that is
compatible with selenium.

I believe that the data is for report generation - will that work
for you?

Brian

----- Original message -----
From: "William Breternitz" <[email protected]>
To: [email protected]
Date: Wed, 15 Sep 2010 16:36:53 -0300
Subject: [jbehave-user] Can I get scenario's title before test
start?

Hello,  please I need help.


                I want know how if I can get the scenario´s title
 (dynamically) before the test run. Is it possible?


                I tried the annotation @BeforeScenario in the
step’s class but I didn’t find the way to get this information.

                Also I tried instance a scenario object and use
de method “getTitle” but I got an empty result.

                It is very important to me get scenario’s name
because I want to generate selenium reports with this
information.


Please, check the attachments.



Thanks in advance.


[1]William Breternitz | analista de teste de software | Tel: +55
19 3794 1681 cid:[email protected] Ramal: 1707 |

[2]Synchro Solução Fiscal – 18 anos | SPED | NFe | CTe |
Classificação Fiscal


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

 http://xircles.codehaus.org/manage_email

References

1. mailto:[email protected]
2. http://www.synchro.com.br/
---
Brian Repko
LearnThinkCode, Inc.
email: [email protected]
phone: +1 612 229 6779

<<attachment: image001.gif>>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to