Micro Focus QTP (UFT) Forums
Perform Action on Browser using only VBScript - 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: Perform Action on Browser using only VBScript (/Thread-Perform-Action-on-Browser-using-only-VBScript)



Perform Action on Browser using only VBScript - bfakruddin - 12-19-2009

Hi,

I wanna know, Can we perform actions on objects in Browser if we don't have QTP... Using only VBScript.


RE: Perform Action on Browser using only VBScript - QTPLearn - 09-08-2010

Well Interesting Question. as par my understanding 'YES' we can do that but for this purpose User must have good knowledge of Win32 API and user needs to do extensive coding.

Basically all the automation tool provide an interface to access the application and it consist library files and other required settings.

~Regards


RE: Perform Action on Browser using only VBScript - cdesserich - 09-08-2010

QTP basically manipulates the Internet Explorer COM object. You can create it and use the COM functions to automate IE in pure VBScript. Read about it here: http://msdn.microsoft.com/en-us/library/aa752084%28VS.85%29.aspx

Code:
Set IE = CreateObject("InternetExplorer.Application")