HowToGetSoftwareJob

HowToGetSoftwareJob
HowToGetSoftwareJob Google Hangout

Tuesday, 20 March 2012

Software Testing Interview Questions

How to supress warnings from the “Test results page” in QTP?

From the Test results Viewer “Tools > Filters > Warnings”…must be “Unchecked”.
 

What is the extension of script and object repository files in QTP?

Object Repository : .tsr , Script : .mts, Excel : Default.xls


How to do Load testing for web based Application by using QTP?

1. Recording a scenario in QTP of my web based application.
2. Make 100 copies of that scenario and run the test (scenario run for 100 times)
3. In that case, do the load of application on server.
4. The basic logic of running the copy 100 times is to create same scenario as if 100 users were working.

But QTP is not a good option to do Load Test, the best option will be Loadrunner.
 
 

How to open a new test using QTP?

1. If QuickTest is not currently open, choose Start > Programs > QuickTest Professional > QuickTest Professional. If the Welcome window opens, click Blank Test. Otherwise, choose File > New, or click the New button. A blank test opens. 

2. If QuickTest is already open, check which add-ins are loaded by selecting Help > About QuickTest Professional. If the Web Add-in is not loaded, you must exit and restart QuickTest. When the Add-in Manager opens, select the Web Add-in, and clear all other add-ins. Choose File > New, or click the New button. A blank test opens.
 

How to Run a Test using QTP?

1. Start QuickTest and open your test.
If QuickTest is not already open, choose Start > Programs > QuickTest Professional > QuickTest Professional.. 
If the Welcome window opens, click Open Existing. 
If QuickTest opens without displaying the Welcome window, choose File > Open 
or 
click the Open button. In the Open Test dialog box, locate and select your test, then click Open.

2. Confirm that all images are saved to the test results.
QuickTest allows you to determine when to save images to the test results. Choose Tools > Options and select the Run tab. In the Save step screen capture to test results option, select Always.
Click OK to close the Options dialog box.

3. Start running your test.
Click Run or choose Test > Run. The Run dialog box opens.
Select New run results folder. Accept the default results folder name.
Click OK to close the Run dialog box.
 
 

How to Save your test using QTP?

Select File > Save or click the Save button. The Save dialog box opens to the Tests folder.

Create a folder which you want to save to, select it, and click Open.

Type your test name in the File name field.

Confirm that Save Active Screen files is selected.

Click Save. Your test name is displayed in the title bar of the main QuickTest window.

No comments:

Post a Comment