Posts: 21
Threads: 7
Joined: Jul 2010
Reputation:
0
07-24-2010, 01:58 PM
Is there any function that returns the type of object.
For example edit box on a windows application falls under "WinEdit" Class.
So can some one help me with a function/method which returns the class of the object
Posts: 21
Threads: 7
Joined: Jul 2010
Reputation:
0
07-27-2010, 11:33 AM
(This post was last modified: 07-27-2010, 11:33 AM by BVVPrasad.)
Hi Supputuri,
Thanks for your response. The above code returns WinEdit when I pass Dialog("Login").WinEdit("Agent Name:") as parameter to ObjectType Function.
My requirement is, I will pass the Window Name i.e "Login" and object name i.e "AgentName: " Is there any way to get what class of objects they are. Dialog for "Login" and WinEdit for "Agent Name: "
Thanks,
Prasad