Browser variable

Hi everyone
I am declaring a browser variable in my one sequence but it’s not getting recognised in next sequence

Hi @Robot78 ,

I believe you would require to change the scope of the variable.

In the variables tab, change the scope of the variable to the most outermost sequence.
You can define multiple sequences within this outermost sequence :slight_smile:

Don’t just scope it to the highest level as others have suggested. Think about what level you need this variable to be, where else you’ll need to utilize it.

*Main Sequence
** Sequence 1
*** Sequence 1A
*** Sequence 1B
** Sequence 2
*** Sequence 2A
*** Sequence 2B
*/end Main Sequence

If you just need it available in 1A then scope it in 1A. If you need it availabe in 1A and 1B then scope it to Sequence 1. If you need it available to 2A then scope it to Sequence 2A. If you need it available to 2A and 2B, then scope it to Sequence 2. If you need it available to all the sequences, then and only then should you scope it to your Main Sequence.

1 Like