12-05-2014, 12:31 AM
Hi,
I am unable to use variable to call a method in a class. Please see the below code.
I have tried the above two scenarios, but both fails in UFT. Please guide me how to call this function when it is stored in a variable
Appreciate the time in advance!!
I am unable to use variable to call a method in a class. Please see the below code.
Code:
Class Abc
Function FGH()
...
End Function
End Class
Set abc=New ABC
sFunction="FGH"
1.abc.sFunction
2."abc"&"."sFunction
Appreciate the time in advance!!