cancel
Showing results for 
Search instead for 
Did you mean: 

Get a value from a textbox in a website

SOLVED
New Contributor

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Hero

Re: Get a value from a textbox in a website

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.  


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

2 REPLIES 2
Community Hero

Re: Get a value from a textbox in a website

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.  


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

View solution in original post

Highlighted
New Contributor

Re: Get a value from a textbox in a website

Got it and it works. You the man! Thanks