Sie sind auf Seite 1von 7

How to estimate a test automation project from scratcho or What is the base for estimating test

automation projectso

This is completely based on the function point you have identified in the AUT. Depends upon
the factors such as:

1. AUT what is the scripting tags used like if a application is XML then which is the best tool
we select. for web based testing example.

Secondly it depends upon user interface, screens how many pages need to be automated
whether all dropdown values for ex cant be handled.

Also, special requirements like error handling mechanism of a site like a proxy pop-up menu
at run time coming up , so need some tool to handle it.

and there are so many other factors that form the part of automation strategy...but then the
tedious job is to plan the number of test cases, ie automation candidates... hope i answered
ur question.... Estimation what u said depends upon whether or not it is feasible to deploy the
tool in ur project.../there are many cost factors as well.

What are principles of good testing scripts for automationo

1. Proper code guiding standards


2. Standard format for defining functions, exception handler etc
3. Comments for functions
4. Proper error handling mechanisms
5. The appropriate synchronization techniques

1) Proper framework developed to built scripts


2) maintain coding standard
3) provide comments for each and every step
4) proper exception handling techniques

What could go wrong with test automationo

During the Planning Phase ignoring automation, during the Design Phase not choosing the
right technology and during the Coding Phase not automating the right test cases.

Due to incomplete test cases to automate, not selecting the right tool, incomplete resources,
do not have proper test plan

Describe some problem that you had with automating testing toolo

1
1. The inability of win runner to identify the third party control like in flagstick controls
2. The change of the location of the table object will cause object not found error.
3. The inability of the win runner to execute the script against multiple languages

1) System should keep in idol condition while script is running


2) Debugging of script is very difficult when there are any changes in the environment
3) Testing playback and record becomes very difficult when there is a minor change in GU
4) Maintain of test data files is very difficult when there more number of screens

What are the limitations of automating software testingo

Hard-to-create environments likeo out of memoryo, oinvalid input/replyo, and ocorrupt


registry entrieso make applications behave poorly and existing automated tools can’t force
these condition - they simply test your application in onormalo Environment and ignore the
boundary conditions where many defects live. These tools are typically expensive and good for
only one kind of testing: reliability, functionality, load/stress, etc. Many of them require that
you have access to the source code or work inocleano Environments. Further, when you test
your application with conventional automated tools, there is a drain on the entire system
because they are limited to testing the application _as part of_ an existing/overall system.

The problem of "cannot reproduce" is still prevalent with most automated test tools.

What types of scripting techniques for test automation do you knowo

5 types of scripting techniques:

* Linear
* Structured
* Shared
* Data Driven
* Key Driven

What are the major differences between stress testing, load testing, Volume testingo

Load Test is the testing an application under heavy loads.

Stress Testing is used to describe the tests as system functional testing under unusual heavy
loads, heavy inputs, and complex queries to a database system.

Volume testing is the test where the system is subjected to large volumes of data. It can be
used in component testing. This would be correlated with the code.

2
Load Testing and Stress Testing - both the terms are interchangeable. Where as Volume
Testing comes under Stress testing.

Stress Testing - In stress testing we remove the resources one by one and check how the
system is reacting. This is basically done to check how effectively system can be recovered.

What is the difference between GUI checkpoint and synchronizationo

The common problems are:


1. Maintenance of the old script when there is a feature change or enhancement
2. The use of the script when we migrate the application from old version to new version
3. The change in technology of the application will affect the old scripts

Describe common problems of test automationo

The common problems are:


1. Maintenance of the old script when there is a feature change or enhancement
2. The use of the script when we migrate the application from old version to new version
3. The change in technology of the application will affect the old scripts

What testing activities you may want to automate in a projecto

1. Sanity tests (which is repeated on every build)

2. Stress/Load tests (U simulate a large no of users, which is manually impossible) &

3. Regression tests (which are done after every code change)

Give me an example where you have customized an automated test script.

We customize the automated script by inserting checkpoints, sometimes like in data driven
tests we record our operations one time and later we enclosed in a loop. so that we can
automate our data driven tests. data driven test is one example where u can customize ur
automated test script

FYI data driven test is nothing but retesting the same test with multiple input data

What are the main attributes of test automationo

Maintainability, Reliability, Flexibility, Efficiency, Portability, Robustness, and Usability - these


are the main attributes in test automation.

Can the activities of test case design be automatedo

,this can be done either developing some program that facilitate the user entering his test
cases in the form of Gui based application from user end and stored its data in form of excel

3
sheet in the backend. Later by doing manual or through automation testing get updated.
Example : Linking excel file by developing GUI based entery form using C/C++ or Data base
package. It can save time as well as improve accuracy in writing test case.

What Naming Convention have you followed while naming your Automated Test Scripts

Test Script Naming


Whenever a test script is saved , it has to be given a proper name .
Test type + Project Name + Version Number + Module name + Test script Function .
For example:
Test type = UAT
Project Name = MHE
Version of the Project = 3.2
Module Name = Upload
Function Name = Excel_File
So the entire file name would be UAT_MHE_3.2_Upload_Excel_File

What are the problems encountered during the testing the application compatibility on
Different browsers and on different operating systems

There is font and alignment differences will be there and some browsers won't allow the
popup windows in Mozilla in some cases it'll not support java scripts and popup

How to find that tools work well with your existing systemo

To find this, select the suite of tests which are most important for your application. First run
them with automated tool. Next subject the same tests to careful manual testing. If the
results are coinciding you can say your testing tool has been performing its job well.

Its all depends on various factors like the application dependency, objects stability, tool
compatibility etc. One can decide the tool fits to the application.

Performed back end testing using SQL scripts to verify the data integrityo

Backend testing:- What we are given in the inputs at the same inputs will be updated in the
database or not .this is the back testing.

If doing the backend testing we are using database checkpoints or database


scripts(Oracle,SQL)

What is the difference between GUI checkpoint and synchronizationo

Gui check point is used to checkout the properties of


objects/windows in ur application build , GUI checkpoint is verifying the properties of objects.

4
1) Single Object Single Property

2) Single Object Multiple Property

3) Multiple Object Multiple Property

where as synchronization point tells Win runner to pause the test run in order to wait for a
specified response in the application.

What are memory leaks and buffer overflowso

A bug in a program that prevents it from freeing up memory that it no longer needs. As a
result, the program grabs more and more memory until it finally crashes because there is no
more memory left.

Buffer overflow occurs when a program or process tries to store more data in a buffer
(temporary data storage area) than it was intended to hold. Since buffers are created to
contain a finite amount of data, the extra information - which has to go somewhere - can
overflow into adjacent buffers, corrupting or overwriting the valid data held in them

How you will describe testing activitieso

Testing activities start from the elaboration phase. The various testing activities are preparing
the test plan, Preparing test cases, Execute the test case, Log the bug, validate the bug &
take appropriate action for the bug, Automate the test cases, View and report the test results
etc

When we record the script in analog mode in Win Runner where it will be storedo

Testing activities start from the elaboration phase. The various testing activities are preparing
the test plan, Preparing test cases, Execute the test case, Log teh bug, validate the bug &
take appropriate action for the bug, Automate the test cases, View and report the test results
etc

What is the name of testing that can be done by physically handicapped personso

The name of the testing that can be done by handicapped person is "USABILITY TESTING"
AND not accessibility testing

Accessibility Testing is done to determine whether the application is accessible to all or to


some specified personnel.

Whereas usability testing sees whether the users ( that include handicaps) can easily use the
application

How can you detect somebody's password using winrunnero

5
We cant find P/w Directly man , Its in encrypted form , it will give P/w in encrypted form with
little effort we can decode that Password

Does automation replace manual testingo

NO, Automation cannot replace Manual, because we write the script to test the functionality
positively,(We can write the scripts for negative testing also but it is hectic task).When we talk
about real environment we do negative testing manually.

I am automating a web application with QTP, an image is missing. How do I check and send a
message that a expected image is missingo

By IMAGE CHECK POINT OR using scripts for error handling you can do this but Image check
point is the in-built utility that QTP has

Difference between QTP and WINRUNNERo When TEST engg is going to stop the testo 3
difference between old version of winrunner and winrunner of adv versiono

1)QTP has builtin integration with winrunner and TD and winrunner has builtin integration with
only TD<br><br>2)QTP supports .net and XML application where as winrunner doesn't
support.<br><br>3)QTP generates script which is based on VB script and winrunner
generates Mercury interactive TSL script which is based on C language.<br><br>4)Data
Driven test is more easier in QTP when compare to winrunner<br>

What is Automation life cycleo

Automation life cycle start with

1: Learning

2: Recording

3: Edit Script (check points)

4:Run Script

5:Analyse Result

What is data - driven automationo

Testing the functionality with more test cases becomes laborious as the functionality grows.
For multiple sets of data (test cases), you can execute the test once in which you can figure
out for which data it has failed and for which data, the test has passed. This feature is
available in the WinRunner with the data driven test where the data can be taken from an
excel sheet or notepad.

6
What tools are available for support of testing during software development life cycleo

Testing tools for regression and load/stress testing for regression testing like, QTP, load
runner, rational robot, winrunner, silk, test complete, Astra are available in the market.
-For defect tracking BugZilla, Test Runner are available
-For testing process maintenance, rational robot and Microsoft application test center are
available.

What testing activities you may want to automation

Tests which are executed repeatedly must be automated to acquire time savings and also for
better accuracy.

Automate all the high priority test cases which needs to be excepted as a part of regression
testing for each build cycle

How will you choose a tool for test automation?

Choosing of a tool depends on many things ...

1. Application to be tested
2. Test environment
3. Scope and limitation of the tool.
4. Feature of the tool.
5. Cost of the tool.
6. Whether the tool is compatible with the application which means tool should be able to
interact with your application
7. Ease of use

What are the general features for functional testing we look for in an automation tool while
evaluating a web based application.

Ease of use and Time to market is critical. Also you will need to determine the functionalities
that you will need to be automated and what can only be done manually.

Das könnte Ihnen auch gefallen