End-to-End application testing from a users standpoint

I am looking for a good way to consistently test my web applications from the end users point of view. I have all kinds of ways to check to make sure my code is working behind the scenes. I can’t count the number of times that I make a change to a piece of code, test it and it works fine and then deploy it only to have it blow up somewhere else weeks later. I have by that time forgotten the change I made that caused it to blow up. I need something that I can run every time I make a change to assure me I did not break something somewhere else.

It needs to be able to input correct and incorrect entries so that client side validation can be tested also.

Thank you,

Scott and the Dev Team

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

I thin you need to investigate Selenium. We use it to do automated UI testing throughout our solution, and it is cross browser and cross platform.

You can use the Selenium IDE to record a walkthrough of your web application, and then you can either run it in the browser, or export it to various languages such as C#, and run it using NUnit. I find this is the easiest approach because I can create the basic walkthrough and then modify the code to use inputs from a file/database in order to create multiple scenarios.

Method 2

Have you seen this technique using fitnesse and selenium?

Can’t vouch for how easy it is to set up, we’ve looked at selenium a little and one of our test analysts is keen to integrate something like FIT/Fitnesse into our automated testing but we’re not there yet.

Method 3

Have a look at Seleno, which abstracts Selenium / Browser interaction into C# Page Objects which represent the pages of your site. More details in this answer.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x