10-25-2010, 06:11 PM
(This post was last modified: 10-25-2010, 06:16 PM by KavitaPriyaCR.)
Hi Jain, below script will work try this
One thing is, here when i click on LogIn button i am getting invalid user name and password, provide proper UID and PWD and try.
Pls lemme know if it won't
One thing is, here when i click on LogIn button i am getting invalid user name and password, provide proper UID and PWD and try.
Code:
Browser("Title:=Online Shopping: .*").Page("Title:=Online Shopping: .*").WebElement("html tag:=A","class:=header_myaccount","Index:=0").Click
Browser("Title:=Indiatimes Shopping .*").Page("Title:=Indiatimes Shopping .*").WebEdit("name:=login").Set "username"
Browser("Title:=Indiatimes Shopping .*").Page("Title:=Indiatimes Shopping .*").WebEdit("name:=passwd").SetSecure "4c9b5ade2cf6c7834d11869fc78b2b70eb3805a4ef0c"
Browser("Title:=Indiatimes Shopping .*").Page("Title:=Indiatimes Shopping .*").Image("file name:=sign-in.jpg").Click 40,12
Pls lemme know if it won't