Ask a Question

Tabbed Browsing (Javascript script language + Chrome Browser)

SOLVED
TCYKPB
Contributor

Tabbed Browsing (Javascript script language + Chrome Browser)

Hello, I need to switch between multiple tabs in Chrome browser, and there was a great article a couple of months ago explaining how to work with tabs (https://support.smartbear.com/articles/testcomplete/tabbed-browsing/#TabCount) but someone decided to delete it. 

So, my question is: How can I switch between tabs in Chrome browser? I need a standard function or method from TestComplete that allows me to do that without any trick like "press the Tab key until you find the tab you want", because solutions like these end up with a "Warning" in my test results. I expect some method that will activate the Tab I want based on a URL or partial URL.

 

Thanks.

4 REPLIES 4
Marsha_R
Champion Level 2

@sonya_m That missing article is the one I used for reference too.  Did it get moved somewhere?  Could you see if you can find it for us please?

AlexKaras
Champion Level 2

Hi,

 

Are you talking about this article: https://support.smartbear.com/testcomplete/articles/tabbed-browsing/ ?

 

Regards,
  /Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================

@AlexKaras Right, thanks for sharing the new URL.

Looks like SmartBear decided to change the links and anyone who bookmarked the old URLs won't be able to find those articles.

 

(new url) https://support.smartbear.com/testcomplete/articles/tabbed-browsing/#TabCount

(old url) https://support.smartbear.com/articles/testcomplete/tabbed-browsing/#TabCount

 

Thanks again Alex.

sonya_m
SmartBear Alumni (Retired)

Thank you Marsha for bringing my attention to this, but looks like Alex has beaten me to it🙂 Great job Alex!


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: