How do I tell eValid to lose focus on my webpage

How to apply eValid to functional testing of web applications.

How do I tell eValid to lose focus on my webpage

Postby MaggieQ » Mon Dec 26, 2022 8:03 am

Good morning.

How does a user configure or program eValid to "lose focus" on a web page?

Thank you
MaggieQ
 
Posts: 1
Joined: Mon Dec 26, 2022 7:45 am

Re: How do I tell eValid to lose focus on my webpage

Postby eValid » Tue Dec 27, 2022 8:03 am

MaggieQ wrote:Good morning.

How does a user configure or program eValid to "lose focus" on a web page?

Thank you


Thanks for asking MaggieQ.

Curious question, but let's review.

To obtain focus in a particular window in a chain of windows produced in a test playback, the command you use is: Focus "wid" where "wid" is the number (or sequence) of the window.

To "lose focus" all you have to do is choose to issue the command: Focus "wid -1"

That puts the focus in some window OTHER than the one that is current.

That page is now the one that is in focus, thereby the prior one is out of focus.

Hope this helps.


-- eValid Support
eValid
 
Posts: 2396
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons