Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

65
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda