How to resolve the error Statement contains one or more invalid function
arguments"

Following are the properties of winobject  WindowsForms10.Window.8.app.0._2
y=55
x=11

regexpwndclass= WindowsForms10.Window.8.app.0._2
Object Class= WindowsForms10.Window.8.app.0._2
nativeclass= WindowsForms10.Window.8.app.0._2

Qtp version=11.0
Please let me know how to resolve this issue.



code : 'Script to invoke the Application
'Checking whether if it is opened

If Not Window("Application for Windows").Exist(0) Then
App_Path = "C:\Program Files (x86)\Application\Application.exe"
InvokeApplication App_Path
End If

'Script to open FM session
Window("Application for Windows").Activate
Window("Application for
Windows").WinObject("WindowsForms10.Window.8.app.0._2").Click 11,55

-- 
-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

--- 
You received this message because you are subscribed to the Google Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to