What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..
Answer Posted / vijay
Actions can Return mutiple values, where as function will
return one value
Check points insertion wont be possible in functions where
it can be possible in Actions .
functions can be called outside the tool , where as Actios
are called only within QTP
scripts written in higher version of qtp wont be compatable
with Actions , where as functions since they are not QTP
related can be work in any version
functions can be even written in notepad , wiht .vbs file
name
ex :
Public Function F1
msgbox(" I am function")
end function
call F1
run the code in notepad and verify
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
Which scripting language used by quicktest professional (qtp)?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer
When to use shared and local object repository?
What are the differences between qtp and winrunner?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Hi we are running tests remotely from quality center and pushing tests into qtp boxes remotely, and it does execution but while uploading results back into quality center it hangs in qtp box.If any one come across similar problem, please send me details how to handle this. Thanks kris
If created one virtual object? Next time I changed the window position will it work?
What is the difference between per-action and shared?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
How many types of Automation frameworks are there in UFT? Describe them.
How you create new action in qtp?
How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s. What is the difference between them? How to handle script issues?