Can I modify source code of NUnitAsp?
Brought to you by:
jlittle82
I'm writing a Test case for a page which has a disabled textbox, it is filled in javascript on my page, and i want it to be filled in my NUnit Test, so i have to make it Enable, but NUnit TextBoxTester's Enable property is read only.
This is my Code:
TextBoxTester txtPicker= new TextBoxTester("txtPicker");
txtPicker.Enable = true;
It's giving me compile time error.
Error 5 Property or indexer 'NUnit.Extensions.Asp.AspTester.AspControlTester.Enabled' cannot be assigned to -- it is read only
Can i add Set property to it,so that i can Enable it in my Test.How can i modify its source code?
-Sumit Arora
Logged In: YES
user_id=1922202
Originator: YES
Adding to my question:
is there any design consideration that TextBoxTester's "Enabled" property is left read only or any other reason?
And what are the things to take care about while changing Design of NUnitAsp.
Please reply as soon as possible, i need it urgently.