I am using SilkTest 6.5 for Automating a Desktop application.
I am using following code to print the content of the error message to my result file:
But if my result file having a big error stack message (say 10 to 15 lines) then it prints only few lines (the 4-5 error lines message appeared on a single straight line) on the result file.
Did any one face the same problem that clipboard not pasting whole message on the result file?
Please tell me why it happens? Do we need to do some settings to print the whole message in the Result file?
without trying, i would suspect that SilkTest has a certain size limit for the Clipboard text that can be stored.
MicroFocus - SilkTest - Developer
I've noticed that copied data does not immediately go into Clipboard. Try to set sleep(1) before GetText() and also set some delay between TypeKeys command.
I tried the same but it doesn't affect.
Is there any another way?
I didn't face the issue even the page has more than 100 lines of data.
Try with <CTRL-c> instead of <CTRL-Insert>.
Try and fail, but don't fail to try