Page 1 of 1

Switching from one webpage tab to another and back

PostPosted: Tue Mar 14, 2017 6:05 am
by WDeLugo
Morning.

In my scenario i'm clicking on a link which opens another tab.

In new tab, I am doing some operation and again i want to switch to first tab, do some operation on first tab again switch to new tab.

Thanks

Re: Switching from one webpage tab to another and back

PostPosted: Wed Mar 15, 2017 12:09 pm
by eValid
WDeLugo wrote:Morning.

In my scenario i'm clicking on a link which opens another tab.

In new tab, I am doing some operation and again i want to switch to first tab, do some operation on first tab again switch to new tab.

Thanks


A great question WDeLugo.

As you know the "tabs" you see in your browser translate into different windows in eValid.

Same difference.

The reason eValid does this is to emphasize that child-windows are really independent, and we have found in practice that it is very valuable to have all of the windows already separated.

That's easier than stripping them off from a collection of tabs.

There is a command that will bring any window/sub-window (tab) into focus.

The command is:

Focus wid

But so will most eValid commands, where bringing the window into focus is a normal action and done will automatically.

There is also a special command that will bring a particular element into the "in focus" state:

ElementFocus wid idx "id" "visible_text" "frame-path' [NAV]

which sends an "element Focus" event to the specified HTML element.

If the NAV tag is present then eValid enters into the page navigation synchronization mode.

-- eValid Support