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 111 - 120 of 469 Previous | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | Next
QTP INTERVIEW QUESITONS
 
111What Is Throw Object?
Date Posted: 06/27/2012

Ans: It is used for Error Handling.

In vbscript, the related code is -ON ERROR RESUME NEXT. By creating Recovery Scenarios, we can handle error. But, in Real-time 90% people don't use These Reco.Scenarios.

Instead they use VBScript to take the error, and then write the Discrepancy into an xls file.

 
 
112When We Try To Use Test Run Option “Run From Step”, The Browser Is Not Launching Automatically Why?
Date Posted: 06/27/2012

Ans: This is default behavior.

 
 
113What Is L-trim Function Will Do?
Date Posted: 06/27/2012

Ans: Returns a copy of a string without leading spaces (LTrim),

Trailing spaces (RTrim), or both leading and trailing

Spaces (Trim).

LTrim (string)

RTrim (string)

Trim (string)

The string argument is any valid string expression. If

String contains Null, Null is returned.

Remarks

The following example uses the LTrim, RTrim, and Trim

Functions to trim leading spaces, trailing spaces, and both

Leading and trailing spaces, respectively:

Dim MyVar

MyVar = LTrim ("   vbscript ")   ' MyVar

Contains "vbscript ".

MyVar = RTrim ("   vbscript ")   ' MyVar contains”  

Vbscript".

MyVar = Trim ("   vbscript ")   ' MyVar contains "vbscript".

 
 
114What In-string Function Will Do?
Date Posted: 06/27/2012

Ans: The InStr function returns the position of the first

Occurrence of one string within another.

Example: Dim txt, pos

      txt="This is a beautiful day!"

      Pos=InStr (txt,"his")

      Document. Write (pos).

 
 
115 Inserting A Call To Action Is Not Importing All Elements In Data Table Of Global Sheet. Why?
Date Posted: 06/27/2012

Ans: Inserting a call to action will only import the columns of the action called.

 
 
116Any Limitation To XML Checkpoint?
Date Posted: 06/27/2012

Ans: Mercury has determined that 1.4MB is the maximum size of XML file that QTP  can handle.

 
 
117How To Change The Run Time Value Of Property For An Object?
Date Posted: 06/27/2012

Ans: SetTOProperty changes the property values used to identify an object during the test run.

 
 
118 How To Export QTP Results To An .xls File?
Date Posted: 06/27/2012

Ans: By default it creates an “XML” file and displays the result.

 
 
119What Is A Parameter Zing Test?
Date Posted: 06/27/2012

Ans: when you test application, you may want to check how it performs the same operations with multiple sets of data. For example suppose you want to check how your application responds to ten separate sets of data. You could record ten separate tests, each with its own set of data. Alternatively, you can create a parameterized test that runs ten times: each time the test runs, it uses a different set of data.

 
 
120If An Application Names Is Changes Frequently I.e. While Recording It Has Name?
Date Posted: 06/27/2012

Ans: “window1” and then while running its “window2” in this case how does QTP handles,
QTP handles those situations “Regular Expressions”

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