Nunit Asp.Net - control name contains underscore problem

G

Guest

I can get Nunit Asp.Net to work fine with
standard textboxes and buttons.

However when the rendered HTML contains controls that
are named something like
<input name="_ctl0:tbUserName" ...

because the control is embedded within a user control or suchlike
then Nunit Asp.Net says it cant find the control
and throws an ElementNotVisibleException.

The underscore _ is causing me a problem

does anybody know how to get this to work?

Thanks
Charlie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,996
Messages
2,570,238
Members
46,826
Latest member
robinsontor

Latest Threads

Top