pROBLEM TEST?NG WEB PROJECTS  
Author Message
http://www.ilkon.com





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

I have a simple problem etsting web projects for example I wanna be sure that the color of the button must be red.How do I test that

PS:I could not find an a way to add the web project assembly to a test project even thogh did publish the dlls to a folder and generated the dlls.The objects are mostly private.




Visual Studio Team System38  
 
 
guy kolbis





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

Hi,

You should use a validation rule and in the response check that there it contains the button and inside there is a keword "red".

The validation rules will search for text inside the given context (response).

Hope this helps,

guy kolbis



 
 
www.onlineemlakofisi.net





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

hey really cool but I need a sample to understand .

do u have any



 
 
guy kolbis





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

Hi,

All you need to do, is go the recorded web test and right click it and select Add Validation rule.

Once you did that you can select how to apply the rule: search text, search field, Regx and ext.

There is nothing more to it.

guy kolbis



 
 
www.onlineemlakofisi.net





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

ok but that requires the testing suite . I wanna do this the **** way using a console application to test my website project....

I need more pratical way to accomplish that.



 
 
Paul D. Murphy





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

You might consider looking at http://www.openqa.org/selenium/. You can also try posting on the general asp.net forum. This forums is specifically for questions regarding the Team Test suite.

Paul



 
 
www.onlineemlakofisi.net





PostPosted: Visual Studio Team System - Testing, pROBLEM TEST?NG WEB PROJECTS Top

hmmmm ok.How can use test suite with professional edition