Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to explicitly focus the cursor
#1
Solved: 11 Years, 4 Months ago
Hi can any one tell me how to focus the cursor on required field.
Reply
#2
Solved: 11 Years, 4 Months ago
Try out something like this...

Code:
Browser("iGoogle").Page("iGoogle").WebEdit("q").FireEvent "onfocus"
Reply
#3
Solved: 11 Years, 4 Months ago
No Prafulla
It gives following error.

bject doesn't support this property or method: 'dialog(...).WinEdit(...).FireEvent'

But i got it

Its SetCaretPos(column)
Reply
#4
Solved: 11 Years, 4 Months ago
Hey Sudhir...

Code:
Browser("iGoogle").Page("iGoogle").WebEdit("q").FireEvent "onfocus"
..working perfectly fine...FireEvent is webEdit’s method and not for WinEdit..so obviously it wont work for it…
Reply
#5
Solved: 11 Years, 4 Months ago
Okie , Yes Prafulla
Thnks for pinpoint my mistake
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Regarding Debug cursor option sumit_sehgal21 4 3,436 04-17-2013, 03:37 PM
Last Post: sumit_sehgal21
  How can I know that Cursor is positioned in a particular field or not PrabhatN 7 7,464 06-17-2010, 07:08 PM
Last Post: PrabhatN

Forum Jump:


Users browsing this thread: 4 Guest(s)