Wednesday, April 3, 2013

When SNMP operation fails - Factors to check

When SNMP operation fails, the factors to check would be:

1. Check if ping to the destination succeeds - if yes...
2. Check if the right version of SNMP is used by manager and agent - if yes...
3. Check if any ACL (Access Control List) is configured - if no..
4.  Check if the OID is a vaild one - if yes...
5. Check if snmp service is running in manager and agent

Types Of Web services

The types of web services available are:

1. SOAP based
2. Restful
Each web service has its own advantage and disadvantage and has to be used according to the requirement

How To Find The IP Address Of A Web Page

The ip addres address of a web page can be easily found my entering into the command prompt on a windows machine and typing the following command.

ping <website name>

eg:
ping google.com

With output
~~~~~~~~

C:\Users\kanbaras>ping google.com

Pinging google.com [173.194.38.166] with 32 bytes of da
Reply from 173.194.38.166: bytes=32 time=126ms TTL=51
Reply from 173.194.38.166: bytes=32 time=46ms TTL=52
Reply from 173.194.38.166: bytes=32 time=86ms TTL=52
Reply from 173.194.38.166: bytes=32 time=42ms TTL=51

Here 173.194.38.166 is the ip address of google.com

Wednesday, March 6, 2013

Testing - Networking Interview Questions



1. What methodology is used in your project?

Water fall

2. What is Agile testing methodology and its advantages

It is an iterative methodology where the customer's feed back is obtained in all phases. When requirements are not clear we go for Agile methodology. Its the quickest of all models

3. What is the bug tracking tool used in your project

4. What tool do u use to write test plans in ur project
5. Whats a bug life cycle
submitted->Assigned->Fixed->Testing->Closed
6. What is SNMP
It is a protocol working in the 7th Layer and is used for managing a network with a number of hosts called agents. The NMS is intalled in the manager and this monitors all the remote agents. It runs in udp ports 161 and 162 (trap)

7. What is the latest version of Windows
Windows 8
8. What is the lastest version of Internet Explorer
IE9.0
9. What is ping and what protocol does it use
10. What is performance testing
11. Did u visit out site? What did u find interesting?
12. Difference between tcp and udp
13. Verification and validation in testing process
14. Latest version of SNMP
15. Compatibilty testing
16. Regression testing
17. In linux, write a command to transfer a file from one system to another.
18. When do we use tcp and when do we use udp
19. What is a web server? What does it do?
20. What is client side scripting
21. What is XML? Diff XML and HTML
22. At what layer does the following operate:
tcp
udp
snmp
ping
23. What is severity and Priority
24. Do you change the severity of a bug if a developer requests? Name an incident.
25. Write test cases to test a text box that takes 20-40 as entries with negative test cases
26. How do you identify the severity of a bug?
27. What is WMI
28. What is windows services
29. What is Windows registry
30. What is traceability matrix
31. What time of methodology will you adapt for a project where the customer requirements are not clear.

Monday, August 13, 2012

What happens when we "PING"

This is a typical interview question. A basic explanation to answer this question in an interview is provided here.

1. Ping works in Layer 3 of the OSI model which is "Network Layer"
2. Ping uses ICMP protocol
3. It is mainly used to check the connectivity between two devices
4. When we ping from one device to another, giving the destination device's ip, an icmp echo request is sent to the destination. The destination device sends an echo response which is received by the sender. Some times the request might time out or destination unreachable error message might pop up according to different scenarios.
5. As Ping works in Layer 3, the Layer 2 activities like ARP are carried out as usual. (ARP is used by a device to learn the MAC address of a destination device.)

This is just a basic idea on Ping. A detailed and interesting explanationis available here:

http://www.antionline.com/showthread.php?t=237944

Excellent Explanation For Difference Between Verification and Validation Testing

Verification and Validation: Definition, Differences, Details:
The terms ‘Verification‘ and ‘Validation‘ are frequently used in the software testing world but the meaning of those terms are mostly vague and debatable. You will encounter (or have encountered) all kinds of usage and interpretations of those terms, and it is our humble attempt here to distinguish between them as clearly as possible.
Criteria Verification Validation
Definition The process of evaluating work-products (not the actual final product) of a development phase to determine whether they meet the specified requirements for that phase. The process of evaluating software during or at the end of the development process to determine whether it satisfies specified business requirements.
Objective To ensure that the product is being built according to the requirements and design specifications. In other words, to ensure that work products meet their specified requirements. To ensure that the product actually meets the user’s needs, and that the specifications were correct in the first place. In other words, to demonstrate that the product fulfills its intended use when placed in its intended environment.
Question Are we building the product right? Are we building the right product?
Evaluation Items Plans, Requirement Specs, Design Specs, Code, Test Cases The actual product/software.
Activities
  • Reviews
  • Walkthroughs
  • Inspections
  • Testing
It is entirely possible that a product passes when verified but fails when validated. This can happen when, say, a product is built as per the specifications but the specifications themselves fail to address the user’s needs.
  • Trust but Verify.
  • Verify but also Validate.

Original Content : http://softwaretestingfundamentals.com/verification-vs-validation/


Non technical stuff  - R. K . Narayan's book reviewed here - http://kavithasownblog.blogspot.in/2014/09/waiting-for-mahatma-book-review.html

XML Interview Questions

1. What is xml
XML is Extensible Markup Language. It uses user defined tags unlike HTML and is mostly used for dynamic webpages where the data is transported and stored in data base

2. Difference between xml and html
HTML is Hypertext Markup Language and it is mainly used for presenting data is different formats. It has predefined tags
XML is Extensible Markup Language. It uses user defined tags and involves transport and storage of data rather than presentation of data

3. What is client side scripting
Client side scripts are usually embedded within a HTML document. Whenever a client requests for a file, it is sent by the web server to the client and then at the web browser (client side) the script is executed and document along with the script output is shown.

4. What is a web server
 The primary function of a web server is to deliver web pages to clients when it is requested using the Hypertext Transfer Protocol (HTTP).