101. What is Test stub?
A dummy software component or object used to simulate (duplicate) the behavior of a real component
102. BUG LIFE CYCLE
A Tester finds a new bug / defect, so using a defect tracking tool logs it as ‘NEW’
- Its status is ‘OPEN’ and assigns to the respective development team (By Team Lead).
- The developer works on the bug, fixes it and he changes the status to ‘VERIFIED’
- The QA after verifying, change the status to ‘FIXED’.
- If the bug is ‘FIXED’ then we will CLOSE it
If the defect or bug is not fixed he re-assigns the bug / defect back to the development team for ‘RE-FIXING’
103. What is Requirements Traceability Matrix (RTM)
It is a Root Document which keeps track of the Entire Requirements and helps in identifying the Testing Status. It’s a document that traces User requirements from analysis through implementations. How to trace the document? Which is our module? It’s the Link between requirements and Test cases.
RTM can be used as a completeness check to verify that all the requirements are present or that there is no unnecessary / extra features and as a maintenance guide to new personnel. It’s a Linking b/n Test Case and to Requirements
In our company we followed two worksheets in the RTM template.
1 Requirements Worksheet
Links Requirements to Application Design Specifications and User Acceptance Test Specifications (Here in table, Requirements are in COLOMN and Application design specs and Acceptance Test Case (UAT) are in ROW
2 Design Worksheet
Links Application Design Specifications to Components, System Test Specifications, Integration Test Specifications and Unit test Specifications ( Here, in table, Application Design Specs is in COLOMN and Components, System Test Specifications, Integration Test Specifications and Unit test Specifications are in ROW
104. What is Functionality Testing?
Testing the functionality of the individual objects contained in the module in accordance to the customer requirement is Functionality Testing. For Example,
* Screen Functionality (alignment of objects, color, font, spelling & grammar)
* Referential Integrity Checks (data save, field length, max and min values for numeric fields, not null)
* Field Dependencies (sensible error message, mandatory fields, command button, multiple validations)
105. When are Regression Testing done?
Regression testing is the process of testing changes in computer programs to make sure that the older programming still works with the new changes.
Simply to say, regression testing is performed on the following 3 areas,
* New Enhancement added to the application
* Modification or updation of any source code
* Retesting done after a bug is found and fixed
These should not impact the existing one.
106. Types of HTTP Error Codes
Information Codes
Error # | Info | Error Code |
100 | Continue | |
101 | Switching Protocols |
Success Codes
Error # | Info | Error Code |
200 | OK | |
201 | Created | |
202 | Accepted | |
203 | Non-Authoritative Information | |
204 | No Content | |
205 | Reset Content | |
206 | Partial Content |
Redirection Codes
Error # | Info | Error Code |
300 | Multiple Choices | |
301 | Moved Permanently | |
302 | Found | |
303 | See Other | |
304 | Not Modified | |
305 | Use Proxy | |
307 | Temporary Redirect |
Client Error Codes
Error # | Info | Error Code |
400 | Bad Request | |
401 | Unauthorized | |
402 | Payment Required | |
403 | Forbidden | |
404 | Not Found | |
405 | Method Not Allowed | |
406 | Not Acceptable | |
407 | Proxy Authentication Required | |
408 | Request Timeout | |
409 | Conflict | |
410 | Gone | |
411 | Length Required | |
412 | Precondition Failed | |
413 | Request Entity Too Large | |
414 | Request-URI Too Large | |
415 | Unsupported Media Type | |
416 | Requested Range Not Satisfiable | |
417 | Expectation Failed |
Server Error Codes
Error # | Info | Error Code |
500 | Internal Server Error | |
501 | Not Implemented | |
502 | Bad Gateway | |
503 | Service Unavailable | |
504 | Gateway Timeout | |
505 | HTTP Version not supported |
107. What type of testing is carried out to find memory- leakages? Give me a sample example?
Through Volume testing it is possible. i.e., An application tries to retrieve large amount of data that require large temporary buffer area. If the data exceed the buffer area the situation of memory leakage will occur and query will fail without returning any result as sorting didn’t got finished as buffer exceeds the limit.
We need to know the memory size before the test execution and after test execution by using memory related API functions or MFC functions.
Volume testing is testing the application with large volumes of data, or the production data. While testing a banking application, we have tested it with the accounts created by us, a sample of 300 accounts. The search option with customer number was working fine with less response time, but when we tested the same search option with large volume of data (2 lakh accounts), the search response time is 20 seconds, which is not at all acceptable. We have to test the application with large volumes of data to find the performance related issues.
108. What errors can occur when the page loads?
404 File Not Found (Server cannot find the file you requested. Refreshing the page (F5) should resolve this problem, although continued error messages may mean the page is no longer available, that there is considerable internet congestion (in which case the user should try again later)
500 Internal Error (Couldn't retrieve the HTML document because of server-configuration problems.)
502 Runtime Error - This error are caused if you have java scripts in your page and it is not working
and there are few to mention
403 (Forbidden/access denied),
401 (Unauthorized),
408 request timed out, file contains no data, script error, host unavailable
109. What is the difference in testing a secured site 'https' & a non secured site 'http'?
HTTP is Hyper Text Transport Protocol and is transmitted over the wire via PORT 80(TCP). You normally use HTTP when you are browsing the web, it is not secure, so someone can eavesdrop on the conversation between your computer and the web server. HTTPS (Hypertext Transfer Protocol over Secure Socket Layer or HTTP over SSL) is a Web protocol developed by Netscape and built into its browser that encrypts and decrypts user page requests as well as the pages that are returned by the Web server. HTTPS is really just the use of Netscape's Secure Socket Layer (SSL) as a sub layer under its regular HTTP application layering. (HTTPS uses port 443 instead of HTTP port 80 in its interactions with the lower layer, TCP/IP.) SSL uses a 40-bit key size for the RC4 stream encryption algorithm, new-age browsers use 128-bit key size which is more secure than the former, it is considered an adequate degree of encryption for commercial exchange. HTTPS is normally used in login pages, shopping/commercial sites.
110. What is Usability testing in web testing?
Designers should always remember that the experience of the user in their website must be as pleasant as possible. How the user interacts with the website is very important. There may be cases when the user is someone very familiar with website browsing but not necessarily a testing expert. There are standards and guidelines for tests for usability. However, designers and/or project managers should not rely on them too much since complying with these standards doesn’t necessarily ensure that the site will meet the needs of the users, their tasks and their work environments. Design guidelines must be set and they must be measurable so that they can be easily incorporated into the tests.
111. Major negative test cases to break the sign up page
1) See the limit of username field. I mean the data type of this field in DB and the field size. Try adding more characters to this field than the field size limit. See how application respond to this.
2) Repeat above case for number fields. Insert number beyond the field storage capacity. This is typically a boundary test.
3) For username field try adding numbers and special characters in various combinations. (Characters like !@#$%^&*()_+}{”:?><,./;’[]). If not allowed specific message should be displayed to the user.
4) Try above special character combination for all the input fields on your sign up page having some validations. Like Email address field, URL field validations etc.
5) Many applications crash for the input field containing ‘ (single quote) and ” (double quote) examples field like: “Vijay’s web”. Try it in all the input fields one by one.
6) Try adding only numbers to input fields having validation to enter only characters and vice versa.
7) If URL validation is there then see different rules for url validation and add urls not fitting to the rules to observe the system behavior.Example urls like: vijay.com/?q=vijay’s!@#$%^&*()_+}{”:?><,./;’[]web_pageAlso add urls containing http:// and https:// while inserting into url input box.
8) If your sign up page is of some steps like step 1 step 2 etc. then try changing parameter values directly into browser address bar. Many times urls are formatted with some parameters to maintain proper user steps. Try altering all those parameters directly without doing anything actually on the sign up page.
9) Do some monkey testing manually or automating (i.e. Insert whatever comes in mind or random typing over keyboard) you will come up with some observations.
10) See if any page is showing JavaScript error either at the browser left bottom corner or enable the browser settings to display popup message to any JavaScript error.
1 comment:
Excellent Stuff ,Thanks for ur time.
Thanks
Hari Jangam
Post a Comment