What is User defined function in QTP
Answer Posted / bfakruddin
Who mark that arun answer as wrong,
he given nice answer, yes we can make qtp to perform an
action based on return value of function.
User Defined Function: It is a block of statements which is
used to perform particular task and get a return value,
which is reusable code put in the function and call at ur
desired place, and get the return value of your input
parameters.
make the qtp to do action based on that return value. use
that value at your desired area.
thanks
Baba Fakruddin
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
is there any addin for remedy user application
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
what are all the fileds present in object repository?
In Remote acess server how u run a test?
what is error and fault in terms of software quality?
How to create Reusable and Multiple Actions?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
after click on compose mail how can we attached a file in qtp with vbscript code
In order to select an automation tool for automating ur application, what r the things u need to consider? For eg i will go for automation; 1) When there is a lot of retesting and regression testing. 2) Return on investments. 3) Whether the tool supports the appln. 4)--------------, etc. Pls give me more number of points because my answer did not satisfy the interviewer. Very urgent pls
Explain the concept of object repository and how QTP recognizes objects?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
how to test Web application using QTP software
How does quicktest professional (qtp) identifies the object in the application?
What is expert view and keyword view?
How to record a qtp script ?