Insert a value into a input hidden.

11 views
Skip to first unread message

mada

unread,
Sep 22, 2010, 2:39:55 AM9/22/10
to FuncUnit
Hello,

It is possible to insert a value into a input hidden element from
funcunit?

Thanks.

Justin Meyer

unread,
Sep 22, 2010, 2:42:26 AM9/22/10
to func...@googlegroups.com
It is, but I don't want to tell you :-)

FuncUnit should only be able to do what a user can do.  A user can't insert a value into a hidden element.

Why do you want to do this?


Justin Meyer

Jupiter Consulting
\Development\Training\Support
847-924-6039
justin...@gmail.com

mada

unread,
Sep 22, 2010, 3:12:22 AM9/22/10
to FuncUnit
:D Well it's a little complicated. Right now I use funcunit for more
than just doing some tests on an application. With funcunit I make
some requests something like S.open("http://ip/index.php?
val1=a&val2=b") but now i need to send some values to the server using
post method, and I thought it would be more easy to set a hidden input
field and get it's value on server.
I don't know if this makes sense to you, but i was just trying to find
a easy solution for sending a value (generated after running some
tests) to php.

On Sep 22, 9:42 am, Justin Meyer <justinbme...@gmail.com> wrote:
> It is, but I don't want to tell you :-)
>
> FuncUnit should only be able to do what a user can do.  A user can't insert
> a value into a hidden element.
>
> Why do you want to do this?
>
> Justin Meyer
>
> Jupiter Consulting
> \Development\Training\Support
> 847-924-6039
> justinbme...@gmail.com
Reply all
Reply to author
Forward
0 new messages