cancel
Showing results for 
Search instead for 
Did you mean: 

Tabbed Browsing (Javascript script language + Chrome Browser)

SOLVED
TCYKPB
New 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.

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

Re: Tabbed Browsing (Javascript script language + Chrome Browser)

Hi,

 

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

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

4 REPLIES 4
Marsha_R
Community Hero

Re: Tabbed Browsing (Javascript script language + Chrome Browser)

@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
Community Hero

Re: Tabbed Browsing (Javascript script language + Chrome Browser)

Hi,

 

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

 

Regards,
  /Alex [Community Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

TCYKPB
New Contributor

Re: Tabbed Browsing (Javascript script language + Chrome Browser)

@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
Community Manager

Re: Tabbed Browsing (Javascript script language + Chrome Browser)

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Top Kudoed Authors