Micro Focus QTP (UFT) Forums
Size limit to property-value input? - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Size limit to property-value input? (/Thread-Size-limit-to-property-value-input)



Size limit to property-value input? - dennis - 02-12-2011

Using QTP 10.00 for desc prog with vbscript.

My issue:
Code:
Set objCollection = Browser(oBrowser).Page(oPage).ChildObjects(obj)

The obj I am trying to identify has an outertext value > 250 chars.

Let's say that I want to identify an object by its outertext value. If the value that is loaded into 'obj' for outertext is less than 250 chars with some regex appeneded, the object will be identified.

However, if I put 251+ chars in with the same regex appended, the object will NOT be identified.

Any ideas?