what is functions in qtp?i know the userdefind &bulit
funation or i know that Private public function ?plz tell
me what is funations in qtp?how to create a funation in qtp
Answer Posted / shilpa reddy
function is a set of statements written to fulfill the
functionality &for reusable purpose.
we have user defined functions categorised as public and
private functions.
public f/n:is having access to all actions and tests which
associate that function.i mean function code will be stored
in library files with .vbs xtension,before using this
function we should associate that function to our script.
private function:this is used only in the action where it
is created.(it will not work even in another actions of
same test)
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
What is the basic concept of qtp?
What contains Data Driven Framework document in qtp?
hi all here i have tab named "Workbench" By clicking on "workbench" tab.it displays 4 tabs like below workbench common cargo commercial charter "common" tab have 10tabs inside,"cargo" tab also haveing 15 tabs inside and remaining two tabs also having few tabs inside. when clicked on "common" tab.it displaying the script like tab("workbench").select"common" if i clicked on "cargo".it displaying the script like tab"workbench_2").select"cargo" if i clicked on "commercial".it displaying the script like tab"workbench_3").select"commercial" if i clicked on "charter".it displaying the script like tab"workbench_4").select"charter" I have used a "FOR LOOP" for common,commercial,cargo,charter tabs.it was stopped at second tab SO, CAN I RECOGNIZE "WORKBENCH_2,_3,_4" AS A SINGLE VARIABLE if not, can anyone plese help me to solve this
what are the mandatory properties for a tex boxc (scenario?)
Can launch two instances of qtp on the same machine?
What is the difference between qtp and selenium?
What are the differences between quicktest professional and winrunner?
How you can find length of array in qtp?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
What is business process testing(bpt) in qtp?
How to give a call to another action from one action?
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers