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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What processes will be required to manage updates to the web site's content, and what are the requirements for maintaining, tracking, and controlling page content, graphics, links, etc.?

597


hi, FOR 3+ QTP INTERVIEW, FOR EXAMPLE WE PUT ONLINE BANKING SYSTEM PROJECT IN OUR RESUME, IN PROJECT MANAGER ROUND...WHAT R THE MAJOR QUESTIONS ARE ASKED IN P.M? PLS TELL ME ATLEAST 10 QUESTIONS?.....AND IF POSSIBLE POST ANSWERS ALSO....

2428


If I change the object name in one action will it be updated in all the actions? Or not?

591


What is standalone database?

1742


How will you find the current time of the remote machine using QTP script?

590






Plz Explain AUTOMATION REFERENCE MODEL?

1681


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

1368


how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

1377


Analyzing the checpoint results?

595


Define Canvas view of UFT?

609


How will you report the bug and explain the defect tracking sheet you handled?

2542


How to find the name of the machine where you are running your automation scripts in qtp?

515


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1574


What is the difference between qtp and selenium?

544


Explain how you can replace string in qtp?

599