I'm testing a installer with Jubula and I have to check if the Software license agreement is correct,
In other words, I have to check if a textbox with 25 pages worth of characteres is correct.
I can replace all /n with * , so I don't have to worry with mult line text(as I saw somewhere here that this was a problem). However, I don't know a way to input all thoose characteres in Jubula without getting one error saying "Jubula Only supports 256 characteres in a parameter".
What am I doing wrong? Is there a way to check this gigantic text in this textbox?
You could have a test case iterate through a large dataset containing each individual line, but that would not ensure that the lines appear in the correct order, just that they all appear. Would that be good enough?
If the column in your dataset is called TEXTLINE, for example, you would just make a test case that checks for a simple match of "*=TEXTLINE*" in the text field, and have that test case use your dataset. It will get called repeatedly until the dataset is exhausted.
You can also use a variable to store the previous line, which will enable you to check that two lines appear in the correct order relative to each other. Unfortunately, if you have to use "*" in place of newlines, then you will not be able to ensure that nothing else comes between those two lines.