Interview Questions

How to get button caption?

SilkTest Questions and Anwsers


(Continued from previous question...)

14. How to get button caption?


Answer1:
Use GetCaption () method......

Answer2:
Either use "sCaption" Property or "GetCaption" Method
Syntax - ControlName.sCaption
or use GetCaption () Method
Syntax - ControlName.GetCaption ()

(Continued on next question...)

Other Interview Questions