Experiment Name
Black box test for Win8 app
Experimental purpose
Practice using Visual Studio's coded UI testing capabilities,
Experimental content and procedures
Experimental content
Download Apps in the Windows store, test with Visual Studio
Experimental steps
1 , download the application
I have chosen to test the application "post-Masan" that the same group of classmates wrote in the C # course during the semester.
2 , create a new coded UI Test
New - Project - Test - Encoding of UI Test Project
3 , the recording step generates code
OK to start recording
Open the application you want to test
Click Start Recording
Make the content that you want to test, for example, in this test case, click the picture of "first", test whether the jump was successful, and whether the scroll wheel is normal.
Generate code
3 , run the test code
Open the Test Code Generation window
Choose Regenerate Code
End of Test
Generate code
Experimental Analysis
Experimental test Cases and results
The experiment uses the WIN8 store to apply "post Masan" as a test case, to test the results of a coded UI test project in Visual Studio.
Test problems and failures
at the outset, due to an unfamiliar operation with Visual Studio recording and generated code, the error occurred, causing the code to not be generated correctly, and the test code was successfully generated after learning the video about the coded UI test interface in VS.
In the first test, it took a very long time to generate the code after the recording ended because it clicked on the option to connect to the browser, and after asking the classmate and searching the Web, the UI coding test did not support the Jump UI page.
Experimental conclusion
Black-Box testing is necessary and meaningful, and we've only done a simple coded UI test this time, but also made me aware of the importance of black-box testing. At the same time, Visual Studio features a powerful, automated UI test that is convenient and friendly, with deep learning implications and necessity.
I think the way of thinking of software testing is the most important, thinking about what a software may encounter when testing, that is, what the user may encounter when using the software, but the testers have to consider more, more far-reaching, testing the average user can not think of, it will be able to test the coding personnel may be negligent place.
In the future study and experiment, we should try, discover, learn the new function of Visual Studio, exercise your own software testing thinking mode and ability.
Software Testing: Black box test report and Impressions