how to access objects in run-time in qtp?

Posted by Onnesh on Stack Overflow See other posts from Stack Overflow or by Onnesh
Published on 2010-06-03T10:57:43Z Indexed on 2010/06/06 6:22 UTC
Read the original article Hit count: 231

Filed under:
|

We have a function which accesses two types of controls like button and list box in standard windows app. The function uses only the control name as arguments, so there is no way qtp could understand what type of control it is. how to resolve this? Write 2 separate functions- 1 for button & another for list box?

© Stack Overflow or respective owner

Related posts about testing

Related posts about qtp