01-21-2008, 04:23 PM
Rajesh,
ur code is not working fine bcz first part of statement is in DP and second part is in programmatic.
First Part Second part
As per my exp both parts(first and second) part sud be either in progmratic or in DP, but not first part is in DP and second part in programmatic.
That is the reason ur code is not working.
If att u want to gor duel program then u can put the first part in programmatic and second part in DP.
see the code here
This is working fine-
This is NOT working fine-
To answer ur second question,
You wont get the properties by spy for the option which will be there under main menu options like in IE--menu--"Favorites"--"Add to Favorites.."
ur code is not working fine bcz first part of statement is in DP and second part is in programmatic.
Code:
Window("text:=Flight Reservation").WinMenu("Menu").Select "File;New Order"
As per my exp both parts(first and second) part sud be either in progmratic or in DP, but not first part is in DP and second part in programmatic.
That is the reason ur code is not working.
If att u want to gor duel program then u can put the first part in programmatic and second part in DP.
see the code here
This is working fine-
Code:
Dialog("Login").WinEdit("attached text:=Agent Name:").Set "rajesh"
This is NOT working fine-
Code:
Dialog("text:=Login").WinEdit("Agent Name:").Set "rajesh"
To answer ur second question,
You wont get the properties by spy for the option which will be there under main menu options like in IE--menu--"Favorites"--"Add to Favorites.."