question

MissingScrews avatar image
MissingScrews asked MissingScrews answered

iTest forces newline

When I run a test case via the GUI and I save the output from a session it comes out fairly normally, but when I use an itar via iTestRT it seems to force a newline. For example: Via GUI. This would be a really long output that I would save to a file. Via iTestRT itar. This would be a really long output that I would save to a file IS there any way to prevent the forced newline?
iTestiTest Runtime (itestrt)itar
1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

MissingScrews avatar image MissingScrews commented ·
When I do a diff I get a forced newline after the 2: ![alt text][1] But I do not want a newline. [1]: /storage/temp/3645-newline.png
0 Likes 0 ·
newline.png (5.5 KiB)
MissingScrews avatar image
MissingScrews answered
I figured it out. I just went into the session profile and there is an option to expand the terminal window.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

madhuri avatar image
madhuri answered
We are getting this new line after every command in the output saved file because in the response view of iTest you can see a blank line is coming after the response of every command and same it is writing to the file. I believe this is working as per design as iTest always puts a line separator between each step. For example, in the below screenshot while capturing the command from interactive session there is no empty/new line after completing show arp command response but if you check in test report there is a new line added. ![alt text][1] [1]: /storage/temp/3642-new+line.png

new line.png (26.8 KiB)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

sandeepreddynv avatar image
sandeepreddynv answered
I tried in 4.2.2, in this it creates a new line in GUI as well as via iTestRT. Please let me know in which version of iTest you are seeing this kind of behavior and I will give it a try in that version.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.