Forum Discussion

i404's avatar
i404
Contributor
14 years ago

How to set the state for button to become visible

Hi Guys,



In my old script we can use this script to click the login button when username & password has been typed in:



Setting.WebPackage("ReplayType") = 2,

type username

type password

Setting.WebPackage("ReplayType") = 1

click button



Is there such thing in TestComplete?



Many thanks



Regards

Ian

12 Replies

  • Hey Paul thanks for a reply.



    I'm using both SetText and Keys, in that order.  Use them for the userid and password fields.   I also tried a Shift+Tab after the password field but didn't enable the button.  Button stays disabled throughout the testcomplete run.



    Any help is greatly appreciated.

    Thanks,

    Christopher
  • Paul Scroce, you are the man!



    Using simply just the keys action worked and enabled my button.  I can now proceed to finish up my scripts.  Thank you much sir.



    Christopher Ochoa