Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
web edit pull down
#2
Solved: 10 Years, 8 Months, 4 Weeks ago
Hi,

Please find the below test case to execute..
1.Launch the url as "http://www.google.co.in/"
2.Enter "venk" in webedit and select required one among the suggestion.
3.Hit Enter or click [Google search] button


Code:
Browser("xxxx").Page("xxxx").WebEdit("venk").Click
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "venk"
wait 3
WshShell.SendKeys "{DOWN}"  ' here i have selected first item  (if u want to select 3rd one use do while loop to select thte required one)
WshShell.SendKeys "{ENTER} "



please let me know if you need any information apart from this

Thanks,
Venkat.Batchu

With complete code:
Code:
Browser("Google").Page("Google").WebEdit("q").Click
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "venk"
wait 3
WshShell.SendKeys "{DOWN}" ' here i have selected first item (if u want to select 3rd one use do while loop to select thte required one)
WshShell.SendKeys "{ENTER} "
Reply


Messages In This Thread
web edit pull down - by raphael - 11-15-2009, 09:49 AM
RE: web edit pull down - by venkatbatchu - 11-16-2009, 11:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to edit a text in aParagraph shaan.mishra87@gmail.com 2 2,367 08-26-2016, 04:48 PM
Last Post: shaan.mishra87@gmail.com
  Auto complete for Web Edit box branjitk 2 5,712 12-20-2014, 09:31 PM
Last Post: supputuri
  Using GetString to pull information from a DB jcraig26 2 2,692 11-02-2012, 09:40 PM
Last Post: SteveS
  Could not able to click on 'Edit' Button in a Table kotaramamohana 3 3,343 09-26-2012, 07:40 PM
Last Post: krr
  Screen scraping using mainframe coordinates versus using highlight edit/copy scouthe2 3 6,622 07-18-2011, 05:56 PM
Last Post: souvikghosh_diatm

Forum Jump:


Users browsing this thread: 1 Guest(s)