selectWindow new options

Command selectWindow
Target: new features TAB=next ,TAB=back ,TAB=last

What’s available is you can move tabs using numbers and last if you know which number it will be. You can also select by title:

https://ui.vision/rpa/docs/selenium-ide/selectwindow

if you know which number it will be

if I don’t know the number of all the cards?
we need to know the card number, this is not elelastic.

Example
you change channels on your TV using only numbers ?
We have buttons forwards, backwards.

This function is more simply to have need to use Xtype and simulate key CTRL PAGE UP or CTRL PAGE DOWN

With ui vision you can combine desktop automation and you can all.

This function is more simply to have need to use Xtype and simulate key CTRL PAGE UP or CTRL PAGE DOWN

Thank you
I’m try it on. Xtype CTRL+TAB not working for me. But I think the function selectWindow should be expanded

Working perfect, i tried it and working like a charm

Here my code working well I can switch in every tab

{
  "Name": "Switch Tab",
  "CreationDate": "2020-1-13",
  "Commands": [
    {
      "Command": "bringBrowserToForeground",
      "Target": "",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "tab back",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_CTRL+KEY_PGUP} ",
      "Value": ""
    },
    {
      "Command": "echo",
      "Target": "tab next",
      "Value": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_CTRL+KEY_PGDN} ",
      "Value": ""
    }
  ]
}
1 Like

If it’s not working make sure the browser has focus for XType to work. Add bringBrowserToForeground in your macro

1 Like

The problem is another, it’s easy to move in every tab but ui vision focus remain in the original tab after need a solution to move the focus in new tab.

ui vision do not work in visible tab, it’s work in tab selected from the macro, xtype is desktop automation and ui vision can not recognize the new tab selected.