Saturday, July 31, 2010

WinEdit, WebEdit - Set text/Number error in QTP

When you are facing difficulties in setting a number or text in a windows or web application
the edit fields have some unique properties that will validate the input you enter.

Use the following
Window().Dialog().WinEdit().type "123-00-1234"
instead of
Window().Dailog().WinEdit().set "123-00-1234"

2 comments:

  1. How to clear The Text in The WinEdit Object

    ReplyDelete
  2. wondow("Obj").....WinEdit("FileName").set " "

    ReplyDelete