Know when a page or tab is in focus

General discussion about eValid, its characteristis and applications.

Know when a page or tab is in focus

Postby CarolynS » Thu May 27, 2021 9:49 am

Morning.

Have you got any way to guarantee that a particular page or tab is "in focus"?

Thanks
CarolynS
 
Posts: 1
Joined: Thu May 27, 2021 9:41 am

Re: Know when a page or tab is in focus

Postby eValid » Fri May 28, 2021 10:30 am

CarolynS wrote:Morning.

Have you got any way to guarantee that a particular page or tab is "in focus"?

Thanks


Yes CarolynS, eValid does have such a command called : Focus wid

where wid is the number of the window you want to put into focus.

The first window in any test playback sequence is always wid=0 and the windows are always numbered strictly in the order of appearance.

Important note: If the script deletes a window the numbers are NOT updated.

The nth window opened in a playback is always the "n-1" 1st one.


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


Return to General Solution Topics

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