Krishna Logo
qa training in canada now
Divied
Call: Anusha @ 1 (877) 864-8462

 

Latest News
Home Navigation Divied
INTERVIEW Navigation Divied QTP INTERVIEW QUESITONS
Showing 101 - 110 of 469 Previous | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next
QTP INTERVIEW QUESITONS
 
101 How To Retrieve Property Of An Object?
Date Posted: 06/27/2012

Ans:
SystemUtil, object used to open and close applications and processes during a run session

a)A SystemUtil. Run statement is automatically added to your test when you run an application from the start menu or the run dialog box while recording a test

Eg: SystemUtil.Run “Notepad.exe”

SystemUtil.closeDesendentprocesses (Closes all the processes opened by QTP).

 
 
102What Is Post Recovery Scenario?
Date Posted: 06/27/2012

Ans: The post-recovery scenario identifies the operation that will occur after the recovery operation (the Action) has completed. Choices you see to complete the Recovery Operation, or choices for the Post-Recovery scenario are:

Repeat current step and continue.

Proceed to next step

Proceed to next action or component iteration

Proceed to next test iteration

Restart current test run

Stop the test run

 
 
103How Do You Close The Task Manager Through QTP?
Date Posted: 06/27/2012

Ans: First you should add the Task Manager Dialog box in the object repository.

This is not a modal dialog box so you can add it to repository easily.

Then use following simple code.

If Dialog("Windows Task Manager").Exist Then

    Dialog("Windows Task Manager").Close

    Reporter.ReportEvent micPass,"Task Manager”, “Successfully closed task   

    manager" 

Else

     Reporter.ReportEvent micFail,"Task Manager”, “Task Manager is not open" 

End If 

 
 
104What Is Your Role And Responsibilities In QTP With Your Current Organization?
Date Posted: 06/27/2012

Ans: Participated in Manual Testing:

Involved in writing test cases and executing test cases.

Developed and executing the automated test scripts using QTP.

Conducted various types of testing like Functionality

Testing, GUI Testing, Regression Testing and System Testing:

Extensively performed Manual Testing process to ensure the

Quality of the application:

Experience in bug tracking and solving with project teams.

Analyzing test results and prepared bug reports

 
 
105Difference Between Keyword Driven Test And DDT?
Date Posted: 06/27/2012

Ans: Keyword driven testing: It is process in which we can

Perform multiple functionality's one after another by

Invoking them through keywords....

Suppose: Add () - to perform addition of numbers.

Login () - To login in to the application.

DDT: The tests conducted by passing multiple values to the

Variables through scripts and analyzing the results.

Usually test data is from external excel sheet...

 
 
106How You Used DDT In QTP?
Date Posted: 06/27/2012

Ans: Parameterization is exactly the flow of input value from one Action/function to another action/function. DDT is also a Parameterization method but usually excel/data table is used for inputs and outputs in DDT.

 
 
107How Do You Create New Test Sets In Test Directory?
Date Posted: 06/27/2012

Ans:

  • Login to TD
  • Click on “Test lab” tab
  • Select the desired folder under which we need to create the test set.
  • Click on new test set or Ctrl+N icon to create a test set.

 
 
108What Is Regular Expression How Will U Implement It?
Date Posted: 06/27/2012

Ans: Let us take yahoo Site as an example. Then the script will

be something like:

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Mail - The

Best").Web Edit ("login").Set "Test User"

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Mail - The

Best").Web Edit("password").Set Secure "460205b87f0543"

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Mail - The

Best").Web Button ("Sign In").Click

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Mail -

Test User@").Link ("Addresses").Click

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Address

Book -").Link ("Mail").Click

Browser ("Yahoo! Mail - The best").Page ("Yahoo! Mail -

Test User").Sync

Here the page title is continuously changing. But, all

Titles contain "Yahoo!"

When ever, you click on any tabs, i.e. (mail, compose,

Addresses, etc), the page title changes. But, still

Contains "Yahoo!" as part of the string. In this case, we

Can use regular expression (while using descriptive

Programming):

Browser ("Yahoo! Mail - The best").Page

("Class Name: =Page", "title: =Yahoo.*").Web Edit

("Class Name: =Web Edit", "Name:=login").Set "Test User"

 
 
109 Analyzing The Checkpoint Results?
Date Posted: 06/27/2012

Ans: Standard checkpoint: By adding standard checkpoint to your tests or components you can
Compare the expected values of object properties to the objects current values during a run session, if the results do not match, the checkpoint fails.

 
 
110How To Suppress Warnings From “Test Results Page”?
Date Posted: 06/27/2012

Ans: From the test results viewer “Tools>Filters>warnings” must be unchecked.

 
Showing 101 - 110 of 469 Previous | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next
Shadow Bottom
 
 
© 2005 -