473,397 Members | 1,950 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

NUnitAsp System.NotSupportedException

Sorry if this is not the right place to post questions about NUnitAsp but since all code is written in C#, I figured this is best.

here is my code:

Expand|Select|Wrap|Line Numbers
  1. [TestFixture]
  2. public void myTestClass:WebFormTestCase {  
  3.     [Test] 
  4.     public void testLinks(){  
  5.         LinkButtonTester testLink = new LinkButtonTester(htmlGenPath +           
  6.                                                  I_Change_tabs");  
  7.         testLink.Click(); 
  8.     } 
  9. }
  10.  
when I do this, it throws a System.NotSupportedExpcetion. How do I have it work properly? This code worked for a different webpage, but now it doesn't.

This is basically what my code does, if you need more info, let me know.
Nov 14 '07 #1
1 851
Plater
7,872 Expert 4TB
That codes seems a little odd?

There are methods that are not supported in the base class, with the expectation that these methods will be implemented in the derived classes instead. The derived class might implement only a subset of the methods from the base class, and throw NotSupportedException for the unsupported methods.

NotSupportedException is also thrown by System.IO classes whenever there is an attempt to read, seek, or write to a stream that does not support the invoked functionality.
Nov 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Nick Zdunic | last post by:
Hi, I've been using NUnitASP and found that it reaches it's limits very quickly. It has problems with parsing certain pages and raises errors for these when perhaps it shouldn't. Another...
3
by: MJB | last post by:
I'm getting an IStream back from function xmlHttp.responsestream. I would like to convert this to a System.IO.Stream in order to work with it in my application. Has anyone encountered this and...
0
by: Carlton858 | last post by:
I have turned off the annyomous access on my ASP.Net web application and not set access using NT groups. That works great, except now none of my NUnitASP tests work - everything fails with access...
5
by: Patrick.O.Ige | last post by:
I came across NunitASP is it good to use and what are the advantages or disadvantages Any advice?
2
by: BrentonMCA | last post by:
I am trying to create a webrequest using the create method with a URL (string or system.uri) with the prefix "http://". A "system.notsupportedexception" is raised, even though documentation tells...
0
by: nirupama | last post by:
Sir, I am new to the Nunit,nunitasp i am gettin an error as "System.InvalidOperationException:the specified node cannot be inserted as the valid child of this node, because the specified node...
0
by: fero | last post by:
Hello, I have the following problem. I have a page which works fine. But sometimes I see the following error in error log: -- Message: System.Web.HttpUnhandledException: Exception of type...
2
by: Nate | last post by:
All, I have started using NUnitASP to write test cases for an ASP.NET application. It works great, but some of the assertions that need to be made depend on values stored in the Session. The...
0
by: raju | last post by:
Hai, I am new to NUnitASP. I learend NUnitASP from the website. When i used NUnitASP in my sample application, i got the error as "type webformtestcase" is not defined", when i am creating...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.