What is the method used to focus on particuler field.I need the script.I will give example.I flights application login page by default the focus is on username field. for this i will check the focus was there or not by using getroproprty method but if focue is not there which method i need to use.

Showing Answers 1 - 3 of 3 Answers

Uma

  • Jun 7th, 2006
 

If the Focus is not there then you have to set it.by using the following method

SetRoProperty

sreepalgummalla

  • Jun 8th, 2006
 

hi guyss.....

What is the method used to focus on particuler fie...?

getroproperty: retrives the pericula property.

setroproperty: set the property to perticula object.... 

to focus to the perticulat text we can use this method:

object.GetTextLocation (TextToFind, Left, Top, Right, Bottom, [MatchWholeWordOnly])

object.GetTextLocation (TextToFind, Left, Top, Right, Bottom, [MatchWholeWordOnly]

  Was this answer useful?  Yes

kallol raha

  • Jul 19th, 2006
 

to explicitly set focus on a control use .object.focus

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions