Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

64
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!