Micro Focus QTP (UFT) Forums
Click on Object - 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: Click on Object (/Thread-Click-on-Object)



Click on Object - rajeshdizzy - 07-10-2009

Hi all..............

Code:
vbwindow("AdvancedQTP_DP").VbEdit("Text1").Type "er"
vbwindow("AdvancedQTP_DP").VbEdit("Text2").Type "er"
vbwindow("AdvancedQTP_DP").VbEdit("Text3").Type "er"

vbwindow("AdvancedQTP_DP").VbButton("Submit").Click "294","150",micMiddleBtn

cannot execute the script..i am getting the following error.

"The statement contains one or more invalid function arguments"
pls reply for tis