IT Interview questions on Testing

Silk test Interview questions

What is silk test?
Skill test is automation testing tool specifically designed for doing regression and functional testing. This tool designed by segue software Inc

What is silk test host?
Silk Test Host is one of the Silk Test components that manages and executes test scripts. Silk Test Host typically runs on a separate computer different than the computer where AUT (Application under Test) is running.

What is silk test Agent?
Silk test agent is one of the silk test components that interact with the GUI of your application. The Agent translates the commands in your 4Test scripts into GUI specific commands, driving and monitoring the application you are testing.
Silk test agent could run on same machine where host is running or on networked environments.

What are the different file types in silk test tool?
Test Plan (.pln): This is used to create a suite of tests when combined with test scripts.
Example: autotest.pln

Test script (.t): This file type used to write actual test scripts.
Example: Mytest.t (Automating notepad application)

Frame file (.inc): The abstraction layer used to define the windows and controls in application under test that will be further referenced in .t files.
Example :

Result file (.res): This file type contains test run results with the names of passed or failed tests along with a description of the failures. Can also contain log messages.

What is 4test?
4Test is a test scripting language used by Silk Test to compose test scripts to perform automated tests.

4Test programming language contains
1. Library of object oriented classes and methods to interact with application GUI objects.
2. Similar to other programming languages, 4test also has set of statements, operators and data types.

What are the different Testing processes in QTP?

QTP testing process consists of 6 main categories:
Create test plan 
Before automating there should be a detailed description of the test including the exact steps to follow, data to be input, and all items to be verified by the test. The verification information should include both data validations and existence or state verifications of objects in the application.

Recording a session on the application 
As you navigate through your application, Quick Test graphically displays each step you perform in the form of a collapsible icon-based test tree. A step is any user action that causes or makes a change in your site, such as clicking a link or image, or entering data in a form.

Enhancing test 
Inserting checkpoints into your test lets you search for a specific value of a page, object or text string, which helps you identify whether or not your application is functioning correctly. NOTE: Checkpoints can be added to a test as you record it or after the fact via the Active Screen. It is much easier and faster to add the checkpoints during the recording process. Broadening the scope of your test by replacing fixed values with parameters lets you check how your application performs the same operations with multiple sets of data. Adding logic and conditional statements to your test enables you to add sophisticated checks to your test.

Debugging test
if any changes were made to the script, you need to debug it to check that it operates smoothly and without interruption.

Running your test on a new version of your application
you run a test to check the behavior of your application. While running, Quick Test connects to your application and
performs each step in your test.

Analyzing the test results 
You examine the test results to pinpoint defects in your application.

Reporting defects 
As you encounter failures in the application when analyzing test results, you will create defect reports in Defect Reporting Tool.

QTP Interview Questions | Introduction

What is QTP?
QTP is one of the good automation tool which supports graphical interface record-playback. Quick Test enables you to test standard web and Windows applications.

What are the Features & Benefits of QTP?
• QTP should operate as standalone tool and integrated into Mercury Business Process Testing and Mercury Quality Center.
• Testing results could be automatically fed into a database that may provide useful statistics on how good the software testing is going.
• It provides Key word driven testing.
• QTP Identifies objects with Unique Smart Object Recognition, even if they change from build to build.
• By using QTP, Test execution time and cost will reduce.

What are the different scripting languages you could use when working with QTP?
Visual Basic (VB),XML,JavaScript,Java,HTML

What is the file extension of the code file & object repository file in QTP? 
Code files extension is.vbs.
Object repository file extension is.tsr

What is Object Spy in QTP? 
The Object Spy displays the selected object’s hierarchy tree, properties and values in the Properties tab of the Object Spy dialog box.
Using the Object Spy, you can view the properties of any object in an open application. You use the Object Spy pointer to point to an object.

What kinds of testing should be considered in the development of software application?

Black box testing: These tests are based on requirements and functionality. These tests are not based on any knowledge of internal design or code.
White box testing: This testing based on knowledge of the internal logic of an application’s code. Tests are based on coverage of code statements, branches, paths, conditions in code.

Unit Testing: Generally Unit testing done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. This test particular functions or code modules. Not always easily done unless the application has a well-designed architecture with tight code; may require developing test drive modules or test harnesses.

Incremental integration testing: this testing will be used when new functionality is added; requires that various aspects of an application’s functionality be independent enough to work separately before all parts of the program are completed, or that test drivers be developed as needed; done by programmers or by testers.
Integration testing: Testing of combined parts of an application to determine if they function together correctly. The ‘parts’ can be code modules, individual applications, client and server applications on a network, etc. This type of testing is especially relevant to client/server and distributed systems.

Functional testing: black-box type testing geared to functional requirements of an application; this type of testing should be done by testers. This doesn’t mean that the programmers shouldn’t check that their code works before releasing it (which of course applies to any stage of testing.)

Smoke Testing: typically an initial testing effort to determine if a new software version is performing well enough to accept it for a major testing effort. For example, if the new software is crashing systems every 5 minutes, bogging down systems to a crawl, or corrupting databases, the software may not be in a ‘sane’ enough condition to warrant further testing in its current state.

Regression Testing: Re-testing after fixes or modifications of the software or its environment. It can be difficult to determine how much re-testing is needed, especially near the end of the development cycle. Automated testing tools can be especially useful for this type of testing.

Acceptance Testing: Final testing based on specifications of the end-user or customer, or based on use by end-users/customers over some limited period of time.


Leave a Reply

Your email address will not be published. Required fields are marked *