|
241. How Can I Check If A Environment Variable Exist Or Not?
Date Posted: 06/27/2012
Ans: When we use environment (“Param 1”) value then QTP expects the environment variable to be already defined. But when we use
Environment. Value (“Param1”) then QTP will create a new internal environment variable if it does not exists already. So to be sure that variable exists in the environment try using environment (“Param 1”) value.
|
|
|
242. How To Clear Auto Complete?
Date Posted: 06/27/2012
Ans:
-
In your internet explorer’s menu bar, choose tools>internet options>content tab.
-
Click auto complete in the personal information area. The auto complete settings dialog box opens.
-
In the use Auto complete for area, clear the username and passwords on forms option.
-
Click OK to save your changes and close the Auto complete settings dialog box, then click OK again to close the internet options dialog box.
|
|
|
243. Few Basic Questions On Commonly Used Excel VBA Functions?
Date Posted: 06/27/2012
Ans: Common functions are:
-
Coloring the cell
-
Auto fit cell
-
Setting navigation from link in one cell to other saving.
|
|
|
244. What Is Transaction?
Date Posted: 06/27/2012
Ans: You can measure how long it takes to run a section of your test by defining transactions.
|
|
|
245. What Is The Ordinal Identifier Types Used In QTP?
Date Posted: 06/27/2012
Ans: Indicates the order in which the object appears within the parent window, frame, or dialog box relative to other objects with an otherwise identical description.
Index. Indicates the order in which the object appears in the application code relative to other objects with an otherwise identical description.
Creation Time (Browser objects only). Indicates the order in which the browser was opened relative to other open browsers with an otherwise identical description.
None. Does not specify an ordinal identifier. This is the default value if no ordinal identifier was recorded or learned.
|
|
|
246. What Is An XML Check Point In QTP?
Date Posted: 06/27/2012
Ans: XML (Extensible Markup Language) is a meta markup language for text document endorsed as a standard by the World Wide Web consortium. XML makes the complex data structures portable between different computer environments/operating systems and programming languages facilitating the sharing of data.
|
|
|
247. How Do You Add XML Check Points In The QTP?
Date Posted: 06/27/2012
Ans: The below steps are used to add XML checkpoints.
Select he menu option insert>checkpoint> XML check point.
The XML source selection-checkpoint point dialog box opens
Select create new check point from the file. Enter the file path or internet address of XML file.
Click OK on the XML source selection- checkpoint properties dialog box. The XML checkpoint properties open and display the root element of the selected XML file.
|
|
|
248. How Will You Open An Application From Component?
Date Posted: 06/27/2012
Ans: To add a step that opens an application, select operations from the item column, select openapp from the operation column, and enter the full path in the value column.
|
|
|
249. What Is The Difference Between Sub Routine And Function Procedure?
Date Posted: 06/27/2012
Ans: Function is always returns a value.
|
|
|
250. What Is The Function Of Checkpoints?
Date Posted: 06/27/2012
Ans: Allow debug the code.
|
|