from win32com.client import Dispatchwinhttp = Dispatch('winhttp.winhttprequest.5.1')winhttp.SetOption(6, False)winhttp.Open('GET', 'http://google.com', False)winhttp.Send()print(winhttp.responsetext)
VBA Reference to be added: VBA - UI Automation Project sample code Dim MyElement As UIAutomationClient.IUIAutomationElement Dim MyElement1 As UIAutomationClient.IUIAutomationElement 'Private Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Enum oConditions eUIA_NamePropertyId eUIA_AutomationIdPropertyId eUIA_ClassNamePropertyId eUIA_LocalizedControlTypePropertyId End Enum Sub Test() Dim AppObj As UIAutomationClient.IUIAutomationElement Dim oInvokePattern As UIAutomationClient.IUIAutomationInvokePattern Dim oAutomation As New CUIAutomation ' the UI Automation API\ Dim oPattern As UIAutomationClient.IUIAutomationLegacyIAccessiblePattern Set AppObj = WalkEnabledElements("BTB Portal 3.0 KA") Set MyElement = AppObj.FindFirst(TreeScope_Children, PropCon...
There is no wonder that there are many companies that are taking help from robotic process automation (rpa) solutions due to which I had taken helped from this article.
ReplyDelete