Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

66
Vistas
Does jbehave have a way to share variables between keywords?

I have story something like this:

Scenario: Go to screen Configuration->Setup->Device Operation Mode , Set Device mode to IP if not matched
Given I am on page Configuration->Setup->Device Operation Mode
When I choose "IP" if not matched from "Operation Mode" dropdown

So " When I choose "IP" if not matched..." keyword is clicking on button and change my mode to IP.

My question is: if I want in the end of the test to add Scenario that returns the origin Device mode if it has changed.

Something like:

Scenario: Go to screen Configuration->Setup->Device Operation Mode , return device to origin mode
Given I am on page Configuration->Setup->Device Operation Mode
Then I  return device operation mode to origin mode

How can I know what the origin mode was?

Does jbehave have a way to share variables between keywords?

over 4 years ago · Santiago Trujillo
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda