in Education by
I think I understand unit testing. But I was wondering: is there a way to automate something visual, like making sure anti-aliasing works or that the rounded corners on a web site look how they are supposed to? I have a feeling that it just isn't practical, but I have little experience in the QA world. JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
"anti-aliasing works or that the rounded corners on a web site look how they are supposed to?" You could theoretically write automated tools to take snapshots of the renderings and somehow parse them and compare vs the mockup. You'd need some sort of "anchoring" mechanism to align the model answer with the rendered output and then do a colourwise diff on it, where the resulting output being a complete black image == perfect compliance. However, doing this is undoubtedly exhaustively complicated, and wont compensate for perceptual failures such as how it is seen to a colourblind person on a screen with a poorly calibrated colourmap. What you instead need to do is create a full tree of all navigation paths possible in the application ( a little easier to do programmatically/test suite driven ), and then hand a specification to a set of humans to go through and execute on a variety of platforms. That will handle this week, but will you repeat the manual tests evey time you make a change to code? Or every time you make a release? Manual tests simply will not scale. They're cheap in the short, but hopelessly costly in the long run. – Tim Ottinger FWIW, Even Firefox still has a human driven test suite. Humans are simply better at recognising behaviour that while meeting the defined standard, does not meet some other standard that has not yet been arbitrarily defined, and thus, has not had a test-case written for it yet.

Related questions

0 votes
    I think I understand unit testing. But I was wondering: is there a way to automate something visual, ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    How does one write a unittest that fails only if a function doesn't throw an expected exception? Select the correct answer from above options...
asked Jan 30, 2022 in Education by JackTerrance
0 votes
    How do you create a row link between two components? Drag the target component onto the source component Right-click ... row followed by the row type and then the target component...
asked Mar 24, 2021 in Technology by JackTerrance
0 votes
    What do you do if any concrete cube fails in 28 days compressive strength test?...
asked Jan 20, 2021 in Technology by JackTerrance
0 votes
    What software do you need to run a Cucumber Web Test cases?...
asked Nov 16, 2020 in Technology by JackTerrance
0 votes
    What do you do if a standard window object is not recognized by QTP in an application that is the undergoing test?...
asked Oct 19, 2020 in Technology by JackTerrance
0 votes
    What are the differences between t.test() and t.data.frame()? When do you use these two functions?...
asked Oct 16, 2020 in Technology by JackTerrance
0 votes
    Do You know the different components of Kafka?...
asked Nov 5, 2020 in Technology by JackTerrance
0 votes
    machine that can do things like space recognization visual perception and decision making are called _______. Please answer the above question....
asked Aug 23, 2022 in Education by JackTerrance
0 votes
    Why do we need to write test classes? How to identify if a class is a test class?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    I'm fairly new to Razor Components and I would like to change the title and other data inside the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 26, 2022 in Education by JackTerrance
0 votes
    How can you test RESTful Web Services?...
asked Jun 23, 2021 in Technology by JackTerrance
0 votes
    Visual Studio Code has option to connect to jupyter notebook. When it's done I can execute my script ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 24, 2022 in Education by JackTerrance
0 votes
    I have a very serious problem with Visual Studio 2008. Occasionally when I right-click (for go to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
0 votes
    I have a very serious problem with Visual Studio 2008. Occasionally when I right-click (for go to ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 17, 2022 in Education by JackTerrance
...