Page 1 of 1

Play a module with bound variables

Posted: Mon Feb 17, 2014 1:52 pm
by Florian
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!

Re: Play a module with bound variables

Posted: Mon Feb 17, 2014 3:20 pm
by Swisside
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

Re: Play a module with bound variables

Posted: Mon Feb 17, 2014 3:27 pm
by Florian
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.