Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I know that Cursor is positioned in a particular field or not
#5
Solved: 11 Years, 4 Months ago
get 'focus' property using GetROProperty method. returns '1' if object has focus else '0'.

for example if you have to verify a mandatory fields (say "Name") gets focus or not after the warning message. you can use somethine like

Code:
chkFocus =  Browser(" ").Page(" ").WebEdit("Name").GetROProperty("focus")

similarly you can check this for all mandatory fields.
let me know if this helps.

Reply


Messages In This Thread
RE: How can I know that Cursor is positioned in a particular field or not - by Saket - 06-17-2010, 10:01 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  getting the value from the field learning 0 1,038 03-19-2019, 09:13 AM
Last Post: learning
  Regarding Debug cursor option sumit_sehgal21 4 3,437 04-17-2013, 03:37 PM
Last Post: sumit_sehgal21
  Password field kumar19041980 0 2,768 09-05-2012, 03:33 PM
Last Post: kumar19041980
  How to explicitly focus the cursor sudhirzpatil 4 5,156 02-12-2009, 12:30 PM
Last Post: sudhirzpatil

Forum Jump:


Users browsing this thread: 2 Guest(s)