What is the difference between Functions and Action ?
Answer Posted / anshuman
functions are encapsulation of segments of code which is
used several times in the script.They can be either within
the QTP script or can be maintained in external .VBS or .TXT
files.
Action is a thing specific to QTP while functions are a
generic thing which is a feature of VB Scripting. Action can
have a object repository associated with it while a function
can’t. A function is just lines of code with some/none
parameters and a single return value while an action can
have more than one output parameters.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
Approach for Installation,comaptibility,system testing
What is the file extension of the code file and object repository file in QTP?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
tell me abt a time when u had to go above &beyind the call of duty to get the job done
What are the data types in qtp?
What r the different filters in defect in quality center
How QTP support all types of applications (platforms)?
I want to know can we integrate visual source safe tool with QTP and QC for our version controlling process? WE know QTP and QC 10.0 version is having the version control inbuilt in it but I want to know the merits and demerits of the inbuilt version control tool and the visual source safe tool using QTP and QC.
How would you directly trigger javascript in a test?
How to find operating system information using the qtp script?
What is test object model in quicktest professional?
How do you convert manual test cases to automated test cases?
how will you load the test cases in ddt?
What is throw object?