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

