| || |
how to recognize menu and submenu optins using DP
I want to navigate to window by selecting "Utilities->Load->ProjectView DBF file..." from the menu bar. I used the below mentioned code for this scenario.
BWindow.WinMenu("menuobjtype:=2").Select "Utilities;Load;ProjectView DBF file...".
But it throws an error.
Kindly clarify me how to proceed.
Re: how to recognize menu and submenu optins using
1.Record the activity
2. go to Object repository and review the objects used.
3. Find the unique properties of the objects (if required use the '+' button to see additional properties)
4. program their descriptions if necessary use Regular expressions, indexing etc.
From the above code I guess you may need to add some more descriptions to make the object unique and easy to find.
What's the error you are getting?