Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20755

Call Windows Form function based on string

$
0
0

This may seem strange, but I am trying to create a python script interface to use with my Keyword Tests. To do this I need to be able to pass in the grid control of any screen within our product. The problem I have is that the only way to perform a DoubleClick on our custom controls is to directly call the event function on the Form itself. This does work, but it requires me to explicitly type out the function in the script. Is it possible to have TestComplete call a function in a Form based on a string as input? I am thinking something similar to using getattr() in python.

 

Thank you

 


Viewing all articles
Browse latest Browse all 20755

Trending Articles