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

Please explain how to open with notepad of saved html file by right click option using QTP

1 Answers  


Hi, When iam trying to import sheet to the QTP Global data table at the run time using the Importsheet method.It is able to import the sheet but no data is present after the import due to which the test is failing.Could anyone suggest what should be done. When I open the actual excel sheet data is present and is not corrupted.

2 Answers  


How many tables r created during the recording in QTP?

2 Answers  


how to do regression testing in qtp? plz give ans with examples

6 Answers   TCS,


How to test the login page in different ways in automation testing and i need code?

0 Answers   Cognizant,


What are the advantages of qtp?

0 Answers  


What is meant by virtual obj and Y do v need virtual obj configuration.

4 Answers  


What are the types of environment variables in qtp?

0 Answers  


CAN SOME ONE TELL ME ABOUT QTP FRAMEWORK? I AM SUPPOSED TO GIVE THE QTP FRAMEWORK THIS WEEK SO PLEASE HELP

2 Answers  


What is the difference in testing a client-server application and a web application?

0 Answers  


Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

1 Answers  


How do you create new test sets in td?

0 Answers  


Categories