OPen new tab through script - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: OPen new tab through script (/Thread-OPen-new-tab-through-script) |
OPen new tab through script - sams001 - 02-11-2013 HI , I have qtp 10 on my machine and my need is to open a given link in new tab. I have tried using the following statements. Code: Browser("url:=abc","creationtime:=0").Object.navigate <link href>, CLng("&H800") Both of them are throwing General Run Error. I tried using sendkeys method Code: Set WshShell = CreateObject("WScript.Shell") Till here its working fine. But the navigation to the desired url is neither happening nor throwing any error. Code: Browser("creationtime:=1").Navigate <link href> Anyone please help how to get it done. Thanks Sams |