![]() |
WMI using QTP - 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 Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: WMI using QTP (/Thread-WMI-using-QTP) |
WMI using QTP - aj_r - 07-23-2010 Hey, Im trying to work with WMI on QTP. I wish to get and set values of an SNMP device. I am able to get any value i want but am having problems with setting values of parameters of the SNMP device. MSDN provides the following example for writing to an SNMP device. Code: Set objLocator = CreateObject("wbemscripting.swbemlocator") I am having problems with the obj.put_ line. my code is as follows. Code: strTargetSnmpDevice = "137.237.178.160" Please do help me out as this is urgent! Thanks in advance!! Arjun |