Wednesday, 9 July 2014

Tips on How to make your software testing more efficient

Today I am writing on software testing good practices that help us to make our software testing more efficient. Simply saying ‘we do software testing’ does not magically make your software better or even your testing processes correct and optimized. After all you will learn these testing practices by experience, so let’s learn what all points to be consider for making your software more efficient and healthy.
1) Participation right from beginning: It is a good practice to have testers involved in all stages of software development life cycle. It results the testers can acquire good understanding of application under test, as a result tester can cover the comprehensive test cases. In the requirement’s stage, testing project’s requirements can be a cost-effective & useful to avoid bugs after wards. Early preparation of test environment, thereby preventing any delays and unknown risks will have enough time to deal with. If it is not possible to be a part in these stages then ask you lead or manager to involve the tester in decision making meetings.

2) Have a good test plan. It is necessary to have test plan written by experience person like QA lead or manager. While creating test plan you need follow an organized approach to make it good test plan. The good test plan must cover Scope of testing, test objectives, budget limitations, deadlines, test execution schedule, risks identifications and more.

3) Store intelligently: It is bad practice to have all requirements & change requests over the email. Store all documents, reports on centralized location. It helps to avoid scattering documents over email, file server or intranet. If store intelligently then help to increase the Productivity & improve availability of documents.

Make software testing more efficient


4) Test early, test often: It has been observed that most of the errors are identified in the testing phase which is already introduced in the requirement or design phase. Defects identified later in SDLC are expensive to fix than defects identified in early stage. So testing should start early to avoid the introduction of defects in the early phase.

5) Start writing testing cases early in the requirement analysis & design phase: If you start writing test cases during early phase of Software Development Life Cycle then you will understand whether all requirement are testable or not. While writing test cases first consider Valid/Positive test cases which cover all expected behavior of application under test. After that you can consider invalid conditions/negative test cases.

6) Write effective test cases: Writing effective test cases is a skill and that can be accomplished by experience and in-depth study of the application on which test cases are being written. You should write clearer steps while writing test cases, that will handy to reproduce test cases for both developer and tester.

7) Start testing with positive mindset: When you are start testing application positive attitude with determination of bug and errors in the code. Start positive attitude & don’t think that there will not be a bug in the code. If you are testing application with intention of finding bug then you will definitely get bugs in the code.

8) Use good metrics: Metrics are important for more than one reason software testing projects. Testing your software is one thing and choosing the right metrics is another. Measuring quality and making the right decisions another. Metrics are used to get the efficiency and productivity over time. Quality Objectives Must Be measurable, documented, reviewed and tracked. Choose metrics which are simple to execute & effective in nature. Make sure that choose metrics such that which will present the big picture like

Schedule: Number of test cases written or executed versus the timeline.
Size: Number of lines of code, modules or test cases.
Quality: Defect Removal Efficiency (DRE), coverage.
Rework: Number of test cycles to test bug fixes.
Resources: Money spent, hours of work.

9) Understand testing coverage; divide the functional module into smaller part: Application under test should be divided into small functional module which will help to understand the coverage of testing. If possible make sure that functional modules are divvied into smaller logical parts if possible and test cases should be written in the single module.

10) Test cases available to all team: QA team is aware of application under test vertically rather horizontally. When QA team write the test cases then make sure that you kept in the central location from where all team can access the test cases. Let developer analyze the test cases which help to build the high quality application. Due to uncover all scenarios which developers might miss while coding, this will help to save the rework time.

11) Writing good, clear & descriptive bug report will help to make your software testing more efficient. Keep in mind that testing is a more challenging & creative job. It is your skill how you are handling this challenging situations. Your efforts towards writing good bug report will not only save company resources but also create a good relationship between you and developers. While reporting bug not only provide the symptoms of bug but also provide the solutions, if you can. Additional information must be provided along with bug like browser version, login details if any, exact steps to repro etc. This will help to fix the obvious problem quickly. Use proper bug report template for reporting bug.

12) Test environments should own by Testing team: Test environment should be the exact replica of production. Sometimes developers add some configurations or run script but missed to add in release document or configuration file. As a result application will work in the lower environment but failed on production. So if testing team owns the test environment & developer don’t have access to test environment, so such missing things can be controlled.

13) Identify Regression Test cases: To do effective manual regression testing, identify & group the set of regression test cases well before.

14) Increase communication with developer to avoid misunderstandings: In the daily standup or meeting, discuss all points whichever unclear or need some additional information. The face to face communication will resolve the problem easily and quickly, that will help to avoid any misunderstandings. Once you discuss these points, it should be communicated over email as well. Basically, simple rule is that don’t keep verbal communications, same should be capture over the emails or MOM.

How to Extract APK from installed apps on Android Smartphone

Normally all users install their Android Application from Google Playstore, an Official Application Store from Google from which you can download and install the Android application. All android applications are in the form of APK which is known as Android Package File. This APK i.e Android Package file is an an archive file having extension as apk. When you install application from Playstore, actually you install the Android APK from the store to you device. However,though Application is installed in your Smartphone, you can not see actual APK located somewhere in your Android Device. As you can not see APK in the Samrtphone, you can not actually share it with any of your friend even if you want.

APK Extractor is a tool using which you can you can extract the apk of the installed application on your phone. Just go to Google Playstore on Google Playstation and search for APK Extractor. Well you can get quiet a few results for this and you can try anyone you wish.The APK Extractor not only extracts the APK but you can share this it via email or any other sharing options available.

extract-apk


extract and send apk via email

Wednesday, 2 July 2014

Top 50 Testing interview Q & A for Freshers

1. What is 'Software Quality Assurance'?

Software QA involves the entire software development PROCESS - monitoring and improving the process, making sure that any agreed-upon standards and procedures are followed, and ensuring that problems are found and dealt with.

2. What is 'Software Testing'?

Testing involves operation of a system or application under controlled conditions and evaluating the results. Testing should intentionally attempt to make things go wrong to determine if things happen when they shouldn't or things don't happen when they should.

3. Does every software project need testers?

It depends on the size and context of the project, the risks, the development methodology, the skill and experience of the developers. If the project is a short-term, small, low risk project, with highly experienced programmers utilizing thorough unit testing or test-first development, then test engineers may not be required for the project to succeed. For non-trivial-size projects or projects with non-trivial risks, a testing staff is usually necessary. The use of personnel with specialized skills enhances an organization's ability to be successful in large, complex, or difficult tasks. It allows for both a) deeper and stronger skills and b) the contribution of differing perspectives.

4. What is Regression testing?

Retesting of a previously tested program following modification to ensure that faults have not been introduced or uncovered as a result of the changes made.

5. Why does software have bugs?

Some of the reasons are:
a. Miscommunication or no communication.
b. Programming errors
c. Changing requirements
d. Time pressures

6. How can new Software QA processes be introduced in an existing Organization?

It depends on the size of the organization and the risks involved.
a. For small groups or projects, a more ad-hoc process may be appropriate, depending on the type of customers and projects.
b. By incremental self managed team approaches.

7. What is verification? Validation?

Verification typically involves reviews and meetings to evaluate documents, plans, code, requirements, and specifications. This can be done with checklists, issues lists, walkthroughs, and inspection meetings. Validation typically involves actual testing and takes place after verifications are completed.

8. What is a 'walkthrough'? What's an 'inspection'?

A 'walkthrough' is an informal meeting for evaluation or informational purposes. Little or no preparation is usually required. An inspection is more formalized than a 'walkthrough', typically with 3-8 people including a moderator, reader, and a recorder to take notes. The subject of the inspection is typically a document such as a requirements spec or a test plan, and the purpose is to find problems and see what's missing, not to fix anything.

9. What kinds of testing should be considered?

Some of the basic kinds of testing involve:Blackbox testing, Whitebox testing, Integration testing, Functional testing, smoke testing, Acceptance testing, Load testing, Performance testing, User acceptance testing.

10. What are 5 common problems in the software development process?

a. Poor requirements
b. Unrealistic Schedule
c. Inadequate testing
d. Changing requirements
e. Miscommunication

11.What are 5 common solutions to software development problems?

a. Solid requirements
b. Realistic Schedule
c. Adequate testing
d. Clarity of requirements
e. Good communication among the Project team

12. What is software 'quality'?

Quality software is reasonably bug-free, delivered on time and within budget, meets requirements and/or expectations, and is maintainable

13. What are some recent major computer system failures caused by software bugs?

Trading on a major Asian stock exchange was brought to a halt in November of 2005, reportedly due to an error in a system software upgrade. A May 2005 newspaper article reported that a major hybrid car manufacturer had to install a software fix on 20,000 vehicles due to problems with invalid engine warning lights and occasional stalling. Media reports in January of 2005 detailed severe problems with a $170 million high-profile U.S. government IT systems project. Software testing was one of the five major problem areas according to a report of the commission reviewing the project.

14. What is 'good code'? What is 'good design'?

'Good code' is code that works, is bug free, and is readable and maintainable. 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.

15. What is SEI? CMM? CMMI? ISO? Will it help?

These are all standards that determine effectiveness in delivering quality software. It helps organizations to identify best practices useful in helping them increase the maturity of their processes.

16. What steps are needed to develop and run software tests?

a. Obtain requirements, functional design, and internal design specifications and other necessary documents
b. Obtain budget and schedule requirements.
c. Determine Project context.
d. Identify risks.
e. Determine testing approaches, methods, test environment, test data.
f. Set Schedules, testing documents.
g. Perform tests.
h. Perform reviews and evaluations
i. Maintain and update documents.

17. What's a 'test plan'? What's a 'test case'?


A software project test plan is a document that describes the objectives, scope, approach, and focus of a software testing effort. A test case is a document that describes an input, action, or event and an expected response, to determine if a feature of an application is working correctly.

18. What should be done after a bug is found?

The bug needs to be communicated and assigned to developers that can fix it. After the problem is resolved, fixes should be re-tested, and determinations made regarding requirements for regression testing to check that fixes didn't create problems elsewhere

19. Will automated testing tools make testing easier?

It depends on the Project size. For small projects, the time needed to learn and implement them may not be worth it unless personnel are already familiar with the tools. For larger projects, or on-going long-term projects they can be valuable.

20. What's the best way to choose a test automation tool?

Some of the points that can be noted before choosing a tool would be:
a. Analyze the non-automated testing situation to determine the testing activity that is being performed.
b. Testing procedures that are time consuming and repetition.
c. Cost/Budget of tool, Training and implementation factors.
d. Evaluation of the chosen tool to explore the benefits.

21. How can it be determined if a test environment is appropriate?

Test environment should match exactly all possible hardware, software, network, data, and usage characteristics of the expected live environments in which the software will be used.

22. What's the best approach to software test estimation?

The 'best approach' is highly dependent on the particular organization and project and the experience of the personnel involvedSome of the following approaches to be considered are:
a. Implicit Risk Context Approach
b. Metrics-Based Approach
c. Test Work Breakdown Approach
d. Iterative Approach
e. Percentage-of-Development Approach.

23. What if the software is so buggy it can't really be tested at all?

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.

24. How can it be known when to stop testing?

Common factors in deciding when to stop are:
a. Deadlines (release deadlines, testing deadlines, etc.)
b. Test cases completed with certain percentage passed
c. Test budget depleted
d. Coverage of code/functionality/requirements reaches a specified point
e. Bug rate falls below a certain level
f. Beta or alpha testing period ends

25. What if there isn't enough time for thorough testing?

a. Use risk analysis to determine where testing should be focused.
b. Determine the important functionality to be tested.
c. Determine the high-risk aspects of the project.
d. Prioritize the kinds of testing that need to be performed.
e. Determine the tests that will have the best high-risk-coverage to time-required ratio.

26. What if the project isn't big enough to justify extensive testing?

Consider the impact of project errors, not the size of the project. The tester might then do ad-hoc testing, or write up a limited test plan based on the risk analysis.

27. How does a client/server environment affect testing?

Client/server applications can be quite complex due to the multiple dependencies among clients, data communications, hardware, and servers, especially in multi-tier systems. Load/stress/performance testing may be useful in determining client/server application limitations and capabilities.

28. How can World Wide Web sites be tested?

Some of the considerations might include:
a. Testing the expected loads on the server
b. Performance expected on the client side
c. Testing the required securities to be implemented and verified.
d. Testing the HTML specification, external and internal links
e. cgi programs, applets, javascripts, ActiveX components, etc. to be maintained, tracked, controlled.

29. How is testing affected by object-oriented designs?

Well-engineered object-oriented design can make it easier to trace from code to internal design to functional design to requirements. If the application was well designed this can simplify test design.

30. What is Extreme Programming and what's it got to do with testing?

Extreme Programming (XP) is a software development approach for small teams on risk-prone projects with unstable requirements. For testing ('extreme testing', programmers are expected to write unit and functional test code first - before writing the application code. Customers are expected to be an integral part of the project team and to help develop scenarios for acceptance/black box testing.

31. What makes a good Software Test engineer?

A good test engineer has a 'test to break' 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.

32. What makes a good Software QA engineer?

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 'what's missing' is important for inspections and reviews

33. What's the role of documentation in QA?

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. Change management for documentation should be used.

34. What is a test strategy? What is the purpose of a test strategy?

It is a plan for conducting the test effort against one or more aspects of the target system.A test strategy needs to be able to convince management and other stakeholders that the approach is sound and achievable, and it also needs to be appropriate both in terms of the software product to be tested and the skills of the test team.

35. What information does a test strategy captures?

It captures an explanation of the general approach that will be used and the specific types, techniques, styles of testing

36. What is test data?

It is a collection of test input values that are consumed during the execution of a test, and expected results referenced for comparative purposes during the execution of a test

37. What is Unit testing?

It is implemented against the smallest testable element (units) of the software, and involves testing the internal structure such as logic and dataflow, and the unit's function and observable behaviors.

38. How can the test results be used in testing?

Test Results are used to record the detailed findings of the test effort and to subsequently calculate the different key measures of testing.

39. What is Developer testing?

Developer testing denotes the aspects of test design and implementation most appropriate for the team of developers to undertake.
40. What is independent testing?

Independent testing denotes the test design and implementation most appropriately performed by someone who is independent from the team of developers.

41. What is Integration testing?

Integration testing is performed to ensure that the components in the implementation model operate properly when combined to execute a use case

42. What is System testing?

A series of tests designed to ensure that the modified program interacts correctly with other system components. These test procedures typically are performed by the system maintenance staff in their development library.

43. What is Acceptance testing?

User acceptance testing is the final test action taken before deploying the software. The goal of acceptance testing is to verify that the software is ready, and that it can be used by end users to perform those functions and tasks for which the software was built.

44. What is the role of a Test Manager?

The Test Manager role is tasked with the overall responsibility for the test effort's success. The role involves quality and test advocacy, resource planning and management, and resolution of issues that impede the test effort

45. What is the role of a Test Analyst?

The Test Analyst role is responsible for identifying and defining the required tests, monitoring detailed testing progress and results in each test cycle and evaluating the overall quality experienced as a result of testing activities. The role typically carries the responsibility for appropriately representing the needs of stakeholders that do not have direct or regular representation on the project.

46. What is the role of a Test Designer?

The Test Designer role is responsible for defining the test approach and ensuring its successful implementation. The role involves identifying the appropriate techniques, tools and guidelines to implement the required tests, and to give guidance on the corresponding resources requirements for the test effort

47. What are the roles and responsibilities of a Tester?

The Tester role is responsible for the core activities of the test effort, which involves conducting the necessary tests and logging the outcomes of that testing. The tester is responsible for identifying the most appropriate implementation approach for a given test, implementing individual tests, setting up and executing the tests, logging outcomes and verifying test execution, analyzing and recovering from execution errors.

48. What are the skills required to be a good tester?

A tester should have knowledge of testing approaches and techniques, diagnostic and problem-solving skills, knowledge of the system or application being tested, and knowledge of networking and system architecture

49. What is test coverage?

Test coverage is the measurement of testing completeness, and it's based on the coverage of testing expressed by the coverage of test requirements and test cases or by the coverage of executed code.

50. What is a test script?

The step-by-step instructions that realize a test, enabling its execution. Test Scripts may take the form of either documented textual instructions that are executed manually or computer readable instructions that enable automated test execution.

How to do Cloud Testing


Unless you've been living under a rock you must already be knowing that 'Cloud Computing' has been making a lot of buzz over past couple of years -- whether it your peer meeting, a client interview, a demo POC session with a prospect, the talk about cloud is everywhere.




And why wouldn't it be? After all,  if industry analysts and virtualization experts are to be believed then cloud based computing and business solutions are going to be the NEXT BIG thing of this decade.

So I guess it is only natural if you find yourself to be asking yourself questions like 'what is cloud testing?',  'how to test on cloud?', 'how can we use cloud to better our testing?', 'how does cloud impact how we used to test before?' etc.

However, since all these queries pose different questions, the answers to them would be unique. For starters, if you are looking for cloud testing, it simply means a testing environment that utilizes cloud infrastructure for performing software testing.

How to leverage Cloud to Transform Software Testing?

If you are someone who heavily use tools while testing then IBM (IBM Cloud) and Hewlett-Packard have already jumped into the market for software testing in the cloud. Thankfully, if done smartly, cloud based computing can prove to be a great value-addition for both software development and testing. The reason is simple -- the very nature of a cloud based infrastructure allows for great team collaboration.

As an added advantage, cloud based testing (as well as programming) environments are easy to setup (on-demand). In today's tight budgeted IT world, this can be a much bigger advantage than it appears at first. It is no secret that IT managers are operating under a very tight budgetary constraint and when it comes to testing phase, the budget is even smaller.

Traditional approaches to setting up a test environment involves high cost to setup multiple servers with various OS, hardware configuration, browser versions etc. And if you are going to simulate user activity from different geographic locations you will have to setup test servers with localized regional language OS, which in turn can add up to the cost. But using cloud based infrastructure, the team wouldn't have to setup expensive physical servers -- rather, setting up new testing environment will be fast and efficient and VMs (virtual machines) and test servers can be launched and decommissioned as needed.

On the other hand, as a tester you might also be required to one of those ever emerging cloud based SaaS applications that aim to cater to various large and small customer base, on-demand. If you are testing such a cloud based application then your challenges are double-fold. Because, testing all the layers - from your application to the cloud service provider - is something that as a tester you will have to become efficient in.

As a closing note, if you are a tester and if you are intrigued by all these buzz surrounding cloud testing, then here are 2 main reasons why you might consider trying it out -- Cloud based software testing infrastructure  greatly helps in reducing capital expenditure and these testing setups are highly scalable , thus allowing your team to expand or decommission your test servers on-demand, as needed.

Tuesday, 1 July 2014

Form Validation / Basic Checklist – Registration Form

1) Field Name => Username.

* Label should say “Username”.

* As soon as the page was loaded, cursor should be focus in the Username textbox.

* There should be a hint saying the min & max character.

* Min validation should be “3 Chars” and Max validation should be not more than “12 Chars”.

* It should be accepts only “Alphanumeric” and can contains “dot, underscore and hypen”.

* It should be unique.

2) Field Name => Email

* It should be unique.

* The max character length should not be more than “80 Characters”.

* Check for “.com, com.sg, co.uk, .co..lm, .comdfgdg, ..com”.

* Check for already existing email.

3) Field Name = Password

* There should be a hint saying the min character.

* It should not accepts single quotes, double quotes and slashes.

* If we copy and paste the password in notepad / wordpad, it should not paste it!

4) Field Name = Name

* It accepts only alphabets. Its better to restrict from keystroke!

* Max Character should not be more than 40-50 Characters. In case of First Name, max can be “20 Chars”…

* If the label says “Name”, it should accepts “space and dot”. If it says as “First Name”,

then it should accepts only “Alphabets”.

5) Field Name = Mobile

* Max should be not more than “12 Characters” including Country Code. Else, it

should be accept only 10 digits. It should not be able to enter more than the specified

characters.

* It should accepts only “Digits”.

* If it contains 10 Zeros, then, it should be invalid!

6) Field Name = LandLine

* Max should be not more than “15 Characters” including Country Code. It should not be

able to enter more than the specified characters.

* It should accepts only “Digits”.

* If it contains 15 Zeros, then, it should be invalid!

7) Field Name = DOB (Date of Birth)

* It can be 3 individual fields (D/M/Y) else would be better of having Calendar.

* It should never display the current date.

* It should be displayed only the date/age to select from “18″yrs.

8) All forms should have a “Terms & Conditions” link with a checkbox. If the form was submits

without selecting the checkbox, error msg should be displayed.

9) Its better to have a “Captcha” in every “Registration Form”.

10) Its better to have some “Subscription” links in the “Registration Form”.

11) After Successful register, user should receive a “Welcome” mail to the given email.

12) Its better to have a “Confirmation Link” in the email for valid registration.

13) Check for tab navigation.

14) Check for Enter key validation.

15) Check for Blank Space validation.

Monday, 19 May 2014

How to improve agility of an Agile Team

Often as an Agile Project Manager or an Agile Scrum Master, your very first challenge is to improve the agility of teams.  So in this article, I will try to post my thoughts on how to improve Agility of a Team in my own words of course and out of my experience.

  •   Change their mindset
Agile is a lot about mindset.  Once someone is into that mindset, obviously he/she will contribute the best to the team's cause and thereby it will increase the speed and also the agility of the team.
  •   Change your mindset
Acknowledge the fact that you need a mental conditioning as much as the team.  First of all, try to understand what Agile is all about and how it benefits the different stakeholders in the teams.  Try to understand that Agile is not a miracle game and it takes time, proper execution, support from every team member and support from team as a whole to reap its benefits.
  •   Improve collaboration
Agile is lot about team working together to complete challenging tasks rather than several team members working in silos.  Emphasize the fact that Agile is a team game.  So Improve the collaboration among the team members, ask them to pair up for some problems and encourage good collaborative team work and make collaboration a habit.
  •   Improve the engineering practices
Agile is lot about being nimble, which means that unless proper engineering practices are followed, it may not be very helpful to the team.  If all team members have the right mindset but lack the engineering practices, then that will be a bottleneck to agility.
  •   Focus on knowledge sharing
Knowledge shared is knowledge gained.  The problems with traditional teams was that everyone worked in silos and very few members shared their knowledge.  But the main focus of an Agile team is to share the knowledge it gained among its team members so that as a team, they will be in a better position to respond to uncertainties.  As they say, Knowledge is Power.  The more as a team they know, the better inputs they have to solve the problems at hand.
  •   Continuous learning
The more you learn, the more you know and the more you can share.  One of the strengths of good Agile teams is that they focus on continuous learning.  As teams continuously learn it enhances the knowledge and hence provides a competitive atmosphere for learning and knowledge sharing.
  •   Embrace changes and new ideas
Often the team knows what is going well and what isn't and what needs to be changed.  So give a thought to those ideas and you might see a whole lot of improvements in the Agility.  Embrace changes from the teams also.
  •   Strike the right balance between process and innovation
Processes are required to a point to define some standards and to mechanize certain parts of the life cycle.  But over reliance on processes will make the project boring and there will be no scope for innovation.  And focus too much on innovation, you tend to lost of the current goals.  So try to balance between process and innovation.  By that way, you will improve the agility without hurting the current goals and also the innovative ideas of teams.
  •   Give the team proper coaching
Unless the team understands the benefits of Agile for them, the customers and the project as a whole, it will be difficult to get a buy in from them.  So give them proper coaching on what is Agile all about and what are the areas of focus.  By understanding, they will try to realize what their roles should be to improve the agility.
  •   Take it slow, Embrace the power of small wins
There is no point in rushing.  As already put forward, Agile is not about miracles overnight.  It can be beneficial in the long term, but for that to happen, start small and keep on improving.  Try to identify areas that can be improved and do it one step at a time.  That is when the power of small wins come into picture and the team will get a natural way of progression.
  •   Remove impediments for the team
One of the biggest Agility killers is the impediments for the team.  Impediments can be in terms of technical challenges, unwanted distractions from the product roadmap, no clear vision of product goals, waste of time due to lack of effective engineering practices, lack of automation, lack of team work and collaboration, and so on.  Removing these impediments will reduce the friction so that the wheels of Agile can move smoothly.

The Future of Software Testing

 I believe that in the future will we see changes in 6 key areas of software testing:-

1.Accurate information provision (in the language of the recipient)

Software testing’s role is the provision of data to enable go live decisions to be made. If we get this information wrong, wrong decision will be made. If testing can’t provide the right information it actually adds little value.

Key to this is the understanding of what data is required. So many times I see that Test Managers have just produced what they think is right without asking, or even worse don’t understand the goals of the project so don’t know what data should be collected to indicate whether those goals have been achieved.

Test Management tools can help, but they are only as good as the way they are implemented. In a lot of cases this is straight out of the box, with no configuration or understanding of what is to be reported, with a view that the standard reports will be good enough! Test cases are then loaded and then it’s found that the right data is not available!

I believe the way forward for information provision is actually to learn something from the Agile world and start to work/talk to each other. Everyone’s requirement for information is different and so the closer projects work together and people mix the more we can understand and the closer we will be.

I think a software delivery project is much like an orchestra, if each part works together in harmony it can be beautiful, but if only one element works on its own the result will be disastrous. We need to work together so that the software delivery orchestra works, and delivers beautiful results.

2. Building quality in, rather than testing it out, prevention rather than detection

Traditionally software testing’s objective is seen as finding defects, whereas in reality it is a great way of preventing defects.

It continually amazes me how many clients I see who leave testing until the last possible minute. When will companies understand that the earlier a test team is involved, and of course the better trained they are, the more they will recognise problems early in the lifecycle enabling them to be resolved before they become execution defects?

What do I mean? Well, if you knew your back wall was going to fall down, would you wait until it did or do something to stop it falling. The same can be said for a software tester. If early enough in the lifecycle it is identified that elements of the software may fail would it not be better to stop it failing by some corrective action, rather than to leave it to fail and then checking it has!

What I am referring to hear is a risk based approach to testing, understanding what risks the product has at the earliest possible point and putting in place mitigating actions to lessen or completely remove the risk of failure

3. Ensuring that quality is considered and not seen as a burden, alongside time and cost

Many have said that you can’t balance the three sides of the eternal project triangle, time cost and quality. The view seems to be that you can’t have all three you have to pick two!

In my experience, by adopting a collaborative approach and being able to get involved at the earliest point in a project, it is possible to achieve all three.

Whilst working for a large Insurance Company, I liaised very closely with the Development Manager lending him my testing staff so that he could be sure that when his developers had finished developing the code would work. They asked for a week’s extra time, which I agreed to. When the code was delivered to test it just worked and we therefore reduced the lifecycle timescales by 6 weeks and saved over £400k. The developers were happy, the testers were happy and most of all the business got their software early.

The testing costed roughly the same as the back ended budget, but was spread out from a far earlier point, all of the savings were in development not having to support an extended testing window!

The key to this success was the joint ownership of the quality between all parts of the project team. So by focusing on quality early in the lifecycle you can meet the joint objectives of cost, time and quality.

4. Software Testing Qualifications


The reality is that a good software tester or test manager needs a mixture of skills and knowledge to make them successful. In my view the qualifications account for about 10% to 15% of the knowledge required for the practical application in the workplace.

ISEB have recently revised their single Practitioner Exam, into three, the Intermediate, Test Management and Test Analyst, but only prescribe a 3 day training course followed by an exam. There is minimum entry requirement, but they do not include practical test experience, more a passing of time between taking the Foundation exam.

ISTQB on the other hand have just launched their Advanced level qualifications. Like ISEB there are three of them, Test Manager, Test Analysts and Technical Test Analysts, with a minimum training period of 5 days each followed by an exam, with basically the same entry criteria.

I believe software testing qualifications have a very important part to play in the future education and verification of software testers and test managers. The reality is that the qualification together with real practical experience is what makes a good tester. After all would you allow a surgeon who had just passed their exams but had no practical experience to operate on you? I don’t think so.

Employers need to consider what structures and support need to be in place subsequent to a qualification course to ensure what has been learnt is put into practice in the best possible way.

5. Standards

The few standards currently out there are developed by a wide working international group (can be as many as 1000 contributors) who build and review the content. However, by necessity they are generic and some concessions have to be made to gain global agreement.

It continually amazes me that even knowing that the standards exist, testers prefer to start from a blank sheet of paper when constructing their processes and templates. They may not be perfect but to start from a point above zero has to be better than no help at all?

I believe we need to embrace the standards more and take from them the information that is right for the project.

6. Test Process Measurement Models


There are many test process measurement models available for testers to review what they do against. For some very strange reason, a lot of test consultancies will build their own version, mainly for the creation of a sales opportunity, and not to help the customer. As a result, the models are woefully short of the real detail required to help improve processes.

There are many standard models out there, but in my opinion the most effective model available today is the new TMMi Model. It is a model that has been developed out of research (rather than commercial interest) and therefore provides a very independent and structured view.

It works along the same lines as CMMi, providing 5 levels of maturity to measure against and supporting key process areas.

Again as in the 5th point above, it may not be perfect but like standards it is there and has many hours of experience vested in it, so why do people still start from a blank sheet of paper when looking at their process, when a short cut is available?

Testing Interview questions

 1. Differentiate between QA and QC?

QA:
      It is process oriented
      It involve in entire process of software development.
      Prevention oriented.
QC:
     It is product oriented.
     Work to examine the quality of product.
     Deduction oriented.

2. What is a bug?
A computer bug is an error, flaw, mistake, failure, or fault in a computer program that prevents it from working correctly or produces an incorrect result.

3. What is a test case?
Test case is set of input values, execution preconditions, expected results and execution
Post conditions, developed for a particular objective or test conditions, such as to exercise a particular program path or to verify compliance with a specific requirement.

4. What is the purpose of test plan in your project?
Test plan document is prepared by the test lead, it contains the contents like introduction, objectives, test strategy, scope, test items, program modules user procedures, features to be tested features not to tested approach, pass or fail criteria, testing process, test deliverables,testing,tasks,responsibilities,resources,schedule,environmental requirements, risks & contingencies, change management procedures, plan approvals, etc all these things help a test manager understand the testing he should do & What he should follow for testing that particular project.

5. When the relationships occur between tester and developer?
Developer is the one who sends the application to the tester by doing all the necessary code in the application and sends the marshal id to the tester. The tester is the one who gives all the input/output and checks whether he is getting req. output or not. A developer is the one who works on inside interfacing where as the tester is the one who works on outside interfacing

6. When testing will starts in a project?
The testing is not getting started after the coding. After release the build the testers perform the smoke test. Smoke test is the first test which is done by the testing team. This is according to the testing team. But, before the releasing of a build the developers will perform the unit testing.

7. If a bug has high severity then usually that is treated as high priority, then why do priority given by test engineers/project managers and severity given by testers?
High severity bugs affects the end users ....testers tests an application with the users point of view, hence it is given as high severity. High priority is given to the bugs which affects the production. Project managers assign a high priority based on production point of view.

8. What is the difference between functional testing and regression testing
Functional testing is a testing process where we test the functionality/behavior of each functional component of the application...i.e. minimize button, transfer button, links etc. i.e we check what is each component doing in that application...
Regression testing is the testing the behavior of the application of the unchanged areas when there is a change in the build. i.e we check whether the changed requirement has altered the behavior of the unchanged areas. the impacted area may be the whole of the application or
Some part of the application...

10. Do u know about integration testing, how do u integrate diff modules?
Integration testing means testing an application to verify the data flows between the modules. For example, when you are testing a bank application, in account balance it shows the
100$ as the available balance. But in database it shows the 120$. Main thing is "integration done by the developers and integration testing done by the testers"

11. do u know about configuration management tool, what is the purpose of maintaining all the documents in configuration management tool?
It is focused primarily on maintaining the file changes in the history.
Documents are subjected to change for ex: consider the Test case document.
Initially you draft the Test cases document and place it in Version control tool(Visual Source Safe for ex).Then you send it for Peer Review .They will provide some comments and that document will be saved in VSS again. Similarly the document undergoes changes and all the changes history will be maintained in Version control.
It helps in referring to the previous version of a document.
Also one person can work on a document (by checking out) at a time.
Also it keeps track that has done the changes, time and date.
Generally all the Test Plan, Test cases, Automation design docs are placed in VSS.
Proper access rights needs to be given so that the documents don’t get deleted or modified.

12. How you test database and explain the procedure?
Database Testing is purely done based on the requirements. You may generalize a few features but they won't be complete. In general we look at
1. Data Correctness (Defaults)
2. Data Storage/Retrieval
3. Database Connectivity (across multiple platforms)
4. Database Indexing
5. Data Integrity
6. Data Security

13. Suppose if you press a link in yahoo shopping site in leads to some other company website? How to test if any problem in linking from one site to another site?
1) First i will check whether the mouse cursor is turning into hand icon or not?
2) I will check the link is highlighting when i place the cursor on the link or not?
3) The site is opening or not?
4) If the site is opening then i will check is it opening in another window or the same window that the link itself exits (to check user-friendliness of the link)
5) How fast that website is opening?
6) Is the correct site is opening according to the link?
7) All the items in the site are opening or not?
8) All other sub links are opening or not?

14. What are the contents of FRS?
F → Function Behaviors
R → Requirements (Outputs) of the System that is defined.
S → Specification (How, What, When, Where, and Way it behavior's.
FRS → Function Requirement Specification.

This is a Document which contains the Functional behavior
of the system or a feature. This document is also known as EBS External Behavior Specification - Document. Or EFS External Function Specification.

15. What is meant by Priority and severity?
Priority means "Importance of the defect w.r.t customer requirement"
Severity means "Seriousness of the defect w.r.t functionality"

16. What is meant by Priority and severity?
Severity: 
1. This is assigned by the Test Engineer
2. This is to say how badly the deviation that is occurring is affecting the other modules of the build or release.
Priority:
1. This is assigned by the Developer.
2. This is to say how soon the bug as to be fixed in the main code, so that it pass the basic requirement.
E.g., the code is to generate some values with some valid input conditions. The priority will be assigned so based on the following conditions:
a> It is not accepting any value
b> It is accepting value but output is in non-defined format (say Unicode Characters).
    A good example i used some Unicode characters to generate a left defined arrow, it displayed correctly but after saving changes it gave some address value from the
Stack of this server. For more information mail me i will let you know.

17. Give me some example for high severity and low priority defect?
If suppose the title of the particular concern is not spelled correctly, it would give a negative impact.eg ICICC is spelled as a title for the project of the concern ICICI. Then it is a high severity, low priority defect.

18. What is basis for test case review?
The main basis for the test case review is
1. Testing techniques oriented review
2. Requirements oriented review
3. Defects oriented review.

19. What are the contents of SRS documents?
Software requirements specifications and Functional requirements specifications.

20. What is difference between the Web application testing and Client Server testing?
Testing the application in intranet (without browser) is an example for client -server.(The company firewalls for the server are not open to outside world. Outside people cannot access the application.)So there will be limited number of people using that application.
Testing an application in internet (using browser) is called web testing. The application which is accessible by numerous numbers around the world (World Wide Web.)
So testing web application, apart from the above said two testing’s there are many other testing’s to be done depending on the type of web application we are testing.
If it is a secured application (like banking site- we go for security testing etc.)
If it is an ecommerce testing application we go for Usability etc. Testing’s.

21. Explain your web application architecture?
Web application is tested in 3 phases
1. Web tier testing --> browser compatibility
2. Middle tier testing --> functionality, security
3. Data base tier testing --> database integrity, contents

22.suppose the product/application has to deliver to client at 5.00PM,At that time you or your team member caught a high severity defect at 3PM.(Remember defect is high severity)But the client is cannot wait for long time. You should deliver the product at 5.00Pm exactly. Then what is the procedure you follow?

The bug is high severity only so we send the application to the client and find out the severity is priority or not. If its priority then we ask him to wait.
Here we found defects/bugs in the last minute of the delivery or release date
Then we have two options
1. Explain the situation to client and ask some more time to fix the bug.
2. If the client is not ready to give some time then analyze the impact of defect/bug and try to find workarounds for the defect and mention these issues   in the release notes as known issues or known limitations or known bugs.  Here the workaround means remedy process to be followed to overcome the defect effect.
3. Normally this known issues or known limitations (defects) will be fixed in next version or next release of the software

23. Give me examples for high priority and low severity defects?
Suppose in one banking application there is one module ATM Facility. In that ATM facility whenever we are depositing/withdrawing money it is not showing any conformation message but actually at the back end it is happening properly without any mistake means only missing of message. In this case as it is happening properly so there is nothing wrong with the application but as end user is not getting any conformation message so he/she will be confuse for this. So we can consider this issue as HIGH Priority but LOW Severity defects..

24. Explain about Bug life cycle?
1) Tester->
2) Open defect->
3) Send to developer
4) ->if accepted moves to step5 else sends the bug to tester gain
5) Fixed by developer ->
6) Regression testing->
7) No problem inbuilt and signoff
8) ->if problem in built reopen the issue send to step3

25. How can you report the defect using excel sheet?
To report the defect using excel sheet
Mention    :    The Feature that been effected.
Mention    :    Test Case ID (Which fail you can even mention any other which are              dependency on this bug)
Mention    :    Actual Behavior
Mention    :    Expected Behavior as mentioned in Test Case or EFS or EBS or SRS document                                                                                     with section
Mention    :    Your Test Setup used during Testing
Mention    :    Steps to Re-Produce the bug
Mention    :    Additional Info
Mention    :    Attach a Screen Shot if it is a GUI bug
Mention    :    Which other features it is blocking because of this bug that you are unable to
                     Execute the test cases.
Mention    :    How much time you took to execute that test case or follow that specific TC
                     Which leaded to bug?

26. If you have executed 100 test cases ,every test case passed but apart from these test case you found some defect for which test case is not prepared, then how you can report the bug?
While reporting this bug into bug tracking tool you will generate the test case I mean put the steps to reproduce the bug.

27. What is the difference between web based application and client server application
The basic difference between web based application & client server application is that the web application are 3 tiers & client based are 2 tiers. In web based changes are made at one place & it is reflected on other layers also whereas client based separate changes need be installed on client machine also.

28. What is test plan? And can you tell the test plan contents?
Test plan is a high level document which explains the test strategy, time lines and available resources in detail. Typically a test plan contains:
-Objective
-Test strategy
-Resources
-Entry criteria
-Exit criteria
-Use cases/Test cases
-Tasks
-Features to be tested and not tested
-Risks/Assumptions.

29. How many test cases can you write per a day, an average figure?
Complex test cases 4-7 per day
Medium test cases 10-15 per day
Normal test cases 20-30 per day

30. Who will prepare FRS (functional requirement documents)?
What is the important of FRS?
The Business Analyst will prepare the FRS.
Based on this we are going to prepare test cases.
It contains
1. Overview of the project
2. Page elements of the Application (Filed Names)
3. Proto type of the application
4. Business rules and Error States
5. Data Flow diagrams
6. Use cases contains Actor, Actions and System Response

31. How you can decide the number of test cases is enough for testing the given module?
The developed test cases are covered all the functionality of the application we can say test cases are enough. If u know the functionality covered or not u can use RTM (Requirement Traceability Matrix)
32. What is the difference between Retesting and Data Driven Testing?
Retesting: It is manual process in which application will be tested with entire new set of data.
Data Driven Testing(DDT)-It is a Automated testing process in which application is tested with multiple test data.DDT is very easy procedure than retesting because the tester should sit and need to give different new inputs manually from front end and it is very tedious and boring Procedure.

33. What is regression testing?
After the Bug fixed, testing the application whether the fixed bug is affecting remaining functionality of the application or not. Majorly in regression testing Bug fixed module and it's
Connected modules are checked for their integrity after bug fixation.

34. How do u test web application?
Web application testing
Web application should have the following features like
1. Attractive User Interface (logos, fonts, alignment)
2. High Usability options
3. Security features (if it has login feature)
4. Database (back end).
5. Performance (appearing speed of the application on client system)
6. Able to work on different Browser (Browser compatibility), O.S compatibility (technical led called as portability)
7. Broken link testing.........etc
So we need to follow out the following test strategy.
1. Functionality Testing
2. Performance Testing (Load, volume, Stress, Scalability)
3. Usability Testing
4. User Interface Testing (colors, fonts, alignments...)
5. Security Testing
6. Browser compatibility Testing (different versions and different browser)
7. Broken link and Navigation Testing
8. Database (backend) Testing (data integrity)
9. Portability testing (Multi O.s Support)....etc

35. How do you perform regression testing, means what test cases you select for regression?
Regression testing will be conducted after any bug fixed or any functionality changed.
During defect fixing procedure some part of coding may be changed or functionality may be manipulated. In this case the old test cases will be updated or completely re written
According to new features of the application where bug fixed area. Here possible areas are old test cases will be executed as usual or some new test cases will be added to existing test cases or some test cases may be deleted.

36. What are the client side scripting languages and server side scripting languages?
Client side scripting languages are
                    Java script, Vb Script, PHP...etc
Server side Scripting languages are
                    Perl, JSP, ASP, PHP...etc
Client side scripting languages are useful to validate the inputs or user actions from user side or client side.
Server side Scripting languages are to validate the inputs at server side.
These scripting languages provide security for the application. And also provides dynamic nature to web or client server application
Client side scripting is good because it won't send the unwanted input's to server for validation. From frontend itself it validated the user inputs and restricts the user activities and guides him

37. If a very low defect (user interface) is detected by u and the developer not comprising with that defect what will u do?
User interface defect is a high visibility defect and easy to reproduce.
Follow the below procedure
1. Reproduce the defect
2. Capture the defect screen shots
3. Document the proper inputs that you are used to get the    defect in the defect report
3. Send the defect report with screen shots, i/puts and procedure for defect reproduction.
Before going to this you must check your computer hard ware configuration that is same as developer system configuration. And also check the system graphic drivers are properly
Installed or not. If the problem in graphic drivers the User interface error will come.
So first check your side if it is correct from your side then report the defect by following the above method.

38. if u r only person in the office and client asked u for some changes and u did not get what the client asked for what will u do?
One thing here is very important. Nobody will ask test engineer to change software that is
not your duty, even if it is related to testing and anybody is not there try to listen carefully if you are not understand ask him again and inform to the corresponding people immediately.
Here the client need speedy service, we (our company) should not get any blame from customer side.

39. How to get top two salaries from employee tables
Select * from EMP e where 2>= (select count (*) from EMP e where sal>e.sal) order by desc sal.

40. How many Test-Cases can be written for the calculator having 0-9 buttons, Add, Equal to buttons? The test cases should be focused only on add-functionality but mot GUI. What are those test-cases?
Test-Cases for the calculator
so here we have 12 buttons totally 0,1,2,3,4,5,6,7,8,9,ADD,Equalto -12 buttons
here u can press at least 4 buttons at a time minimum for example   0+1= for zero u should press 'zero' labeled button for plus u should press '+' labeled button for one  u should press 'one'  labeled button for equal to u should press 'equal to'  labeled button 0+1=here + and = positions will not vary so first number position can be varied from 0 to 9 i.e from permutation and combinations u can fill that space in 10 ways in the same way second number position  can be varied from 0 to 9 i.e from permutation and combinations u can fill that space in 10 ways
Total number of possibilities are =10x10=100
This is exhaustive testing methodology and this is not possible in all cases.
In mathematics we have one policy that the function satisfies the starting and ending values of a range then it can satisfy for entire range of values from starting to ending.
then we check the starting conditions i.e one test case for '0+0=' (expected values you know that is '0') then another test case for '9+9='(expected values you know that is '18') only two test cases are enough to test the calculator functionality.

41. What is positive and negative testing explains with example?
Positive Testing - testing the system by giving the valid data.
Negative Testing - testing the system by giving the Invalid data.
For Ex, an application contains a textbox and as per the user's Requirements the textbox should accept only Strings. By providing only String as input data to the textbox & to check whether its working properly or not means it is Positive Testing. If giving the input other than String means it is negative Testing.

42. How will you prepare Test plan. What are the techniques involved in preparing the Test plan.
Test plan means planning for the release. This includes Project background
Test Objectives: Brief overview and description of the document
Test Scope: setting the boundaries
Features being tested (Functionalities)
Hardware requirements
Software requirements
Entrance Criteria (When to start testing):
       Test environment established, Builder received from developer, Test case prepared and reviewed.
Exit criteria (when to stop testing):
   All bug status cycle are closed, all functionalities are tested, and all high and medium bugs are resolved.
Project milestones: dead lines

43. What is the Defect Life Cycle?
Defect life cycle is also called as bug life cycle. It has 6stages namely
1. New: found new bug
2. Assigned: bug assigned to developer
3. Open: developer is fixing the bug
4. Fixed: developer has fixed the bug
5. Retest: tester retests the application
6. closed/reopened: if it is ok tester gives closed status else he reopens and sends back to developer.

44. Explain about metrics Management?
Metrics: is nothing but a measurement analysis. Measurement analysis and Improvement is one of the process areas in CMM I L2.

45. What is performance Testing and Regression Testing?
Performance Testing:-testing the present working condition of the product
Regression Testing:-Regression Testing is checking for the newly added functionality causing any errors in terms of functionality and the common functionality should be stable
In the latest and the previous versions

46. How do you review test case?? Type of Review...
Types of reviewing test cases depend upon company standards, viz..,
Peer review, team lead review, project manager review.
Sometimes client may also review the test cases reg what is approach following for project

47. In which way tester get Build a, Build B, Build Z of an application, just explain the process...
After preparation of test cases project manager will release software release note in that Document there will be URL path of the website link from that we will receive
The build In case of web server projects, you will be provided with an URL or a 92.168. ***. *** (Web address) which will help you access the project using a browser from your system.

In case of Client server, the build is placed in the VSS (Configuration tool) which will help you get the .exe downloaded to your computer.

48. Apart from bug reporting what is your involvement in project life cycle?
As a Test engineer we design test cases, prepare test cases Execute Test cases, track the bugs, analyze the results report the bugs. Involved in regression testing, performance of system testing system integration testing at last preparation of Test summary Report

49. Contents of test report
There are two documents, which should be prepared at particular phase.
1. Test Results document.
2. Test Report document.
Test Results doc will be prepared at the phase of each type of Testing like FULL FUNCTIONAL TEST PASS,REGRESSION TEST PASS, and SANITY TEST PASS etc...Test case execution against
The application. Once you prepared this doc, we will send the doc to our TL and PM. By seeing the Test Results doc , TL will come to know the coverage part of the test case. Here I Am giving you the contents used in the Test Results doc.

1. Build No
2. Version Name
3. Client OS
4. Feature set
5. Main Feature
6. Defined Test cases on each feature.
7. QA engineer Name
8. Test cases executed.(Includes pass and fail)
9. Test cases on HOLD (Includes blocking test cases and deferred Test cases)
10. Covereage Report (Which includes the coverage ratings in % ,like % of test cases covered,% of test cases failed)

Coming to Test report, generally we will prepare Test report, once we rolled out the product to our client. This document will be prepared by TL and delivered to the client. Mainly, this document describes the what we have done in the project, achievements we have reached, our
Learning’s in throughout the project etc...The other name for Test report is Project Closure Report and we will summarize the all the activities, which have taken place in throughout the project. Here I am giving you the contents covered in the Test Report.
1. Test Environment (Should be covered the OS, Application or web servers, Machine names, Database, etc...)
2.Test Methods(Types of Tests, we have done in the project like Functional Testing, Platform Testing, regression Testing, etc..
3. Major areas Covered.
4. Bug Tracking Details. (Includes inflow and outflow of the bus in our delivered project)
5. Work schedule (When we start the testing and we finished)
6. Defect Analysis
6.1 Defects logged in different types of tests like Functional Test, regression Test as per area wised.
6.2 State of the Defects at end of the Test cycle.
6.3 Root cause analysis for the bugs marked as NOT A BUG.
7. QA observations or learning’s through the life cycle.

50. Write high level test cases
Write all the test cases under high level TC, which can be covered the main functionalities like
Creation, edition, deletion, etc....as per prescribed in the screen.
Write all the test cases under low level TC, which can be covered the screen, like input fields are displayed as per the requirements, buttons are enabled or disabled, and test case for low priority functionalities.
Example a screen contains two edit boxes login and password and a post buttons OK and Reset and check box for the label "Remember my password". Now let us write high level TC
And low level test cases.

HIGH LEVEL TC
1. Verify that User is able to login with valid login and valid password.
2. Verify that User is not able to login with invalid login and valid password.
Etc...
..
3. Verify that Reset button clears the filled screen.
4. Verify that a pop up message is displayed for blank login.
Etc...
Etc...

LOW LEVEL TC
1. Verify that after launching the URL of the application below fields are displays in the screen.
1. Login Name 2.Password.3.OK BUTTON 4.RESET button etc.
5. Check box, provided for the label "remember my pwd" is unchecked.
2. Verify that OK button should be disabled before selecting login and password fields.
3. Verify that OK button should ne enabled after selecting login and password.
4. Verify that User is able to check the check box, provided for the label "remember my pwd".
Etc...
In this way, we can categorize all the test cases under HIGH LEVEL and LOW LEVEL.

51. What is test scenario?
Test scenario will be framed on basis of the requirement, which need to be checked. For that, we will frame set of test cases, in other terms, we can say all the conditions, which can be determined the testing coverage against business requirement.
Please see the below example, which is exactly matched to my explanation.
As we know all most all the application are having login screen, which contains login name and password. Here is the test scenario for login screen.
Scenario: USER'S LOGIN
Conditions to be checked to test the above scenario:
----------------------------------------------------
1. Test login field and Password field’s individually.
2. Try to login with valid login and valid password.
3. Try to login with invalid login and valid password etc.

52. What is build duration?
it is a tine gap between old version build and new version build  in new version build some new extra features are added

53. What is test deliverables?
Test deliverables are nothing but documents preparing after testing like test plan document  test case template bug report template Test deliverables will be delivered to the client not only for the completed  activities ,but also for the activities, which we are implementing for the better productivity.(As per the company's standards).Here I am giving you some of the Test deliverables in my project.
1. QA Test Plan
2. Test case Docs
3. QA Test plan, if we are using Automation.
4. Automation scripts
5. QA Coverage Matrix and defect matrix.
6. Traceability Matrix
7. Test Results doc
8. QA Schedule doc (describes the deadlines)
9. Test Report or Project Closure Report.(Prepared once we rolled out the project to client)
10. Weekly status report (sent by PM to the client)
11. Release Notes.

54.Wat is your involvement  in test plan
Test lead is involved in preparing test plan test engineers are no way related in preparing test plan role TE is test case design and execution and bug tracking and reporting them generally TL is involved in preparation of the Test Plan. But it is not mandatory only TL will take main part in the preparation of the TP. Test engineer can suggest to TL, if he(or) she has good understanding on project and resources, if he or she has more exp with the project, if TL is wrongly given deadlines. If your suggestions are valid,   TL will incorporate all of them to the Test Plan. But in most of the companies Test engineers are just audience.

55. Which test cases are not to be automated?
All the test cases which are related to a feature of the product, that keeps on changing (there are always some or the other enhancements in it). Frequent enhancements may change the UI, add/remove few controls. Hence such cases, if automated, would involve lot of a intendance

56. If a project is long term project, requirements are also changes then test plan will change or not? Why
Yes. Definitely. If requirement changes, the design documents, specifications (for that particular module which implements the requirements) will also change. Hence the test plan would also need to be updated. This is because "Resource Allocation" is one section in the test
Plan. We would need to write new test cases, review, and execute it. Hence resource allocation would have to be done accordingly. As a result the Test plan would change

57. Explain VSS
Virtual Source Safe:
After completion of all phases from development side developer store the code in development folder of VSS, Testing team copying code from that folder to testing folder, after completing above phages from testing, testers put the build in base line folder. It is version control Tool
Mainly useful to developer, to storing code and maintains version Copying a code from VSS By developer is called CHECK-IN Upload the code in to VSS is called CHECK-OUT.

58. Who will assign severity & priority?
The tester/dev should give the priority based on severity of the bug
Severity means: is the impact of the bug on the app. i.e seriousness of the bug in terms of the functionality.
Priority means: is how soon it should get fixed i.e importance of the bug in terms of customer

59. What is the Difference between Stub Testing and Driver Testing?
Stub testing:
In top down approach, a core module is developed. to test that core module, small dummy modules r used. so stubs r small dummy modules that test the core module.
Driver testing:
In bottom up approach, small modules r developed. to test them a dummy core module called driver is developed.

60. What is a "Good Tester"?
Is one who tries to break the developers software and in a position to venture the bugs. So that at least 80% bugs free software can deliver.

61. What is cookie And Session testing?
A small text file of information that certain Web sites attach to a user's hard drive while the user is browsing the Web site. A Cookie can contain information such as user ID, user preferences, archive shopping cart information, etc. Cookies can contain Personally Identifiable
Information. Session is a connection between a server and client.

62. How would u do performance testing manually for web site.
By noting the time to load  apge or perform any action with stop watch. I know it sounds funny but this is the way performance is tested manually.

63. What is use case? Tell me the attribute of use case?
“Use Case is description of functionality certain features of an application in terms of Actors, actions and responsibilities."
Use Case attributes are:
1.   Information of Document, 2. Description, 3. Objective, 4. Actors, 5.Pre-conditions, 6.Data-element descriptions, 7.post conditions, 8.primary flow, 9. Alternative flow and Business rules/interaction implementations and etc....

64. What is the difference between stress, volume and load testing?
Load Testing: we gradually increase the load and check the performance of the application. We check at what point or maximum load application can sustain.
Stress testing: In this testing v check the performance of application under extreme condition which rarely occurs like
(1) Many concurrent user access the application for short time.
(2) Extra ordinary long transaction.
(3) Very short transaction repeated quickly.

65. When will do the beta test? when will do the alpha test?
Alpha and Beta tests comes under User acceptance test. We will conduct these two system being released. We are giving opportunity to customer to check all functionalities covered or not.
Alpha testing conducting for software application by real customer at development site.
Beta testing conducting for software product by model customer at customer site.

66. How do you select test cases for Regression Testing (The point is when there is change code how do you come know which part of code or modules it will affect).
Consider an example of a form which has a username, password and Login button.
There is a code change and a new button "Reset" is introduced. Regression testing (for that build) will include testing only the "Login" button and not the Reset button (testing Reset button will be a part of cunation testing). Hence the Regression tester need not worry about the change in code, functionality. But he has to make sure that the existing functionality is working as desired. Testing of "Reset" button will be included as a part of Regression, for the next build

67. Can anyone explain the example of high severity and low priority, low severity and high priority, high severity and high priority, low severity and low priority
1. High severity and high priority - Database connectivity cannot be established by multiple users.
2. Low severity and low priority - Small issues like, incorrect number of decimal digits in the output.
3. Low severity and high priority - Images not updated.
4. High severity and low priority - In a module of say 2 interfaces, the link between them is broken or is not functioning.
(1)High priority & High Severity: If u clicks on explorer icon or any other icon then system crash.
(2) Low priority & low severity: In login window, spell of ok button is "Ko".
(3) Low priority & high severity: In login window, there is a restriction login name should be 8 characters if user enter 9 or than 9 in that case system get crash.
(4) High priority & low severity: Suppose logo of any brand company is not proper in their product. so it affects their business.

68. What will be the Test case for ATM Machine & Coffee Machine?
Test cases for ATM Machine
1. Successful in section of ATM card
2. Unsuccessful operation due to insert card in wrong angle
3. Unsuccessful operation due to invalid account ex: other bank card or time expired card
4. Successful entry of PIN number
5. Unsuccessful operation due to enter wrong PIN number 3times
6. Successful selection of language
7. Successful selection of account type
8. Unsuccessful operation due to invalid account type
9. Successful selection of withdrawl operation
10. Successful selection of amount to be withdrawl
11. Successful withdrawl operation
12. Unsuccessful withdrawl operation due to wrong denominations
13. Unsuccessful withdrawl operation due to amount is greater than day limit
14. Unsuccessful withdrawl operation due to lack of money in ATM
15. Unsuccessful withdrawl operation due to amount is greater than possible balance
16. Unsuccessful withdrawl operation due to transactions is greater than day limit
17. Unsuccessful withdrawl operation due to click cancel after insert card
18. Unsuccessful withdrawl operation due to click cancel after inserts card & pin number
19. Unsuccessful withdrawl operation due to click cancel after insert card, pin number & language
20. Unsuccessful withdrawl operation due to click cancel after insert card, pin number, language &account type
21. Unsuccessful withdrawl operation due to click cancel after insert card, pin number, language, account type & withdrawl operation
22. Unsuccessful withdrawl operation due to click cancel after insert card, pin number, language, account type, withdrawl operation &amount to be withdrawl

69. Tell me about your daily activities as a test engineer.
Role:
1. Understanding the BRS and Use cases Document
2. Giving system demo to PM, System analyst, designer, Dev lead.
3. Preparing the Test Actions in xls sheet.
4. Updating the Test Actions based on review comments by System analyst/Business Analyst.
5. Preparing the Test cases and Datasets (System level and global level datasets) in word document
6. Updating the Test Cases based on review comments by System analyst.
7. Installing the application-Testing environment set up.
8. Performing Functional, GUI, System, Compatibility testing (If necessary), Regression testing based on Test cases
9. Preparing the defect report, Bug tracking list and sending daily status report to PM, leads.

70. In sdlc process what is the role of PM, TL, DEVELOPER, tester in each and every phase? Please explain me in detail?
In the sdlc we have these phases
1. Initial phase
2. Analysis phase
3. Designing phase
4. Coding phase
5. Testing
6. Delivery and maintenance

    In the initial phase project manager can prepare a document for the requirements, team leader will prepare a team which is having  test engineers, developer will provided by the project manager, tester will prepare test cases for that particular project
   Analysis phase all the members have a meeting to finalize the technology to develop that project, the employee, time ,...
   Designing phase the project manager like senior level management will give the directions and source code to the team members to develop the actual code that is guidelines will be given in this phase
    Coding phase developer will develop the actual code using the source code and they release the application to the tester
    Testing phase they deploy their test cases to that application and prepare a bug profile document if there is any defect/bug in that application and send it back to developer, developer may rectify and releases the application as next build and if the bug not understand it will send to the project lead   in the delivery phase the Sr.Test engg can deploy the application in the client environment
     Maintenance phase if the client get any problem with the application it may solved by the project lead with the help of testers and developers

71. How do you Test Application with having any requirement and Document?
If it is an existing system or if a build is available then we explore the system while testing. This helps knowing the functional use of the system, and its usability.
By asking questions to end users and how they use it will be more beneficial. Also, you may work with BA to know more about the system.
Black box test is nothing but the same where you explore the system without having any prior knowledge to the system.

72. What is backend testing using SQL?
Executing SQL statements to check if the data submitted by a GUI program is updated in the database or not? Executing the statement the data base is connecting to those particular changes, updating or not it will test. Backend testing is the testing the integration between the application and the database. It is checking the changes made in the database are getting reflected in the application.
   Example: A new column is added in the table. Here we test by giving values in the application and value has to be stored in the table.

73. What are the reasons why parameterization is necessary when load testing the Web server and the database server?
When you test your applications, you may want to check how the application performs the same operations with multiple sets of data. For example, suppose you want to check how your Web site responds to ten separate sets of data. You could record ten separate tests, each with its own set of data. Alternatively, you can create Data Table parameters so that your test runs ten times, each time using a different set of data.

74. Difference between strategic test plan & test plan?
Strategic test is an organizational level term which is applied for all the projects in the organization with small customizations.
Test plan is project level term and which can be applied for that specific project only.
Test plan is a strategic document which describes how to perform testing in an efficient effective and optimized way. Quality lead test lead can prepare this test plan
  Strategic test plan is an already or new test plan which can be used in the future for another project also with some changes in the same organization.

75.Draw Backs of automated testing?
DRAW BACKS OF AUTOMATION
Expensive, lack of expertisation, all the areas we cannot automate

76. When will u make update and modify the test object properties in the repository?
Whenever the developer may change any one of the object properties definitely we have to change the same in the OR object repository. If new version net build released from the development department then the test engg must to modify or update the same is compulsory, otherwise the test will show the bug

77. What are the documents needed to create a test case? How u tell it is test case?
System requirements specification, Use case document, Test Plan

78. in customer details from having fields like customer name, customer address. After completion of this module, client raise the change as insert the two radio buttons after customer address. How you can check as a tester.
1. First we need to verify whether the radio button is there are not?
2. Confirm the radio buttons are present after the customer address or not.
3. Verify the no of radio button.
4. Verify only one radio button should be checked initially when we open the Customer details form (if it is mentioned in FRS)
5. Verify the functionality of the radio buttons i.e. if we check one ratio button, second radio button should be unchecked.
6. Verify the spell check of radio button label name.
7. Verify the alignment of radio buttons in the form.

79. at the time of testing web based applications and client server applications, what you observed as a tester?
We generally check for the links, data retrieving and posting.
We perform load and stress testing especially for Web based and Client-Server applications.

80. What are the documents required to prepare test plan?
Introduction, scope, test team and their responsibilities, test environment,  S/W&H/W requirements, test data preparation ,levels of testing, severity  & priority , schedule ,risk, automation plan, features to test, bug life cycle all these are documents of test plan.

81. What is testing policy and testing methodology? And what is the difference?
Testing policy means all types of testing or testing techniques (i.e. functional testing, sanity testing etc).Testing methodology means white box and black box testing.

82. What is comparison testing?
Comparison Testing means comparing your software with the better one or you’re Competitor.
While comparison Testing we basically compare the Performance of the software. For ex If you have to do Comparison Testing of PDF converter(Desktop Based Application) then you will compare your software with your Competitor on the basis of:-
1. Speed of Conversion PDF file into Word.
2. Quality of converted file.

83. What is the general testing process?
Testing Process:
1. Test requirements analysis
2. Creation of Test Strategy (Which includes creation of Test Cases)
3. Creation of Test Plans (Which includes Test Cases and Test Procedures)
4. Execution of test cases
5. Analyze the test results
6. Report the defects if any

84. What participation a manual tester can do in documentation? Are there any tools available for only documentation?
Yes, Manual tester will do Sub Test plan documents, as of my knowledge no tool is used to prepare documentation

85. What is the difference between low and high level test cases? Examples please.
High level Test cases are those which covers major functionality in the application (i.e. retrieve, update display, cancel (functionality related test cases), and database test cases).
Low level test cases are those which are related to UI related test cases.

86. is it mandatory to use USECASES or directly one can write test cases from requirements?
It’s not mandatory to write Use Cases, If the requirements are clear you can go ahead with Test Cases. Use Cases are written to know the business flow of the module/application.

87. How does u develop test harness?
Test Environment +Test Bed
Test Environment: S/w and H/w
Test Bed: Test Documents like Test Plan Document, Test Case Document.
Test Environment means
• Test Bed installation and configuration
• Network connectivity’s
• All the Software/ tools Installation and configuration
• Coordination with Vendors and others

88. Given n requirement collection doc, tester can prepare which test plan?
Test lead can prepare a test plan which performs testing on an application in an efficient effective and in an optimized way. Test development will do by the testers using the test plan in the test plan they prepare the test strategy (Test Strategy is a Document, developed by the Project manager, which contains what type of technique to follow and which module to test).

89. Tester with development knowledge will be more effective. Justify?
If tester has experience in Development, it will be useful when testing for logical thinking where the error occurs, what is the cause? He can guess the functionality of component? He can easily understand the application environment? Those are plus points which people have Development experience.
Precisely he can justify that either functionality is wrong or right and can analyze the defects

90. Last test case for project will be written in which phase?
As far as the SDLC is concerned last test case will be written for "Maintenance Phase"
As far as the STLC is concerned last test case will be written for "Acceptance Testing"

91. What is test scenario and test case? Please explain detail
Test Scenario:
Test scenario is like laying out plans for testing the product, environmental condition, number of team members required, making test plans, making test cases and what all features are to be tested for the product. Test scenario is very much dependent on the product to be tested.
Test scenario is made before the actual testing starts.
Test Case:
Test case is a document which provides the steps to be executed which has been planned earlier. It also depends on the type of product to be tested. Number of test cases is not fixed for any product.

92. What is the difference between Project Based Testing and Product Based Testing?
Project based is nothing but client requirements. Product based is nothing but market requirements. Ex. stretching shirt is a project based and readymade shirt is product based

93. What is testing process in related to Application testing?
Testing process is the one which tells you how the application should be tested in order to minimize the bugs in the application. One main thing no application can be released as bug free application which impossible.

94. What is the difference b/n Testing Methodology and Testing methods?
Testing Methodology define process, set of rules and principle which are follow by group concerned with testing the application. Here i explain 7 step testing methodology:
1. Test Requirement Analysis
2. Test Plan
3. Test Design
4. Test execute
5. Defect track
6. Test Automation
7. Test Maintain
Testing methods or we can say that Testing Techniques:
White Box Testing (Unit Testing, Integration Testing)
Black Box Testing (System Testing, Functional Testing, Performance Testing>Load testing>stress testing>volume testing & Security Testing) UAT (done by user/client with actual/live data)

95. What are starting link to test while website testing?
Web based systems are those using the internet, intranet and extranets Web based testing only needs be done once for any applications using the web. Web based testing are as follows:
1. Functional correctness
2. Integration
3. Usability
4. Security
5. Performance
6. Verification of code

96. How GUI testing will be done in manual testing for a website?
For any testing there should be some set of standards to be followed. Particularly in GUI testing, look and feel should be good. We should follow the requirements specification documents for GUI testing.
There should be some screen shots (given by client) which we should follow as it is.
And for button sizes, font, font size , colors  used, placing of links, objects and the placing of the objects in the page should be followed some standards. If we take a button in the page that should be some standard size. If the size of that button is more or less the client feel bad about that. So we should have minimum common sense while testing GUI testing. some time there may be some mistakes in the screen shots provided by the client also, but that is our responsibility to raise those issues.

97. What thing should be tested in regression testing?
While doing Regression Testing a tester must check that any new updating or Modification or Change in Functionality of a Particular Component or Module does not create any disorder and any negative effects on the functionality of the Application

98. What are the documents required to prepare during testing?
Normally Test engineers are responsible for any release of a project. Even the release is for staging environment or change request release or production release
The minimum documents are
1. Test Plan
2. Test Cases
3. Test Case Report
4. Bug report.
5. Release notes (which contains known issues).
6. Installation document.

99.What is Test data ?Where we are using this in testing process?
What is the importance of this data?
To execute test cases we should have test data. This test data should be for positive and negative testing. For win runner we can get this test data from keyboard, excel sheets or from data base

100. What is the difference between test case and test script?
Test case is a description what data to be tested and what data to be inserted what are the actions to be done to check actual result against expected result what are the actual inputs we will use? What are the expected results? is called test script
Test Script: Is a short program written in a programming language used to test part of the functionality of the software system. a written set of steps that should be performed manually can also be called a test script, However this is more correctly called a test case.

101. What is the difference between bug, error, and defect.
At the time of coding mistake error, when the mistake noticed by the tester defect, tester sends this defect to development team if the developer agrees then it is bug.

102. What is the difference between quality assurance and system testing explains in detail with an example?
Quality Assurance: It is nothing but building an adequate confidence in the customer that the developed software is according to requirements. Entire SDLC comes under QA. It is process oriented.
System Testing: It is the process of executing entire system i.e. checking the s/w as well as parts of system.

103. How do you decide when you have 'tested enough?'
When the 90% of requirements are covered, Maximum defects  are rectified except (some)low level defects are not covered , customer satisfy that project and time is less, then we are closing the testing.

104. What is the difference between Build Management and Release Management?
When will conduct build verification and end to end testing?
Build Management is managing the issue fixture tasks in the builds whereas Release management is managing the functionality to be incorporated in the Release.
Build Verification Test (BVT)is done when the build is first received by the testers. The basic functionality is checked with valid data. This is done to check whether the build is testable or not. This is done by testers.
End to End testing is also called system testing. Done by senior test engineers or Test lead.

105. What is boundary value analysis? What is the use of it?
Boundary value analysis is a technique for test data selection. Test engineer chooses the values that lie along the data extremes. It includes max, min, just inside, just outside, typical values and error values.
Boundary Value Analysis is a technique used for writing the test cases..For example: If a particular field accepts the
Values from 1 to 1000, then we test that field by entering only 1, 1000, 0, 1001, 999, 2.
i.e we check on the boundaries and then
Minimum-1, minimum +1 and maximum+1, maximum-1.

106. What is equivalence partition? What is the use of it?
Equivalence nothing but select the valid and valid classes example as per client requirement the edit box access only
3-5 capital alphabets then we divided in ecp like valid values only A-Z invalid values are a-z and special characters like ^,8<%

107. If there is no sufficient time for testing & u have to complete the testing then what will u do?
When I have less time to test the Product then I will take these following steps---
1)  Sanity or smoke testing
2)  Usability Testing
      3) Formal Functionality and GUI Testing
      4) Walk through with the Product

108. What is meaning by prototype in SDLC?
This is a cyclic version of the linear model. In this model, once the requirement analysis is done and the design for a prototype is made, the development process gets started. Once the prototype is created, it is given to the customer for evaluation. The customer tests the package and gives his/her feed back to the developer who refines the product according to the customer's exact expectation. After a finite number of iterations, the final software package is given to the customer. In this methodology, the software is devolved as a result of periodic shuttling of information between the customer and developer. This is the most popular development model in the contemporary IT industry. Most of the successful software products have been developed using this model - as it is very difficult (even for a whiz kid!) to comprehend all the requirements of a customer in one shot. There are many variations of this model skewed with respect to the project management styles of the companies.
New versions of a software product evolve as a result of prototyping.

109. What is difference between desktop and web application?
The biggest d/f b/w Desktop and web application is Desktop App (DA) is the machine independent, hence every change has only reflects at the machine level.   Where as Web App (WA) is the Internet dependent program, hence any change in the program reflects at every where, where it becomes use.
EX:  Suppose there are 5 machines in DA, 5 times installed individually at every machine and if there is any change made in DA then at every machine change has to be made.  In WA where the program or Application at the Server or at  the one common machine, then if changes made at only central or server or common machine all the changes get reflected at Every client machine.

110. Difference between application testing and product testing?
Product testing means when any company does testing for their own (company's) product ex... Norton Ant Virus is the Symantec's product; if Symantec test the Norton ie. Called
As the Product testing. Where as if any company take some projects from some other
Companies like ABC Company takes projects from IBM and test that project on some charges ie called as Application Testing.

111. What is a broken link in web testing and how test it.
When we clicked on Hyperlink if it opens Page can't be displayed then that Hyperlink is called as broken link