Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Verifying the text on the dialog box
#1
Not Solved
Hi,

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
Reply


Messages In This Thread
Verifying the text on the dialog box - by americaneagle18 - 01-26-2009, 09:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  RegularExpression for verifying minimum number bostonma 1 2,806 04-15-2009, 05:13 PM
Last Post: dvkbabu

Forum Jump:


Users browsing this thread: 1 Guest(s)