Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to record the script
#11
Not Solved
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.

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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to record script in QTP? ashita 7 8,546 09-05-2011, 01:52 AM
Last Post: Forrest Gump
  Enable to record script for web application shailesh 3 5,034 07-01-2011, 12:38 PM
Last Post: shailesh
  QTP 10- Unable to record script. psinha18 2 6,199 09-25-2010, 11:32 PM
Last Post: psinha18
  Test Script that can record the actions.. Sborrus 6 4,022 09-13-2010, 07:07 PM
Last Post: Sborrus

Forum Jump:


Users browsing this thread: 1 Guest(s)