Forum Discussion

Karolina's avatar
Karolina
New Member
3 years ago

Open url in new window

Hello.
I have a requirement to open an app in a new window.
With JavaScript code: Browsers.Item(btChrome).Run("https://google.com");

which is replacing the existing active  browser window url and lauching the application if any of browser currently open.

Else lauching the application in new browser window.

but  the requirement is :

Open an application in an new browser(Chrome) window  even if  the browser window opens.

Do we have an y TC operation for it?

 I looked at the exisitng forum posts but it did not help:
https://community.smartbear.com/t5/TestComplete-Functional-Web/Open-a-new-browser-window-function/m-p/86097?collapse_discussion=true&q=second%20browser%20window&search_type=thread

3 Replies