How to test web page button RRS feed

  • Question

  • Hi folks,

    How can I test a web page to see if a button exists. The button I'm looking for is "showSignIn". I can access it with


    "showSignIn").InvokeMember("click")The webpage I am using is www.ancestry.co.uk.
    Saturday, October 6, 2012 3:23 PM


All replies

  • See if GetElementById() returns null or not.

    Jose R. MCP
    Code Samples

    • Marked as answer by Skiddymark Wednesday, October 10, 2012 11:37 AM
    Saturday, October 6, 2012 6:29 PM
  • Hi Skiddymark,

    Welcome to the MSDN Forum.

    You code should work well.

    Did you get any exceptions?

    Best regards,

    Mike Feng
    MSDN Community Support | Feedback to us
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, October 9, 2012 11:08 AM