Posted: 23 Aug 2016 7:14 EDT Last activity: 4 Oct 2016 15:00 EDT
Enabling a button on a webpage
I need to enable a button on a webpage, so that it may be clicked OR
I need to be able to press "Enter" in a text box, after entering my text, as this would bypass the button.
The button in question is not a standard button, it appears to be a data cell in a table that responds to an "onclick" event, if that makes any difference.
Could anyone guide me on how to do this please?
I have tried several methods to enable it, but none have worked so far.
Normally, the button is enabled after it detects that the user has typed in their username and password, however as the automation copies them in as a whole, it never detects any entry... I'm assuming.
***Updated by Moderator: Lochan. Removed user added helpme tags***
***Updated by Moderator: Marissa to update categories***
Thanks for your response. KeyUp on RaiseEvent worked.
Annoyingly, I had looked at that before but when I saw that it said "onkeyup", rather than just "keyup", I thought it was another method just looking for an event, rather than making it happen - so I didn't bother to try it!
Actually, it's fixed the button issue, but not the whole problem. I think the system still knows that it's not a person typing these messages in, as I get the message "The requested action failed because of a service error." when I click login. I also had this when I attempted the Submit method on frmLogin, so I'm assuming it's a security thing.