02-12-2011, 12:44 AM
Using QTP 10.00 for desc prog with vbscript.
My issue:
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?
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?