Friday, April 24, 2009

QTP Some IMP questions

Hi all,

Please have a look in the attached file. It contains some IMP questions on QTP based on QTP 8.2 and can also be valid with respect to QTP 9.2.
These are also some commonly asked interview questions.
QTP Question 01: What is QTPro? What is Quick Test Pro? What is Quick Test Professional?
QTP Question 02: What's New in QuickTest Professional 8.2?
QTP Question 03: Explain QTP Testing process?
QTP Question 04: How Does Run time data (Parameterization) is handled in QTP?
QTP Question 05: What is keyword view and Expert view in QTP?
QTP Question 06: Explain about the Test Fusion Report of QTP?
QTP Question 07: To which environments does QTP supports?
QTP Question 08: What is QTP or Quick Test Pro?
QTP Question 09: Explain the QTP Tool interface?
QTP Question 10: How QTP recognizes Objects in AUT?
QTP Question 11: What are the types of Object Repositorys in QTP?
QTP Question 12: Explain the check points in QTP?
QTP Question 13: In how many ways we can add check points to an application using QTP?
QTP Question 14: How does QTP identifies the object in the application?
QTP Question 15: If an application name is changes frequently i.e while recording it has name, in this case how does QTP handles?

Tuesday, January 20, 2009

Sample bug/defect report will give you exact idea of how to report a bug in bug tracking tool.

Here is the example scenario that caused a bug:
Lets assume in your application under test you want to create a new user with user information, for that you need to logon into the application and navigate to USERS menu > New User, then enter all the details in the ‘User form’ like, First Name, Last Name, Age, Address, Phone etc. Once you enter all these information, you need to click on ‘SAVE’ button in order to save the user. Now you can see a success message saying, “New User has been created successfully”.
But when you entered into your application by logging in and navigated to USERS menu > New user, entered all the required information to create new user and clicked on SAVE button. BANG! The application crashed and you got one error page on screen. (Capture this error message window and save as a Microsoft paint file)
Now this is the bug scenario and you would like to report this as a BUG in your bug-tracking tool.
How will you report this bug effectively?
Here is the sample bug report for above mentioned example:(Note that some ‘bug report’ fields might differ depending on your bug tracking system)
SAMPLE BUG REPORT:
Bug Name: Application crash on clicking the SAVE button while creating a new user.
Bug ID: (It will be automatically created by the BUG Tracking tool once you save this bug)Area Path: USERS menu > New UsersBuild Number: Version Number 5.0.1
Severity: HIGH (High/Medium/Low) or 1Priority: HIGH (High/Medium/Low) or 1
Assigned to: Developer-
XReported By: Your Name, Reported On: DateReason: , DefectStatus: New/Open/Active (Depends on the Tool you are using)Environment: Windows 2003/SQL Server 2005
Description:Application crash on clicking the SAVE button while creating a newuser, hence unable to create a new user in the application.
Steps To Reproduce:
1) Logon into the application
2) Navigate to the Users Menu > New User
3) Filled all the user information fields
4) Clicked on ‘Save’ button
5) Seen an error page “ORA1090 Exception: Insert values Error…”

6) See the attached logs for more information (Attach more logs related to bug..IF any)7) And also see the attached screenshot of the error page.
Expected result: On clicking SAVE button, should be prompted to a success message “New User has been created successfully”.
(Attach ‘application crash’ screen shot.. IF any)
Save the defect/bug in the BUG TRACKING TOOL. You will get a bug id, which you can use for further bug reference.Default ‘New bug’ mail will go to respective developer and the default module owner (Team leader or manager) for further action

Source: This is the guest post from Vijay D, published on http://www.vietnamesetestingboard.org/

Friday, December 5, 2008

Hi all,

Those who are seeking certification in QTP 9.2 can refer to the below mentioned link.

You can at least get some practice question answer on QTP which will help you to understand, in what way you need to prepare for the exams...

http://mercuryquicktestprofessional.blogspot.com/2006/11/test-yourself-on-qtp_22.html

Stress Testing

Stress testing:
Stress testing tries to break the system under test by overwhelming its resources or by taking resources away from it (in which case it is sometimes called negative testing). The main purpose behind this madness is to make sure that the system fails and recovers gracefully -- this quality is known as recoverability.Where performance testing demands a controlled environment and repeatable measurements, stress testing joyfully induces chaos and unpredictability. To take again the example of a Web application, here are some ways in which stress can be applied to the system:
1.double the baseline number for concurrent users/HTTP connections
2.randomly shut down and restart ports on the network switches/routers that connect the servers (via SNMP commands for example)
3.take the database offline, then restart it
4.rebuild a RAID array while the system is running
5.run processes that consume resources (CPU, memory, disk, network) on the Web and database servers