How to let the bot follow the NEW and DIFFERENT web tab (dynamic web tab)?

Hello,

I have an list of organization name in an Excel. Each row has an org name.
My task:

  1. search each org at a website using Chrome => click the “Go” button => The same page shows info about the org.

  2. On this page, click a button => Opens a NEW tab in Chrome (different each time when the org changes, i.e., dynamic) => “Get text” of a name from this tab.

  3. Move to the next row of the Excel and repeat 1-2.

My problem:

At Step 2 - I used “Use Application/Browser” to get the data. But only the 1st org’s information is Repeated.

That is, I don’t know how to point the bot to the NEW and DIFFERENT tab for the 2nd, 3rd,… org.

What can I do to fix it?

HI,

For now can you check if windows selector contains something information for only 1st org in property panel?
If there is, perhaps you should modify it with wildcard, dynamic selector or other attribute.

Regards,

Hello @CarlaS
You can try another method from classis activity open browser and take insert the url varible. after getting text close the tab or browser.

Hope this will solve issue. You can enable it from
image

Below is the screen shot of what I wanted to do. I have no problem click “990” and open the window (a Different webtab for each organization). I want to get data from this NEW and Different webtab. I thought the problem is define the highlighted Use Application/Browser.
But you are saving that the solution is in the “Click ‘990’” step? I tried to change the window selector to wildcard - but it goes crazy to some random websites.

I think I have a different version than yours. I cannot turn it to the Classic version.
image

Hi,

In general, it’s unnecessary to use “UseApplicationBrowser” if your target is new tab and windows attachmode is applciation instance.

Can you check Window Selector of Get Text activity after Click 990? It’s necessary unique selector to identify new tab.

Regards,

I have the “Get Text” activity. The 3 bar icon doesn’t show a choice for the new window.

In the property window: the “Fuzzy selector” and “Window selector” have no value. What should I put in these 2 boxes?

Hi,

Can you share screenshot of the window (for click and gettext) if possible?

Regards,

Here is the first search of the org => Result appears in this window:

a webpage.

After the click of 990, it opens another tab:

HI,

Thank you for sharing Can you try to indicate target element in the new tab as the following?

Regards,

If I indicate target on screen, it points to the first webpage, or, it only allows me to highlight the New window (note: it cannot get text)
image

I read something online How to get program to follow new dynamic URL?. I try to follow this to define a “new tab” it didn’t work. I think I missed something about define the “new tab”

Hi,

Do you need to get URL of the page? If so, can you try to use GetAttribute activity as the following?
We can indicate any stable element in the page.

Regards,

It only gives me the option to “Get Attribute” of the 1st web tab, that is, not the 2nd one.

(P.S. I can only reply after 12 hours a/t UiPath forum.)

I cannot get the option of the 2nd tab. I can only “Get Attribute” of the 1st web tab (or the excel file where the org names are listed). What else can we do?

Hi,

Can you share your current xaml file, if possible?

Regards,

This link I provided is that what you meant?

Hi,

Sorry, but it’s already expired. Can you share it again (in this forum)?

Regards,