07-11-2011, 07:26 PM
hi rajesh
try with this ode
the above code is for qtp forums login screen
try with this ode
Code:
Browser("name:=QTP Forums").Page("title:=QTP Forums").Link("innertext:=Login").Click
Browser("name:=QTP Forums").Page("title:=QTP Forums").WebEdit("default value:=Username").Set "your username"
Browser("name:=QTP Forums").Page("title:=QTP Forums").WebEdit("name:=quick_password").Set "your password"
Browser("name:=QTP Forums").Page("title:=QTP Forums").WebButton("name:=Login").Click
the above code is for qtp forums login screen