How to open chrome browser in qtp
- how to open chrome browser in qtp
- qt chrome browser
- qt open browser
- qt open website
Have UFT use a WMI query to kill any existing chrome.exe process at the start of the script and then your command will always be opening a new session..
How to open any website in browsers (IE,chrome, firefox) in QTP?
Users can open any urls using below code in UFT/QTP automation Tool.
surl = "http://www.softwaretestutorials.co.in"
SystemUtil.Run "iexplore.exe" , url ,,,3
SystemUtil.Run "firefox.exe" , url ,,,3
SystemUtil.Run "chrome.exe" , url ,,,3
Above mentioned vbscript will open specified website url in all different browsers which is mentioned in Systemutil code.
Using pure vbscript code can open a url as below.
Set obj = createobject("wscript.shell")
obj.Run "chrome.exe www.softwaretestutorials.co.in"
obj.Run "firefox.exe www.softwaretestutorials.co.in"
Set obj = nothing
HP QTP:
HP Unified Functional Testing (UFT)/QTP ,formerly known as HP QuickTest Professional ,which provides functional and regression test automation for web/Desktop applications.surl = "http://www.softwaretestutorials.co.in"
SystemUtil.Run "iexplore.exe" , url ,,,3
SystemUtil.Run "firefox.exe" , url ,,,3
SystemUtil.Run "chrome.exe" , url ,,,3
Above mentioned vbscript will open specified website url in all different browsers which is mentioned in Systemutil code.
Using pure vbscript code can open a url as below.
Set obj = createobject("wscript.shell")
obj.Run "chrome.exe www.softwaretestutorials.co.in"
obj.Run "firefox.exe www.softwaretestutorials.co.in"
Set obj = nothing
Posted by Rajesh K
Welcome to Selenium Tutorials,here you will learn real time Selenium WebDriver Concepts with real time examples.As well as Different performance Testing Tools such as Jmeter,Loadrunner tool.I have 6+ years of experience in Software Testing.- qt browser windows