Testing Basic Interview Questions

Syntax Testing in Software Testing with Example


Syntax Testing in Software Testing means it is widely used software testing term. It is done in White Box Testing by using some tools or by manually depending on the nature of the project. As you know Syntax Testing is used in White Box Testing so it is obviously done by developers.

Not in all the situations it can be done by developers, it can also be done by the testers if they are skilled testers mean white box testers.

As developers are doing this testing Therefore the developers should be responsible for running a syntax check before releasing their code to QA team.

In this testing, we test the syntax of the programming languages. As syntax of the every programming languages is almost different so criteria for doing Syntax Testing is also different on these programming languages.

Syntax Testing in Software Testing Example – php language

Below is given the example of Syntax Testing which clears what is syntax testing? And what things we have to check in this testing is also given below.

For example we are doing the Syntax Testing of php language than here we check whether the syntax is proper or not by checking the starting and ending tag syntax of php language. As you know starting tag of php is <?php and ending tag is ?> so in this case we check whether the starting tag (<?php) is OK or not and we also check whether the ending tag (?>) is also OK or not.

So this is the Syntax Testing of php language has done by developers and testers. And in the same way we can test the Syntax of Asp language also which is given below.

Syntax Testing Example – Asp language

In the above example you can see the Syntax Testing of php language now we move towards Asp means how to test the Syntax of the Asp language.

As you know Starting tag of Asp is <? and ending tag of Asp is ?> so here we can test whether the starting and ending tag Syntax of Asp is OK or not. So this is the Syntax Testing done by us on Asp language.

Note

Please note that Syntax of various languages are different so testing may vary accordingly to programming languages we used. And generally in this testing, we test whether the syntax is Ok or not like ?,.>< and so on, means all this syntax are in appropriate place or not. And according to me, Syntax Testing is usually done by the development team.

Conclusion

At last we conclude that this is all I know Syntax Testing in Software Testing with example, and if you know more than you can discuss with me in the below comments section. You can also give your suggestions for improving the post also.

Why Testing is Necessary – Give Reasons

Why Testing is Needed is asked by interviewer many times and on that time we just give the answer but not in proper way so interviewer get frustrated because they do not get the exact answer on Why do we need Testing?

Here I am trying to give you the exact answer on Why Testing is Essential and simply you like the post and learn a lot from it.

Why Software Testing is Necessary - Reasons

Below is given some reasons which clearly show Why Software Testing is Necessary and what things we have to consider in testing.

Testing is Essential because of the following reasons:

1. Testing is always needed for correctly understand the fault errors in software during its development phases.

2. It is necessary because it always ensures the users or customers satisfaction and reliability of the application.

3. It is needed in software development to increase the reliability and quality of the software.

4. Testing is needed to provide the various facilities to the users like delivery of high quality software or application, lower maintenance costs and more accurate and reliable results also.

5. Testing is necessary because of effective optimum performance of system and capacity utilization, software reliability, quality, and system or application assurance.

6. It is necessary because it is including in the project plan, and to stay in business.

7. It is needed to prove that software or application has no faults, because failures can be very expensive in nature.

8. Software Testing is needed to learn more about the reliability of the software and application.

Note

Software is likely to have faults so testing is needed to avoid these faults early as well as soon as possible.

Over to you

So this is all I understand about Why do we need Software Testing and now it’s your turn because if you know more points to show than you can definitely show your points in the below comments section and also you can give suggestions for further improving the post. 

Exact Difference between Positive and Negative Testing with Test Scenarios

Exact Difference between Positive and Negative Test is shown below and hope after seen these differences you do not have any queries left in your mind because I am writing the differences in tabular form so that you all can learns it easily and breaks the any sort of interview in software testing field you came across.

Positive and Negative Testing

Top Distinction between Positive and Negative Testing

    Positive Testing (Valid)
   Negative Testing (Invalid)
1. Positive Testing means testing the application or system by giving valid data.
1. Negative Testing means testing the application or system by giving invalid data.
2. In this testing tester always check for only valid set of values.
2. In this testing tester always check for only invalid set of values.
3. Positive Testing is done by keeping positive point of view for example checking the mobile number field by giving numbers only like 9999999999.
3. Negative Testing is done by keeping negative point of view for example checking the mobile number field by giving numbers and alphabets like 99999abcde.
4. It is always done to verify the known set of Test Conditions.
4. It is always done to break the project and product with unknown set of Test Conditions.
5. This Testing checks how the product and project behave by providing valid set of data.
5. This Testing covers those scenarios for which the product is not designed and coded by providing invalid set of data.
6. Main aim means purpose of this Testing is to prove that the project and product works as per the requirements and specifications.
6. Main aim means purpose of this Testing is try to break the application or system by providing invalid set of data.
7. This type of Testing always tries to prove that a given product and project always meets the requirements and specifications of a client and customer.
7. Negative Testing is that in which tester attempts to prove that the given product and project does, which is not said in the client and customer requirements.

Positive and Negative Test Scenarios with Example

Positive and Negative testing can be used in different set of scenarios, but below is given the scenario of login form on which these two types of testing are used.

For example you are doing the testing on login form which have following fields like Username field, Password field, and Sign In, Sign Up, Cancel, Login Button etc. Now you have to perform the positive and negative test scenarios on that, so your criteria for doing positive and negative testing are given below:

Now positive scenario of login form is that you enter the valid username and password in the username and password field, and then click on Login Button to check whether the user is able to login or not.

Negative scenario of login form is that you leave the password field blank and fill the username field, and then click on Login Button to check whether the user is able to login or not.

Your turn on Scenarios

Actually there are many scenarios on doing positive and negative test on login form, but I point out the main test of doing testing on login form. You can also give other positive and negative test scenarios on Login form, so waiting for your scenarios.

Gorilla Testing in Software Testing with Meaning

Gorilla Testing in Software Testing means it is used in Software Testing. Gorilla Testing is always confused with Monkey Testing but in reality it is different from Monkey and Random Testing. Here I am writing the post on Gorilla Testing with example so that your confusion on Gorilla Testing is clear by seen the best example on this testing.

Gorilla Testing is that in which tester and sometimes developer test one particular module heavily, means they test functionality of one particular module heavily.

Gorilla Testing is that which is always used to describe repetitive and boring (frustrating) Manual Testing process which a tester has already done a hundred times before. Due to this repetitive manual testing process Gorilla Testing is also known by the name Frustrating Testing.

Actually Gorilla Testing is used in Software Testing to check functionality of one particular module heavily. As you know Software Testing is a very wide concept so concept of Gorilla Testing is also wide in nature.

Gorilla Testing Meaning

Meaning of Gorilla Testing is very interesting which is given below and hope after seen the meaning you do not have any confusion in your mind regarding Gorilla Testing Meaning.

“Gorilla” means challenger so Gorilla Testing is very challenging testing because when you did the repetitive things mean testing the repetitive things again and again than it is the big challenge for you and sometime you get frustrated too by doing this process again and again.

Conclusion

At end we come in to the conclusion that Gorilla Testing is very challenging task and not every tester can do this challenging task.

Over to You

Now it’s over to you can you take the challenge for doing this frustrating Gorilla Testing Task? Your comments and feedbacks are always welcome, so that we can improve ourselves regarding what is Gorilla Testing in Software Testing?

Best Difference between Navigation Testing and Usability Testing

People are aware regarding Usability Testing, but they do not know about Navigation Testing. So here I am writing the Difference between Navigation Testing and Usability Testing both so that those who have confusion in their mind regarding the Navigation and Usability Testing can simply increase their knowledge by seen the difference on both these confusing terms.

             Navigation Testing
              Usability Testing
1. Navigation Testing is done to ensure that external and internal links are working properly.
1. Usability Testing is always done to ensure/verify that the GUI is well designed and easily used.
2. Navigation Testing is more users friendly and it provides ability to navigate from current page and it provides ability to navigate from current page to other pages directly.
2. Usability Testing is always done to verify how much the application is user friendly to an end user.
3. In Navigation Testing, tester use the visual hierarchies like color, position etc.
3. In Usability Testing tester always test whether the control flow of the application is convenient for end user or not.
4. Navigation allows user to control the interaction sequence of pages in the application.
4. In Usability Testing tester always test whether the interaction of functionality with the user is effective in nature or not.

Difference between Smoke and Regression Testing in Tabular Form

Distinction between Smoke and Regression Testing - Simple

              Smoke testing
               Regression testing
1. Smoke testing is a surface level testing to verify/ensure that build provided/given by development team to QA team is ready to accept for further testing.
1. Regression testing is not considered as a surface level testing and it is performed/ executed by testers only.
2. Smoke testing is known as a quick-and-dirty test means that the major/crucial functions of a piece of software work/perform without bothering with finer details.
2. Regression testing is not known by the quick-and-dirty test and in this testing testers test the application with more details.
3. It is executed/ performed when testers have to accept a build for further testing.
3. It is executed/performed when tester’s have enough time for testing.
4. Smoke testing may be conducted manually or by using automation tools.
4. Regression testing is also conducted manually or using automated tools.
5. Performing smoke testing will not enlarge the product cost and budget because it didn’t requires more manpower and time.
5. Performing Regression testing definitely will enlarge the product cost and budget because it requires more manpower and time.
6. It is also called as BAT (Build Acceptance Test) or BVT (Build Verification Testing).
6. It is not known by any other name.
7. It is done by developers before the build is released or by testers before accepting a build for further testing.
7. It is usually done by testers only.
8. We use script for smoke testing.
8. We use script for regression testing.


Exact Difference between Adhoc and Exploratory Testing

Difference between Adhoc and Exploratory Testing

           Adhoc Testing
            Exploratory Testing
1. Adhoc Testing means learn the application than test it.
1. Exploratory Testing means test the application while learning.
2. In Exploratory Testing QA is always asked to test an application without any specific set of documents.
2. In Adhoc Testing QA is always asked to test an application with detailed set of documents.
3. In this Testing we always gather information regarding the software/application from complete possible sources and document and then test the application/software.
3. In this Testing we gather the information, and also document and test the application simultaneously.
4. In Adhoc Testing tester should have good knowledge about the application in order to test the software.
4. In Exploratory Testing tester should increases their knowledge by exploring the application/software.
5. In this testing testers have significant testing of the software before test it.
5. In this testing testers may be learning the software before testing it.
6. It is not considered as a type of any.
6. It is considered as a type of Adhoc Testing
7. It is not an approach to testing.
7. It is an approach, not a technique.