Open TsunaDev opened 7 years ago
Hello @TsunaDev
Did you notice that you could use system variable as described in the documentation chapter
5.5.5. Variables
Could that fit your needs? If not, could you explain a bit your need? Thanks
Hello @bcivel , Yes, I noticed it
I'm working with a database. I want to create a plateform where the user can choose a date and it will compute the tests with this date as a property. So I was wondering if that was possible to have a property that's defined at the moment of the execution.
For example : RunTestCase?Test=Examples&TestCase=0004A&[...]&myproperty=26
If in your case, you use : name:myproperty type:text value:%SYS_TODAY-dd%
when the property will be calculated, it will use the current date.
Do I misunderstand the need?
It could be any date not just current one
I could use another example than dates :
Again, from an external plateform, I'd like the user to be able to choose the account he's testing on, rather than changing the properties username and password from the App, he'd just be able to choose the account name and the password from the plateform and with some formatting from my plateform it would run : RunTestCase?Test=Connection&TestCase=0004A&[...]&username=user&password=pass
Hello @TsunaDev OK I understand the need. I just wanted to make sure if it was possible or not to unlock you quickly by few tricks.
Anyway, what you propose is very interresting, we keep it open and put it in the road map. We'll keep you aware of the resolution.
Thanks Benoit
Hello, UP, this enhancement will be usefull in so many ways. Is it still on the road map ?
Sure it is.
I'd like to know if it is possible to launch a test with a variable property.
In my case, I'd like to be able to launch a test from another interface (with a wget for example) with a variable date.
Regards, Tsuna.