Im having a problem with the GetLinks method and String lengths..
I have some simple code that gets the links on a page using the GetLinks() method which returns a List of Strings.. the issue is that some of the links are very large and they get truncated at 256 chars.. is there a way to increase the size of the STRING in the List to accommodate this?
This topic describes the range of valid values for the core built-in 4Test data types.
4Test data type Range of values
STRING Minimum: Zero characters (the empty string)Maximum: 16,383 characters
STRING constant (Unevaluated characters inside quotation marks)Minimum: Zero characters (the empty string)Maximum: 4096 characters
Seems like I have been wrong in theory. I've taken this from my experience with many SYS_* functions of SilkTest... and I've just run into problems when a string got longer than 256 chars (especially when dealing with the file functions) and some just 128.
My experience with the HTML specific functions is little, though.
I apologize for the wrong information.
Disclaimer: Nothing of what I mentioned above is to be taken as a racist or sexist remark nor as a personal attack.