Switch focus from one tab to another

How to apply eValid to functional testing of web applications.

Switch focus from one tab to another

Postby DavHurst » Tue Jun 06, 2017 2:45 pm

Hello.

In my tests, I have a lot of tabs up on my browser...how do I switch the focus of my tests between them?

I also noticed eValid doesn't seems to have tabs, anyone for me to simulate tabs as on other browsers?

Thanks
DavHurst
 
Posts: 1
Joined: Tue Jun 06, 2017 2:41 pm

Re: Switch focus from one tab to another

Postby eValid » Wed Jun 07, 2017 3:11 pm

DavHurst wrote:Hello.

In my tests, I have a lot of tabs up on my browser...how do I switch the focus of my tests between them?

I also noticed eValid doesn't seems to have tabs, anyone for me to simulate tabs as on other browsers?

Thanks


A good question to ask, thanks for posting DavHurst.

In eValid, the separate pages that you see as "tabs" on many browsers are all opened as separate windows.

Each window has a unique number, in sequence for that particular test.

The parent window is wid=0 and each subsequent window is numbered in order as 1, 2, 3, etc.

So to get to the window of interest all you have to do in your script is change the window number in the command.

In addition, if you feel the need to see better what's going on in your test, you can use the command: Focus wid where wid is the number of the window that you want to bring into focus.


-- eValid Support
eValid
 
Posts: 1750
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