Forum Discussion
Create a shortcut to your chrome, and then in the shortcut properties add the parameter --disable-web-security at the end of the chrome executable path and then run this shortcut through testcomplete
sanjay0288 Thank you.I thought this way.however this way will not work one system to another system.One more issue if same icons are available on taskbar and start menu,then test complete will run chrome as normal mode.
I deleted all chrome icons in my system except icon on desktop and used below codes ,Its working fine.
StrURL="http://XXXXX"
Set ObjShell = CreateObject("Wscript.Shell")
ObjShell.Run "C:\Users\username\Desktop\Chrome64_48.0.2564.109\chrome.exe --disable-web-security"
wait(2)
ObjShell.sendkeys(StrURL)
sys.Keys "[Enter]":wait(1)
Thanks & Regards,
Ashok