07-04-2011, 10:58 PM
Code:
Why shouldn't it? u have just specified object with no operation
Browser("Title:= G").Page("Title:= G").WebButton("name:= btnLogin").Click
by the way make sure your browser and page's title are exactly "G", if it is first letter of some string title, use G.*