![]() |
Changing default browser - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: Changing default browser (/Thread-Changing-default-browser) |
Changing default browser - cowboy49 - 08-24-2011 Hello, I have a scenario where I need to test multiple browsers (i.e., IE,Firefox). Is there a way to change this using Vbscript before I kick of the test? RE: Changing default browser - sshukla12 - 08-24-2011 Use Syetem.Util to launch different applications(browsers) but make sure that your qtp version is compatible wtih Firefox. Correct me if wrong. Regards, Sankalp RE: Changing default browser - souvikghosh_diatm - 08-30-2011 hii sshukla12... U r wrong...I mean D concept is right but d command is wrong... It will be SystemUtil.Run.. ------------ Thanx. RE: Changing default browser - sshukla12 - 08-30-2011 Sorry yaar.... I thought it will help you....I haven't paid attention to syntax.. Good learning for me...THNKS RE: Changing default browser - cowboy49 - 09-05-2011 Thank you both for your replies. I am aware of the SystemUtil.Run. I was hoping there was possible another alternative. RE: Changing default browser - souvikghosh_diatm - 09-08-2011 well u need to test in both browser at a same time???i mean in a same run session u want to test wid different browser??? Or two separate session for two different browser???? If ur need is d first one, thn u can use "Creationtime:=0" property for first browser and "Creationtime:=1" for 2nd browser....it will work.... And if ur need is 2nd one, then SystemUtil.Run command is good enough for ur Case[/align].... First verify whether ur QTP version support firefox or not..Coz as far as i know, QTP 11.00 is d only version which support firefox.... ------------- Thanx. |