01-26-2009, 09:46 PM
Hi,
I need to verify the text on the dialog box that appears on clicking a button.
I'm using the following statement
The text on the dialog shows as
abc
xyz
123
The value of sText during the script run shows as
Microsoft Internet Explorer abc(somecharacter)(somecharacter)xyz(somecharacter)(somecharacter)123
How do I compare the text and how do I use the regular expression?
Thanks a lot in advance!
~Gan
I need to verify the text on the dialog box that appears on clicking a button.
I'm using the following statement
Code:
sText = Browser("abc").Dialog("Microsoft Internet Explorer").GetVisibleText
The text on the dialog shows as
abc
xyz
123
The value of sText during the script run shows as
Microsoft Internet Explorer abc(somecharacter)(somecharacter)xyz(somecharacter)(somecharacter)123
How do I compare the text and how do I use the regular expression?
Thanks a lot in advance!
~Gan