Tricentis Tosca 16.0 Released on Feb-2023 ----- UFT has been upgraded from UFT 15.0.1 to UFT One 15.0.2, Beginning at November 2020.

Tuesday, 30 May 2017

How to search Emails received by today in your Inbox


Dim iTodayMails
iTodayMails = 0

'Open GMail
SystemUtil.Run "iexplore.exe""http://www.gmail.com"

'Page Sync
Browser("Gmail").Page("Gmail").Sync

'Login to Gmail
Browser("Gmail").Page("Gmail").WebEdit("UserName").Set "username"
Browser("Gmail_2").Page("Gmail_2").WebButton("Next").Click

Browser("Gmail").Page("Gmail").WebEdit("Password").Set "password"
Browser("Gmail_2").Page("Gmail").WebButton("Sign in").Click

'Page Sync
Browser("Inbox").Page("Inbox").Sync

'Search for emails received today in your inbox
'Logic - The mails received today will have only time in the last(8th) column.
'Time is always preceded by am or pm. So the code check for the last 2 characters and matches it with am or pm.

For iR = 1 to 50
        sLastColumnText = Browser("Inbox").Page("Inbox").Frame("Frame").WebTable("Emails").GetCellData(iR, 8)
        sLast2Characters = Right(sLastColumnText, 2)
        If sLast2Characters = "am" or sLast2Characters = "pm" Then
            iTodayMails = iTodayMails + 1
        Else
            'Exit For
        End If
Next

'Report the number of  mails received today
Reporter.ReportEvent micPass, "Total Emails Received Today - " & iTodayMails, ""

'Sign out from GMail
Browser("Inbox").Page("Inbox").Frame("Frame").Link("SignOut").Click
Browser("Gmail").Page("Gmail").Sync
'Close the browser
Browser("Gmail").Close()


Monday, 29 May 2017


How to get the collection of all TD (table data cells) elements of the table using HTML DOM in QTP?


Set tdtags =Browser(“Browser”).Page(“Page”).WebTable("mytable").Object.getElementsByTagName("TD")


How to get the collection of all TH (table header cells) elements of the table using HTML DOM in QTP?


set thtags = Browser(“Browser”).Page(“Page”).WebTable("mytable").Object.getElementsByTagName("TH")


How to get the value of attribute of any element using HTML DOM in QTP?

Set myobj = Browser(“Browser”).Page(“Page”).WebTable("mytable").Object
Print myobj.getAttribute("class"'This will print the value of class attribute of myobj - table 


How to get the collection of all table rows using HTML DOM in QTP?

Set tableObj =Browser(“abc”).Page(“mypage”).WebTable("mytable").Object
Set trtags = tableObj.getElementsByTagName("tr")

How to find the total number of rows in table Using HTML DOM in QTP?


print trtags.length


How to get the value inside table cell Using HTML DOM in QTP?

Set tdtags =Browser(“abc”).Page(“mypage”).WebTable("mytable").Object.getElementsByTagName("TD")
Print tdtags(0).innerText 'print the text displayed inside first td tag in table


Thursday, 25 May 2017

What is Optional step in QTP ? How you can add optional step in QTP?

 An optional step is a step that is not necessarily required to successfully complete a run session.
During a run session, if the object of an optional step does not exist in the application QTP  bypasses this step and continues to run the test
To set a step as optional in keyword view right click on the step and select Optional Step
Alternatively, you can directly write the keyword "OptionalStep" preceding a statement to make it optional

 Syntax

OptionalStep.StatementToMakeOptional

 Example

The following example uses the OptionalStep object to make the Paris selection from the Depart WebList an optional step.


OptionalStep.Browser("Mercury Tours").Page("Find Flights").
WebList("depart").Select "Paris"


Wednesday, 24 May 2017

How to create an array of dictionary in UFT?

Dim ArrayofDictionary(2)
First element of array

Set ArrayofDictionary(0)= createobject("scripting.dictionary")
ArrayofDictionary(0).Add "key1""temp1"
ArrayofDictionary(0).Add "key2""temp2"
Added keys in first dictionary

Second element of array as dictionary
Set ArrayofDictionary(1)= createobject("scripting.dictionary")
ArrayofDictionary(1).Add "key1""temp1"
ArrayofDictionary(1).Add "key2""temp2"
Added keys in second dictionary…..and so on
x

Explain how you can fetch data from database in UFT?

Set db= createobject (“ADODB.Connection”)
db.Open “Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\guru99\vb6\admission_project.mdb;
Persist Security Info= False
Set rst=createobject(“ADODB.Recordset”)
rst.Open “select*from Course”, db, 3
id=rst. RecordCount
For i=0 to id-1
Print rst.field (0) & rst.fields (1) & rst.fields (2) & rst.fields (3)
rst.Movenext
Next

Sending mail from outlook using UFT

Set Outlook = CreateObject ("Outlook.Application")


Dim Message 'As Outlook.MailItem


Set Message = Outlook.CreateItem(olMailItem)


With Message
.Subject = Subject
.HTMLBody = TextBody
.Recipients.Add (aTo)
Const olOriginator = 0
.Send
End With

Tuesday, 23 May 2017

Basic Automation Testing Questions and Answers

1) What is Automation?
General definition: Manual Process to mechanized process
Software Industry definition: Automation is a Microsoft technology that makes it possible to access software objects inside one application from other applications. These objects can be created and manipulated using a scripting or programming language such as VBScript or VC++. Automation enables you to control the functionality of an application programmatically.
2) What is Test Automation?
Automating Software Test process using Test Tools
3) What is Test Tool?
Test tool is software application it performs test operations based on user instructions.
4) What are the disadvantages of Manual Testing?
i) Huge Amount of Human Resources as well as Environment (Test lab)
ii) Time taking process
iii) Less Accuracy
iv) Tiredness
5) What are the advantages of Test Automation?
i) Fast: Tools are faster in execution than human users
ii) Reliable: Tools are reliable in complex calculations and tasks
iii) Reusable: we can reuse Automated Tests on multiple versions of Software (Ex: Sanity Tests, Regression Tests)
iv) Repeatable: we can repeat same operations with multiple sets of Test Data (Ex: Data driven Tests)
v) Programmable: we can use flow control statements for applying logic (Scope of Automated Tests is very high than Manual Test Cases)
vi) Comprehensive: we can execute series of Tests without human interaction (Ex: Batch Testing)
6) What are the drawbacks of Test Automation?
i) Test design requires lot of efforts
ii) 100% test automation impractical
iii) All types of testing not possible (Ex: Usability)
iv) Debugging issues
v) Tools may have their own defects
7) What is Vendor tool and give examples?
Companies develop tools, license is required to use and get technical support.
HP-WinRunner, QTP, LR, QC
IBM-Rational- Rational Robot, RFT, RPT, QA Director
Micro-SilkTest, Silk Performer
8) What is Open source Tool and give example?
Source code available on Internet anybody can download and use.
Ex: Selenium, Jmeter, Bugzilla, QAwebload etc…
9) What is In-house tool?
Some companies develop tools for their internal use.
Microsoft, Oracle Corporation and IBM developed so many tools for their internal use.
10) Give some examples for Functional & Regression Test Tools?
HP- QuickTest Professional (QTP)
IBM- Rational Functional Tester (RFT)
Micro Focus- Silk Test
Test Complete
Test Partner
Selenium (Open Source)
11) Give some examples for Performance Test Tools?
HP-LoadRunner
IBM-Rational Performance Tester (RPT)
Micro Focus- Silk Performer
JMeter (Open Source)
Etc..
12) Give some examples for Test management Tools?
HP- Quality Center / ALM
Jira
Rational QA Director
Etc..
13) Give some examples for Defect Management Tools?
Bugzilla,
Issue-Tracker,
PR-Tracker
Etc…
14) What is the deference between Automation tools and Management tools?
Automation tools interact with software applications, Test management tools don’t interact with software applications.
Test management tools only for documentation and generation reports where as Automation tools execute our software applications.
15)What is Functional Testing?
Testing based on an analysis of the specification of the functionality of a component or system.
16) What is Regression Testing?
Testing of a previously tested program following modification to ensure that defects have not been introduced or uncovered in unchanged areas of the software, as a result of the changes made. It is performed when the software or its environment is changed.
17) What are different coverages in Function Testing?
Verifying the Functionality (external behavior) of a component or System
i) Input Domain Coverage
Verifying weather the system is accepting valid inputs or not? And preventing invalid inputs or not
ii) Output Domain Coverage
Verifying weather the System is providing correct Outputs or not, based on input and process
iii) Database Testing
Verifying the data validations, data storage and data retrieval operations
iv) Error handling
Verifying how the system is handling user unathurized/invalid operations and providing error and help messages.
v) Order of functionalities
Verifying weather the System is providing correct order of functionalities or not
18) What are the important operations in Database Testing?
Data Integrity,
Data Manipulations,
Data Comparisons,
Data Retrieval,
Data back-up and recovery operations etc…
19) What is Functional and Regression Testing?
20) Who uses QTP Tool?
HP- QuickTest Professional is an Industry leading Functional & Regression Test tool and it supports advanced keyword driven test approach.
Automatio Testers and End users use QTP Tool
21) What type of Scenarios can be automated?Tests that we have to execute on every build (Sanity Tests)
Tests that we have to execute on every modified build (Regression Tests)
Tests that we have to execute with multiple sets of test data (Data driven Tests)
22) What type of Scenarios can’t be automated?
Tests that require human user observation
Tests that requires one time execution



23) How to perform Cross platform testing and Cross browser testing using QTP? Can u explain giving some example?
You will need to create separate Actions which take care of different OS and Browsers
Cross Platform Testing:

Using the Built in Environment Variable you can dig up the OS information.

Eg. Platform = Environment("OS"). Then based on the Platform you need to call the actions which you recorded on that particular platform.

Cross Browser Testing:

Using this code  Eg. Browser("Core Values").GetROProperty("version") you can extract the Browser and its correspondin version. Ex: Internet Explorer 6 or Netscape 5. Based on this value you call the actions which are relevant to that browser.
24)Can we record an application running on a remote machine using QTP ?
Yes .you can record remote application provided you are accessing application through the local browser not via remoter like citrix.
If you are still unable to record it is advisable install QTP and application, on the same machine
25) Explain the keyword CreateObject with an example.
Creates and returns a reference to an Automation object
SYNTAX: CreateObject(servername.typename [, location])
Arguments
servername: Required. The name of the application providing the object.
typename :  Required. The type or class of the object to create.
location :  Optional. The name of the network server where the object is to be created.
Example : Set IE = CreateObject("InternetExplorer.Application")
26) Can you switch between Per-Action and Shared Object Repository ? If yes how ?
Yes .We can switch. Go to Test--->Settings--->Resources. Here  you have an option to choose repositories. 
27) When ordinal identifiers alone can make an object unique then why they are not given top priority? Why it is first mandatory and next assistive. Why we cannot go for ordinal identifiers directly?
Consider the following -
a) If two objects are overlapped on each other than location based object recognition will fail.
b) If only index based recognition is used your script will work but script execution time will increase.

Hence mandatory and assistive properties are used.
28) What is Step Generator?
Step Generator enables use to Add Test Steps in your script. Using step generator you can add steps to your script without actually recording it.
29) How to make QTP understand the difference amongst the  same type of objects .Suppose there are 5 check boxes in a page and I have to choose the 2nd one, how to do that through script?
You can use ordinal identifiers like index along with a little descriptive programming for object recognition.
Watch a video of this example.
30) What is Test Fusion Report ?.
Test Fusion Report , displays all aspects of a test run and is organized in a Tree format.
It gives details of each step executed for all iterations.
It also gives Run-time data table, Screen shots and movie of the test run if opted.
31) How can you handle exceptions in QTP?
In QTP Exceptional handling is done by using
a. Recovery Scenarios.
b. Using “On Error” statement
In Recovery scenario you have to define.
1. Triggered Events.
2. Recovery steps.
3. Post Recovery Test-Run.
At Script Level you can use the On Error Resume Next and On Error Go to 0 statement.
32) What is a Run-Time Data Table? Where can I find and view this table?
Data like parameterized output , checkpoint values , output values  are stored in the Run-time Table. It is an xls file which is stored in the Test Results Folder.  It can also be accessed in the Test Fusion Report.
33) What is the standard timing delay for web based application in QTP ?
The standard delay is 60 seconds. This is can be changed in Test Settigns.
34) What are the ways in UFT to get system environment variables in UFT?
There are three ways to get system environment variables in UFT
Use the WSH shell object
  • Use WMI’s Win32_Environment Class
  • Read variables from the registry
Set myShell = CreateObject (“WScript.Shell”)

WScript.Echo myShell.ExpandEnvironmentStrings( "%PATHEXT%" )

myShell=Nothing,
The output will be .BAT;.CMD;.VBS;. VBE;. JS;. JSE
Other user variable, like TEMP, overwrite their system counterpart
Set myShell = CreateObject( "WScript.Shell" )

WScript.Echo myShell.ExpandEnvironmentStrings( "TEMP=%TEMP%" )

myShell=Nothing
The output will be TEMP:C:\DOCUME~1\You\LOCALS~1\Temp
35) In UFT how you can prevent the system from getting locked?
To prevent system getting locked, any of the two ways can be used
  • Create a simple vbs file having code to press numlock key and run that vbs file
  • Edit one registry key “DisableLockWorkstation =1” to disable locking
36) Give the syntax to import/export xls into QTP.
 DataTable.ImportSheet "..\..\TestData\Input.xls",1,dtGlobalSheet

DataTable.ExportSheet "..\..\Results\Output.xls","Global"
37) Explain how you can fetch data from database in UFT?
Set db= createobject (“ADODB.Connection”)
db.Open 
“Provider=Microsoft.Jet.OLEDB.4.0;Data Source=G:\Raju\vb6\admission_project.mdb;
Persist Security Info= False

Set rst=createobject(“ADODB.Recordset”)
rst.Open “select*from Course”, db, 3
id=rst. RecordCount

For i=0 to id-1
Print rst.field (0) & rst.fields (1) & rst.fields (2) & rst.fields (3)
rst.Movenext
Next
38) Explain in what ways we can export datatable to excel in UFT?
To export data-table to excel, there are two methods.
a)      DataTable.Export (“C:\export.xls”)
b)      DataTable.ExportSheet “C:\mysheet.xls”   ( If excel file does not exist, new file is created)
39) In datatable sheet in UFT, how to read a value from the cell?
To read a value from the cell, we follow 2 step process
a)      We set the row pointer in first step
b)      In second step we define the parameter/column name from the sheet to read
Example:
For this example, we have set the row pointer to 2 in transaction sheet
Datatable.GetSheet(“Transactions”).SetCurrentRow(2)
Now, we have to specify that we want to read a value from the module_name column from the transaction sheet
   Print datatable.Value (“Module_Name, “Transactions”)
40) What are the types of error need to be handle in UFT?
There are three types of error that one will face in UFT
a)      Syntax Errors
b)      Logical Errors
c)       Runtime Errors
41) What are the ways you can handle run time errors?
There are various ways to handle run time errors
a) Using test settings
b) Using on error statement
c) Using err Object
d) Using Exit Statement
e) Recovery Scenarios
f)  Report Object
42) How to add synchronisation points in QTP?
There are 4 ways through which we can add synchronisation points in QTP
a) Wait statement :  This statement will pause the execution for x seconds until object comes up
b) Wait property : This method will wait until property of object takes particular value
c) Exist statement : This statement will wait until object becomes available
d) Sync method: The code will wait until browser page is completely loaded. For web application testing this method is used.
43) In QTP explain what is crypt object
Crypt object in QTP is used to encrypt a strings.
Syntax
Crypt.Encrypt(“Razu”)
Example :
In this example, value in pwd variable is encrypted using the Crypt. Encrypt method.
Then this encrypted value is entered into editbox.
 pwd= “myvalue”
pwd = Crypt.Encrypt (pwd)
Browser(“myb”).WinEdit (“pwd”). SetSecure pwd
44) How to define array in QTP?
Array can be defined in 3 ways in QTP
a) Fixed size array in QTP
Dim A (10) - single dimension
Dim MyTable (5,10) – multi-dimension

b) Dynamic array-size not fixed
Dim MyArray()ReDim MyArray(25)

c) Using Array Function in QTP
A= Array (10, 20,30)
B= A(2) ‘ B is now 30
45) When ‘option explicit’ keyword is used in QTP?
To specify that all variable must be declared before use in QTP,  ‘Option Explicit’ keyword is used.
46) In QTP how you can exit for loop?
You must use “Exit For” statement to exit “for loop” in QTP. “Exit For” statement will get the control out of the “for loop”
For count= 1 to 3
      TempNum= mid(Tempstr,count,1)
      If isnumeric(TempNum) Then
          LenghtNum = LengthNum & TempNum
      Else
      Exit For
      End If
Next
GetStrLenNumber = LengthNum
47) What is the significance of “action 0” in QTP?
“Action 0” is created by default when you create a new test in QTP along with action 1.  To determine the sequence in which we call other actions 1,2,3 etc. action 0 is used.
48) How you can check if parameter exists in Datatable?
To check whether if parameter exists in data table we will use the code
on error resume next
val=DataTable(“ParamName”, dtGlobalSheet)
if err.number<>0 then
     ‘Parameter does not exist’
else
      ‘Parameter exists
end if
49) In QTP how you can use Xpath to identify objects?
Xpath can be used to identify only web objects. We can use the following code to identify objects.
Set oPage=Browser(“myGoogle”).Page(“myGoogle”)
oPage.WebEdit(“xpath:=//INPUT[@name=‘nameofeditbox’]”).Set “search term”
‘Enter value in google edit box
50) Explain how you can delete excel file in QTP? 
To delete excel file in QTP, 
Set fo = createobject(“Scripting.filesystemobject”)
fo.deletefile(“C:\xyz.xlsx”)
Set fo=nothing

Basic Manual Testing Interview Questions and Answers

Q. What is Sanity Test (or) Build test?
Ans. Verifying the critical (important) functionality of the software on new build to decide whether to carry further testing or not.
Q. What is the difference between client-server testing and web based testing
Ans.
CLIENT / SERVER TESTING
This type of testing usually done for 2 tier applications (usually developed for LAN)
Here we will be having front-end and backend.
WEB TESTING
This is done for 3 tier applications (developed for Internet / intranet / xtranet)
Here we will be having Browser, web server and DB server.
Q. What is Dynamic Testing?
Ans. It is the testing done by executing the code or program with various input values and output is verified.
Q. What is GUI Testing?
Ans. GUI or Graphical user interface testing is the process of testing software user interface against the provided requirements/mockups/HTML designs.
Q. What is Formal Testing?
Ans. Software verification carried out by following test plan, testing procedures and proper documentation with an approval from customer
Q. What is Risk Based Testing?
Ans. Identifying the critical functionality in the system then deciding the orders in which these functionality to be tested and applying testing.
Q. What is Early Testing?
Ans. Conducting testing as soon as possible in development life cycle to find defects at early stages of SDLC.
Early testing is helpful to reduce the cost of fixing defects at later stages of STLC.
Q. What is Exhaustive Testing?
Ans. Testing functionality with all valid, invalid inputs and preconditions is called exhaustive testing.
Q. What is Defect Clustering?
Ans. Any small module or functionality may contain more number of defects – concentrate more testing on these functionality.
Q. What is Pesticide Paradox?
Ans. If prepared test cases are not finding defects, add/revise test cases to find more defects.
Q. What is Static Testing?
Ans. Manual verification of the code without executing the program is called as static testing. In this process issues are identified in code by checking code, requirement and design documents.
Q. What is Positive Testing?
Ans. Testing conducted on the application to determine if system works. Basically known as “test to pass” approach.
Q. What is Negative Testing?
Ans. Testing Software with negative approach to check if system is not “showing error when not supposed to” and “not showing error when supposed to”.
Q. What is End-to-End Testing?
Ans. Testing the overall functionality of the system including the data integration among all the modules is called end to end testing.
Q. What is Exploratory Testing?
Ans. Exploring the application, understanding the functionality, adding (or) modifying existing test cases for better testing is called exploratory testing.
Q. What is Monkey Testing
Ans. Testing conducted on a application without any plan and carried out with tests here and there to find any system crash with an intention of finding tricky defects is called monkey testing.
Q. What is Non-functionality Testing?
Ans. Validating various non functional aspects of the system such as user interfaces, user friendliness security, compatibility, Load, Stress and Performance etc is called non functional testing.
Q. What is Usability Testing?
Ans. Checking how easily the end users are able to understand and operate the application is called Usability Testing.
Q. What is Security Testing
Ans. Validating whether all security conditions are properly implemented in the software (or) not is called security testing.
Q. What is Performance Testing?
Ans. Process of measuring various efficiency characteristics of a system such as response time, through put, load stress transactions per minutes transaction mix.
Q. What is Load Testing?
Ans. Analyzing functional and performance behavior of the application under various conditions is called Load Testing.
Q. What is Stress Testing?
Ans. Checking the application behavior under stress conditions
(or)
Reducing the system resources and keeping the load as constant checking how does the application is behaving is called stress testing.
Q. What is Process?
Ans. A process is set of a practices performed to achieve a give purpose; it may include tools, methods, materials and or people.
Q. What is Software Configuration Management?
Ans. The process of identifying, Organizing and controlling changes to software development and maintenance.
(or)
A methodology to control and manage a software development project
Q. What is Testing Process / Life Cycle?
Ans. Write Test Plan
Test Scenarios
Test Cases
Executing Test Cases
Test Results
Defect Reporting
Defect Tracking
Defect Closing
Test Release
Q. What is full form of CMMI?
Ans. Capability Maturity Model Integration
Q. What is Code Walk Through?
Ans. Informal analysis of the program source code to find defects and verify coding techniques.
Q. What is Unit Level Testing?
Ans. Testing of single programs, modules or unit of code.
Q. What is Integration Level Testing?
Ans. Testing of related programs, Modules (or) Unit of code.
(or)
Partitions of the system ready for testing with other partitions of the system.
Q. What is System Level Testing?
Ans. Testing of entire computer system across all modules. This kind of testing can include functional and structural testing.
Q. What is Alpha Testing?
Ans. Testing of whole computer system before rolling out to the UAT.
Q. What is User Acceptance Testing (UAT)?
Ans. Testing of computer system by client to verify if it adhered to the provided requirements.
Q. What is Test Plan?
Ans. A document describing the scope, approach, resources, and schedule of testing activities. It identifies test items, features to be tested, testing tasks, who will do each task, and any risks requiring contingency planning.
Q. What is Test Scenario?
Ans. Identify all the possible areas to be tested (or) what to be tested.
Q. What is ECP (Equivalence Class Partition)?
Ans. It is method for deriving test cases.
Q. What is a Defect?
Ans. Any flaw imperfection in a software work product.
(or)
Expected result is not matching with the application actual result.
Q. What is Severity?
Ans. It defines the important of defect with respect to functional point of view i.e. how critical is defect with respective to the application.
Q. What is Priority?
Ans. It indicates the importance or urgency of fixing a defect
Q. What is Re-Testing?
Ans. Retesting the application to verify whether defects have been fixed or not.
Q. What is Regression Testing?
Ans. Verifying existing functional and non functional area after making changes to the part of the software or addition of new features.
Q. What is Recovery Testing?
Ans. Checking if the system is able to handle some unexpected unpredictable situations is called recovery testing.
Q. What is Globalization Testing?
Ans. Process of verifying software whether it can be run independent of its geographical and cultural environment. Checking if the application is having features of setting and changing language, date, format and currency if it is designed for global users.
Q. What is Localization Testing?
Ans. Verifying of globalized application for a particular locality of users, cultural and geographical conditions.
Q. What is Installation Testing?
Ans. Checking if we are able to install the software successfully (or) not as per the guidelines given in installation document is called installation testing.
Q. What is Un-installation Testing?
Ans. Checking if we are able to uninstall the software from the system successfully (or) not is called Uninstallation Testing
Q. What is Compatibility Testing?
Ans. Checking if the application is compatible to different software and hardware environment or not is called compatibility testing.
Q. What is Test Strategy?
Ans. It is a part of test plan describing how testing is carried out for the project and what testing types needs to be performed on the application.
Q. What is Test Case?
Ans. A Test case is a set of preconditions steps to be followed with input data and expected behavior to validate a functionality of a system.
Q. What is Business Validation Test Case?
Ans. A test case is prepared to check business condition or business requirement is called business validation test case.
Q. What is a Good Test Case?
Ans. A Test case that have high priority of catching defects in called a good test case.
Q. What is Use Case Testing?
Ans. Validating a software to confirm whether it is developed as per the use cases or not is called use case testing.
Q. What is Defect Age?
Ans. The time gap between date of detection & date of closure of a defect.
Q. What is Showstopper Defect?
Ans. A defect which is not permitting to continue further testing is called Showstopper Defect
Q. What is Test Closure?
Ans. It is the last phase of the STLC, where the management prepares various test summary reports that explains the complete statistics of the project based on the testing carried out.
Q. What is Bucket Testing?
Ans. Bucket testing is also know as A/B testing. It is mostly used to study the impact of the various product designs in website metrics. Two simultaneous versions are run on a single or set of web pages to measure the difference in click rates, interface and traffic.
Q. What is Entry Criteria and Exit Criteria Software Testing?
Ans. The Entry Criteria is the process that must be present when a system begins, like,
SRS – Software
FRS
Use Case
Test Case
Test Plan
The Exit criteria ensures whether testing is completed and the application is ready for release, like,
Test Summary Report,
Metrics
Defect Analysis Report.
Q. What is Concurrency Testing?
Ans. This is a multiple user testing to access the application at the same time to verify effect on code, module or DB. mainly used to identify locking and deadlocking situations in the code.
Q. What is Web Application Testing?
Ans. Web application testing is done on a website to check – load, performance, security, Functionality, Interface, Compatibility and other usability related issues.
Q. What is Unit Testing?
Ans. Unit testing is done to check whether the individual modules of the source code are working properly or not.
Q. What is Interface Testing
Ans. Interface testing is done to check whether the individual modules are communicating properly as per specifications. Interface testing is mostly used to test the user interface of GUI applications.
Q. What is Gamma Testing
Ans. Gamma testing is done when the software is ready for release with specified requirements, this testing is done directly by skipping all the in-house testing activities.
Q. What is Test Harness?
Ans. Test Harness is configuring a set of tools and test data to test an application in various conditions, which involves monitoring the output with expected output for correctness.
The benefits of Testing Harness are: Productivity increase due to process automation and increase in product quality
Q. What is Scalability Testing?
Ans. It is used to check whether the functionality and performance of a system, whether system is capable to meet the volume and size changes as per the requirements
Scalability testing is done using load test by changing various software, hardware configurations and testing environment.
Q. What is Fuzz Testing?Ans. Fuzz testing is a black box testing technique which uses a random bad data to attack a program to check if anything breaks in the application.
Q. What is Difference between QA, QC and testing?
Ans. QA?
It is process oriented
Aim is to prevent defects in an application QC?
Set of activities used to evaluate a developed work product
It is product oriented
Testing?
Executing and verifying application with the intention of finding defects
Q. What is Date Driven Testing?
Ans. It is Automation testing process in which application is tested with multiple set of data with different preconditions as an input to the script.