What is exactly the meaning of "Focus"?

Mobile Testing, Android App Testing.
Incross_qa56
Posts: 1
Joined: Thu Aug 21, 2014 7:20 am

What is exactly the meaning of "Focus"?

Post by Incross_qa56 » Thu Aug 21, 2014 7:51 am

Hi,

I am a tester of new applications on Android, not developer.
I am only using "Validate" function of Ranorex Recording for testing apps wheter new functions of app are working good well. Also, I never use "Code".
I wonder what meaning is "HasFocus" which is one section of "AtrritbuteEqual".
I already found Forum, Blog, and User Guide. But, there is no information I want.
Some people say that "focus" and "selecet" are different, but it shows only on Web broswer test.

Questions,
What is exactly "Focus"?

Thank you

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: What is exactly the meaning of "Focus"?

Post by Support Team » Fri Aug 22, 2014 1:04 pm

Hi Incross_qa56,

Generally, the “HasFocus” attribute indicates whether an element has focus.

E.g.
HasFocus.png
HasFocus_false.png


Let me clarify the “Selected” attribute by an example:

The background color of a “Selected” list item is usually set to blue.
SampleList.png
This does not imply that this list item also has “focus”. E.g. another element within this window is clicked (e.g, the arrows). I hope you see my point there.

Regards,
Robert

Regards,
Robert
You do not have the required permissions to view the files attached to this post.