Identifiying/capturing \'Static\' within a Dialog box
Using DP: Recognising the Static object within a Dialog box is proving to be inconsistant - I have used
'vEnroleMessage = Browser("Name:=UFI.*").Dialog("text:=Microsoft Internet Explorer.*").Static("Text:=This is not a valid enrolment key. Please try again.*").GetROProperty("text")' and it has been successful - however in another page the static cannot be identified.
The only difference I can see is the Text property is a multiple line value (not sure if this would make a difference??)
Any ideas would be greatly appreciated.
Thanks in advance.
Re: Identifiying/capturing \'Static\' within a Dialog box
Well it does in case the new line character appears before .* in "This is not a valid enrolment key. Please try again.*"