Ask a Question

Get a value from a textbox in a website

SOLVED
awjones
Occasional 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.

 

2 REPLIES 2
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.  


Robert Martin
[Hall of Fame]
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
awjones
Occasional Contributor

Got it and it works. You the man! Thanks

cancel
Showing results for 
Search instead for 
Did you mean: