Page 1 sur 1

'<' in data tables

Publié : jeu. mai 25, 2023 11:59 am
par Markus Essl
Hello,

I am new to Squash and try to find out how things work. I might have encountered a problem in Squash TM 5.0.

I created a "Test Case" in BDD format, and in the step I added a variable <password> ("and login with <password>"). In the Task, I added a data set for "password" - I entered "abc<def". When I run the test case, I tells me "and login with abc" - the '<' is gone, and everything after it.

I that expected behaviour? Are there restrictions in place what you are allowed to enter in the dataset?

Markus

Re: '<' in data tables

Publié : lun. oct. 12, 2026 6:45 am
par alwaysdango
Markus Essl a écrit : ↑jeu. mai 25, 2023 11:59 am Hello,

I am new to Squash and try to find out how things work. I might have encountered a problem in Squash TM 5.0.

I created a "Test Case" in BDD format, and in the step I added a variable <password> ("and login with <password>"). In the Task, I added a data set for "password" - I entered "abc<def". When I run the test case, I tells me "and login with abc" - the '<' is gone, and everything after it.

I that expected behaviour? Are there restrictions in place what you are allowed to enter in the dataset?

Markus
This may be caused by Squash TM interpreting `<` as special syntax in BDD steps. Try escaping the character or check whether Squash TM 5.0 supports it in data sets.