how to identify the user defind varibles? plz tell me



how to identify the user defind varibles? plz tell me..

Answer / amarendra kothuru

in QTP script, Specify the line "Option Explicit" as first
statement of your script and execute it. If you do not
declare the variables it gives the errors so that you can
easily find the user defined variables in your script.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

What is the difference between "call" and "callclose"

1 Answers   Polaris,


pls guys understand this is question CAREFULLY,,, interviwer asks can u write test case for ATM m/c..i told, insert card enter pw...like this,,but interviwer not happy with that...ur not going to atm center? in ur office system ur testing ATM M/c...why ..how to test? what is the process?

1 Answers   Accenture,


How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)

6 Answers  


diff between dim & redim ? in detailed? pls any one explain me?

1 Answers  


How do you find out whether the string is Numeric or Alpha numenric.Suppose..'QTP is an automation testing tool 12345' How should I know it is alphanumeric.Can any one please write the code for this

4 Answers  






breef description of batch testing ?

0 Answers   Wipro,


what is the syntax for regular expression in QTP? how to create user defined functions in QTP?

6 Answers   CTS, MBT, TCS,


I AM TRYING PORT CODE FROM WINRUNNER TO QTP AND DON'T KNOW TO HOW TO CHECK THE ERRORS. IN WINRUNNER FUNCTION RETURNS EIGHER 0 OR -1 AGAINST WHICH RESULT CAN BE MADE PASS OR FAIL BUT IN QTP I DON'T SEE FUNCTIONS RETURNING ANY VALUE. APPRECIATE IF ANYONE COULD HELP ME CONVERTING FOLLWOING WINRUNNER CODE TO QTP. set_window("Customer Service"); rc = web_obj_get_text("Summary","#2","#4",ssn,""," ",1); if (rc != E_OK) { report_msg("[GetSubscriberSummary] Could Not get subscriber SSN; rc = "&rc); myRC = rc; } else { ssn = StripBlank(ssn); if (DEBUG) report_msg ("[GetSubscriberSummary] SSN: "&ssn); }

0 Answers  


How to switch between browser tabs? )moving from one tab to another tab)

1 Answers   CTS,


How can you quit from Action.

2 Answers  


Is any limitation to xml checkpoints?

0 Answers  


How to customize qtp?

0 Answers  


Categories