473,238 Members | 1,582 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,238 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 2186
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.