Thanks for all your help, somehow, while testing this script it just stop working. Here's part of the script
'click on File\New\Named Insured
Set w1 = Sys.Process("ApplicationShell").WinFormsObject("Ma inForm")
Call w1.StripMainMenu.Click("File|New|Named Insured")
'Legal Name field
Set w1 = Sys.Process("ApplicationShell").WinFormsObject("Ma inForm").WinFormsObject("MdiClient", "").WinFormsObject("mdifrmNamed_Insured")
I noticed that it is failing on this line
---Call w1.StripMainMenu.Click("File|New|Named Insured")---
This is a pull down menu and it just click "File" but it does not continue the rest of the actions that used to work before.
The error log shows:
---Cannot obtain the popupmenu for item 'New'---
I was trying to improve the performance so I was changing some settings but I was able to set it back to what it was before and now it's failing.