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"
Follow this blog to get updated on RESOLVING SOLVING WORKAROUNDS FOR tricky issues using automation.
Disclaimer: I am not responsible for any damage or loss or profit on using this blog posts.
Web UI Automation with Windows PowerShell
Web UI Automation with HP QTP
Web UI Automation with OATS
Web UI Automation with Selenium
Desktop UI Automation
Windows Applications Automation with QTP
qtp windows application automation
Blog Free Travel information in India
Subscribe to:
Post Comments (Atom)
How to clear The Text in The WinEdit Object
ReplyDeletewondow("Obj").....WinEdit("FileName").set " "
ReplyDelete