Micro Focus QTP (UFT) Forums
QTP - Using Chrome - 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 Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: QTP - Using Chrome (/Thread-QTP-Using-Chrome)



QTP - Using Chrome - CW_CR - 02-18-2013

I have written a script to run using chrome.

If I open the browser manually the script runs but if I open the browser using the Systemutil.Run or InvokeApplication the script no longer runs.

Does anyone have any idea why?

Thank you.


RE: QTP - Using Chrome - sshukla12 - 02-19-2013

Hi,

Just make sure you supply the Crome exe path to open instead of Iexplorer in systemutil.run.

Regards,
Sankalp


RE: QTP - Using Chrome - CW_CR - 02-19-2013

Hi Sankalp,

I have used:

SystemUtil.Run "C:\Program Files\Google\Chrome\Application\chrome.exe", "url"

and chrome opens however when I click login it does not work.

If I manually open the browser and run the script the login works.

Regards


Claire