How to open link in new tab

Hi Guys,

i would like to open a link ( tag) in a new browser tab. Currently the link looks like that:

<a href="selection.cfm?shopID=555&form=17" target="main">Zur Auswahl</a>

I need to do it because our application works with iframes and Google Chrome has still some issues with iframes.

If you think, why not using the deeplink inside the href tag: No, not that easy, because there are some additional header parameters that i don’t have in the deeplink itself.

Any help is appreciated :slight_smile:


Is following way (example) an option for you?

tobj = findTestObject('Object Repository/Page_Google/a_Gmail')
WebUI.sendKeys(tobj, Keys.chord(Keys.CONTROL, Keys.SHIFT, Keys.ENTER))
WebUI.switchToWindowTitle('Gmail: gratis opslag en e-mail van Google')

Yes, that works. Exactly what i was looking for! 5 Stars :slight_smile: *****