01-29-2009, 10:02 AM
Hi All,
Could anybody help me out to parameterize an object's method. Eg.
here in an application the method "Set" changes dynamically for the same object. for example when i run the first time it is
if i am running the next time i am getting an error stating the object does not support the method. then i come to know that the method has changed from "Set" to "Type"
So my Question is can we parameterize the methods???? so that i can pass the 'methods of an object' dynamically
Could anybody help me out to parameterize an object's method. Eg.
Code:
Browser("...").Page("...").Frame("...").Webedit("...").Set "abc"
Code:
Browser("...").Page("...").Frame("...").Webedit("...").Set "abc"
if i am running the next time i am getting an error stating the object does not support the method. then i come to know that the method has changed from "Set" to "Type"
Code:
Browser("...").Page("...").Frame("...").Webedit("...").Type "abc"