Forum Discussion

awjones's avatar
awjones
Occasional Contributor
5 years ago

Get a value from a textbox in a website

Hello,

 

What's the best known method for getting a value from a textbox in a web site form?

Will the "aqObject.GetPropertyValue" method work for this?

Does anyone have examples for doing this?

Thanks in advance.

 

  • It might be simply a matter of something like this

     

    Log.Message(Aliases.browser.myPage.myForm.myTextbox.wText)

    It depends a lot on how the object is presented to test complete but many times the values of properties are just easily obtained by referencing the property itself.  

2 Replies

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    It might be simply a matter of something like this

     

    Log.Message(Aliases.browser.myPage.myForm.myTextbox.wText)

    It depends a lot on how the object is presented to test complete but many times the values of properties are just easily obtained by referencing the property itself.  

    • awjones's avatar
      awjones
      Occasional Contributor

      Got it and it works. You the man! Thanks