My first day to start Behaviour Driven Development (BDD) with MSpec. After discussion within development we decided to go for Machine.Specifications (or MSpec for short) I used NuGet Package to install MSpec and I searched with word mspec but found nothing then searched with word Machine and found the mspec package (Machine.Specifications). I installed it. [...]
I had a shared model layer in my solution. I had only one web service which was implementing number of interfaces. Among those all operations in the interfaces One of the operation or function signature was using the shared model domain. I wrote at least 12 tests all were pass but when I wrote test [...]
After completing my installation I started playing with MSpec. I googled to see how people are using MSpec and what I can get from MSpec for my project. My First Test was as following: [Subject(typeof(AccountController)), Tags("Login")] public class When_Logging_Into_the_application_with_an_invalid_user_name_or_password : AccountControllerContext { //Arrange private static ViewResult _result; private static LoginModel _model; private static string _loginFailureMessage [...]
My first day to start Behaviour Driven Development (BDD) with MSpec. After discussion within development we decided to go for Machine.Specifications (or MSpec for short) I used NuGet Package to install MSpec and I searched with word mspec but found nothing then searched with word Machine and found the mspec package (Machine.Specifications). I installed it. [...]
I was working to send a password re-set email to user and wanted to to create a URL dynamically i.e It should be including the http or https and wwww and domain name and application name and then the URL defined by my self. I created as follow which seems very clean way to do [...]
If you have published nopCommerce with sample data and you want to edit existing data for above pages then Go to admin section–>Content Management –> Topics. This will show the list of pages click on edit link on the page to edit its contents. To remove the featured product or change the featured products [...]
No doubt nopCommerce team are doing a great job. I heard about NopCommerce from one of my friend who is working for some company as free lancer. I started google about nopCommerce and found good reviews and comments. I decided to exploer Nopcommerce. I downloaded nopCommerce version 2.6 form the website . I manage to [...]
My first step to start developing mvc3 mobile website. I have created a website useing mvc3 . I started writing mobile version of my website. Obviously google was the place to start and alos one of my friend mentioned JQuery mobile to me. After spending some time on how and where to start I found [...]
To access an iFrame element from its parent page we can use following JQuery function. $(’#frmiFrameTest’).contents().find("[id*=element-id]") frmIframeTest= Iframe Id element-id = Id of element in iFrame.
I was given asn assignment to change theb back ground image of the parent page for a pop up window which as being opened using JQuery color box pluging. The pop up page was being opened in an iFrame (html tag). In Iframe we had a div with the Id and also we had the [...]
Recently I was given a problem that UK Mobile phone numbers with spaces in the number are not being accepted by application as its convenient to write numbers like (+44 0791 452 1234 OR “0791 452 1234″) instead (+447914521234 OR 07914521234) (dummy number used for illustration purpose only). UK mobile numbers are of 11 digit [...]