473,378 Members | 1,321 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,378 software developers and data experts.

NUnitAsp Uinit Testing

I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?
Nov 19 '05 #1
5 2192
Jon
Hello Patrick,

The only thing that I don't like about NUnit ASP is that you need to know
the location of all the controls, for example control A, is in control B,
which sits in a cell of a datagrid which sits on a page. If you have a page
that uses many conrols, that are inside one another it gets difficult to
reference them.

Thanks,

Jon

"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #2

You can't test popup windows.
"Patrick.O.Ige" <na********@hotmail.com> wrote in message
news:ut**************@TK2MSFTNGP15.phx.gbl...
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #3
Look at
SWExplorerAutomation(http://home.comcast.net/~furmana/SWIEAutomation.htm)
It supports Popup Dialog Windows, Html Dialog Windows and lots more.

Nov 19 '05 #4
Hi, I have been using NUnitAsp for a while now, and have the following
thoughts.

NUnitAsp is extremely useful when doing Test Driven Development (TDD) on the
web layer of an application. It is also useful for integration testing and
regression testing. Scenario: You are developing functionality for a user
with special characteristics, on step 7 in a registration process. It will
take 4 minutes to login and fill out required forms input before you get to
the page you are developing. Either you need to debug what happens when the
user clicks submit, or you would like to ensure that the functionality on
this page was not broken by the last refractoring; you can go to your debug
breakpoint or regression test this with one click.

The fact that NUnitAsp is not exactly a Unit Test tool but an
integration-testing tool makes it slow to run the test all the time (like you
should with Unit Tests). It is slow because the tool acts like a user on the
application, using HTTP requests. A test often include a login and some
navigation, thus it is more time-consuming to run NUnitAsp tests than normal
NUnit Tests.

NUnitAsp does not have the possibility to test on every ASP.NET event by
default, but it is fairly easy to write extensions to support you need.

--
Bent Kristiansen
bent.kristiansen(AT)bekk.no
"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #5
Thx for the info Bent

"Bent Kristiansen" <bent.kristiansen(AT)bekk.no> wrote in message
news:4B**********************************@microsof t.com...
Hi, I have been using NUnitAsp for a while now, and have the following
thoughts.

NUnitAsp is extremely useful when doing Test Driven Development (TDD) on the web layer of an application. It is also useful for integration testing and
regression testing. Scenario: You are developing functionality for a user
with special characteristics, on step 7 in a registration process. It will
take 4 minutes to login and fill out required forms input before you get to the page you are developing. Either you need to debug what happens when the user clicks submit, or you would like to ensure that the functionality on
this page was not broken by the last refractoring; you can go to your debug breakpoint or regression test this with one click.

The fact that NUnitAsp is not exactly a Unit Test tool but an
integration-testing tool makes it slow to run the test all the time (like you should with Unit Tests). It is slow because the tool acts like a user on the application, using HTTP requests. A test often include a login and some
navigation, thus it is more time-consuming to run NUnitAsp tests than normal NUnit Tests.

NUnitAsp does not have the possibility to test on every ASP.NET event by
default, but it is fairly easy to write extensions to support you need.

--
Bent Kristiansen
bent.kristiansen(AT)bekk.no
"Patrick.O.Ige" wrote:
I came across NunitASP is it good to use and what are the advantages or
disadvantages
Any advice?

Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

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...
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...
2
by: Vladimir | last post by:
subject -- Vlad
1
by: Sasha | last post by:
Hi, I want to start unit testing my ASP.NET applications with NUnitAsp. But all my applications are written with the help of custom page and server control classes (They all inherit from core...
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...
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...
3
by: HeatherBMI | last post by:
I've been searching for a way to test this control with my NUnitASP tests for awhile now and have yet to come up with anything. I have all of my tests written, but until I can get past the initial...
0
by: Ambica | last post by:
I am using Nunitasp for testing .aspx pages.While running the test case in the GUI the following error occurs: NUnit.Extensions.Asp.DoctypeDtdException : Problems with DOCTYPE DTD: <The remote...
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.