Micro Focus QTP (UFT) Forums
Object doesn't support this property or method - 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: Object doesn't support this property or method (/Thread-Object-doesn-t-support-this-property-or-method--9145)



Object doesn't support this property or method - takecharge - 09-10-2019

I am new to vb scripting as well as UFT. What I am trying to accomplish is to click on a link using the properties of the link. When running, I get the error message, "Object doesn't support this property or method." What am I doing wrong here? I have attached a screenshot of the error message. Any help is appreciated.



Thanks in advance.


RE: Object doesn't support this property or method - stormbringer - 11-13-2019

(09-10-2019, 01:07 AM)takecharge Wrote: I am new to vb scripting as well as UFT. What I am trying to accomplish is to click on a link using the properties of the link. When running, I get the error message, "Object doesn't support this property or method." What am I doing wrong here? I have attached a screenshot of the error message. Any help is appreciated.



Thanks in advance.

Based on the screenshot of the error you're missing the "=" sign in your arguments list. The syntax is ":=" like these examples:

index:=0
html tag:=LABEL
html id:=userInput