Micro Focus QTP (UFT) Forums
Enter the login details - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Enter the login details (/Thread-Enter-the-login-details)

Pages: 1 2 3


RE: Enter the login details - rajpes - 07-11-2011

glad to know that.


RE: Enter the login details - Sathiya - 07-11-2011

hi rajesh
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