How will u declare a variable to access multiple actions?
a)Dim b)Global c)Public d)Private



How will u declare a variable to access multiple actions? a)Dim b)Global c)Public d)Private..

Answer / sekhar

Dim : to declare variable we use Dim.
syntax : dim variable name

public: the variable we can use all programs and all
scripts.

syntax : public variable name

private : the variable we can use with in the program not
in out side the program.

syntax : private variable name

global:



by
sekahr

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More QTP Interview Questions

How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?

0 Answers  


what are the different types of framesworks in QTP?what is the keyword driven framework?

2 Answers   Mindlance,


interviwer asks what is data table? my ans is Data table is an internal Excel file of QTP...intervier not happy with this also? can u post any other answer?

3 Answers   Accenture,


Can anybody give the script to addsheet, add column,add values under that column in the rows??

5 Answers   AZTEC,


how to choose the framework in qtp ? 2)when we go for the descriptive programming ?

2 Answers   Syntel,


what is vmodel?advantages and disadvantages of vmodel?

3 Answers   AZTEC, scintel,


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


How to supress warnings from the "Test results page"?

6 Answers   BirlaSoft,


Explain about Table and DB Checkpoints?

1 Answers   Crea,


How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?

0 Answers  


What is the syntax to call one action in another?

0 Answers  


I Scheduled a QTP Script on remote desktop. Script is going to failure,when remote desktop connection fails.I have to open my remote desktop untile the scripts exection completes. If I disconnect my remote desktop connection, script is going to fail.?

1 Answers   TCS,


Categories