Play a module with bound variables

Ask general questions here.
Florian
Posts: 75
Joined: Fri Jul 27, 2012 12:57 pm
Location: France (Lyon)
Contact:

Play a module with bound variables

Post by Florian » Mon Feb 17, 2014 1:52 pm

Hello,

I have a question I may already have the answer, but who knows :)
In my test suite I have many modules. Some of them have bound variables defined by a table in the data sources (cross-browser testing with FF, IE and Chrome). But when I debug the module, I cannot run the module alone because the variable waits the data source.

To test I can change the module and put the name of the browser for example, but sometimes I forget to change back the right value.

Do you have a workaround?

I hope you fully understood my issue :)
Thanks in advance!

Swisside
Posts: 92
Joined: Thu Oct 10, 2013 10:40 am

Re: Play a module with bound variables

Post by Swisside » Mon Feb 17, 2014 3:20 pm

Hi

I'm pretty sure the module variable takes the value of the global parameter when you run the suite. Therefore the "default" value is overwritten. Isn't it the case ?


Regards
A simple thank you always does wonders !

Florian
Posts: 75
Joined: Fri Jul 27, 2012 12:57 pm
Location: France (Lyon)
Contact:

Re: Play a module with bound variables

Post by Florian » Mon Feb 17, 2014 3:27 pm

OMG!!! It was so easy I didn't think about that ... :oops: :oops: :oops: :oops:
I've never used 'default value' of a variable wondering how it works ... Now I know!!

Thank you so much ! :D

By the way it's written at the end of this paragraph but I haven't read all the user manual.