Tuesday, January 17, 2012

Coding standards to be followed in the QTP ?

1.Automation Engineer needs to add a section on top of every action/function which describes the action/function name,action/function description
2.Option Explicit statement must be included in the begining of every script/action.
3.The variables used in the action/function should be in the following way:
intEmpNo for integer type of variables
strEmpName for string type of variables
arrintEmpNames for integer type of array variables.
objQTP for object type of variables.
4.Exceptions should be handled by Code
5.Clear the objects at the end of the action/function
6.Logical names in the object repository should follow the naming convention like:
win_FlightReservation for windows
dlg_Flights for dialogs
txt_AgentName for text boxes/edit boxes.
page_Google for web pages.
RdBtn_Business for Radiob buttons.
ChkBx_First for Check boxes.
lst_FromCity for list /combo boxes.
wt_EmpDetails for WebTable.
lnk_Settings for

What makes a good Test Engineer ?

The TEst Engineer who has good knowledge on the application and domain of the application will be able to write more test scenarios/testcases .

Thursday, December 29, 2011

What are the different environments in the Software Life Cycle ?

Dev Environment
Test Environment
PPE(PreProduction or UAT) Environment
Production

What are the different environments in the Software Life Cycel ?

Dev Environment
Test Environment
PPE(PreProduction or UAT) Environment
Production

Friday, October 8, 2010

Write a function which takes a string and a substring as input and which deletes the substring in the main string?

Sub sub1()

Stri = "abcxyghixy"
substr = "xy"
MsgBox Replace(Stri, substr, "")

End Sub

How do you test a Notepad?

Humans seem to have a natural tendency to categorize. Software Test Engineers are no exception, especially when it comes into breaking down our work items. Different “types” of Testing include the following:

* Functional Testing
* Specification Testing
* Security Testing
* Regression Testing
* Automation Testing
* Beta Testing

When is a product ready to ship?

When test is confident that all issues have been identified, documented, and resolved. [A poor answer would be “when all bugs have been fixed”. Upper management is responsible for deciding when a product is ready to ship. It’s tests responsibility to make sure upper management has all the information they need to make a calculated decision.]

What are the different test categories that test cases are commonly grouped by? or Web Testing Methods ?

For a web application

Functionality, Usability, Accessibility, Performance, Stress, Load, Scalability, Security, Compatibility, Localization, Globalization, UI, Documentation,

What goes into the body of a good bug report?

A good bug report contains a descriptive summary of the bug, the steps to reproduce the bug,screenshots of the bug, the expected behavior of the system, and the actual behavior of the system.

What is the difference between priority and severity?

Priority refers to how important a bug is to be fixed, and severity refers to how detrimental or damaging the bug is to the system or user experience.