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 and tried didnot help.
Did you try what @tristaanogre suggested when you asked the same question over in this thread? If so, what happened?
Question: Is this a requirement of the application, that you need to be able to open a second browser window and perform some actions against it? Or is this a requirement of the written manual test that you're converting to automation?
While technically speaking, automated tests should be able to do everything a manual test does, one of the bonuses of having a well written, coded, robust automated test is that you don't HAVE to do what is manually written. The question I would have of the manual test is "Why do we need a second browser window? What is the functionality that we're trying to test?" The answers to that may dictate that, while manually this seems to make sense, for an automated test, it might be sufficient to simply close the browser and reopen it to a new URL.
So... what's the purpose of the second browser window? What are you trying to achieve? Perhaps there's another way of doing which, in the meantime, may work better than other suggestions.
Was the issue resolved? Please let us know if you need any more assistance.
I tried this piece of code in python, Where i am able to open a new browser window, when one instance of the browser is already present.
You can convert this piece of code to your desired language and try it out.
os.system("start chrome https://www.google.com/ --new-window")