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-09-2011

Give more details of your problem
Also paste the error message


RE: Enter the login details - Unleash Rajesh - 07-09-2011

Hi..

It recognized the object...and got the status as "DONE" but no clicks performed on Log in button...This is the code i had used...

Code:
Set s = Description.Create
s("html tag").value = "INPUT"
s("image type").value = "Image Button"
s("class name").value = "Image"
s("filename").value = "login.png"
s("name").value = "Image"
s("alt").value = "Login"
Browser("Title:= Login").Page("Title:= Login").WebButton(s).click

Try to sort out this...


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

try this

Code:
Set s = Description.Create
s("micclass").value = "Image"
s("image type").value = "Image Button"
s("file name").value = "login.png"
Browser("title:= Login").Page("title:= Login").WebButton(s).click



RE: Enter the login details - Unleash Rajesh - 07-11-2011

Its not working...



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

post screenshots of your page and SPY properties


RE: Enter the login details - Unleash Rajesh - 07-11-2011

Find the enclosed copy....


Find the enclosed copy....


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

Code:
Browser("title:= Login").Page("title:= Login").Image("micclass:=Image","file name:=login.png").click



RE: Enter the login details - Unleash Rajesh - 07-11-2011

Find the enclosed copy...




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

why are you attaching samething again, i have replied , check it.


RE: Enter the login details - Unleash Rajesh - 07-11-2011

Thanks a lot..Now its working fine