what is diffrense between action and function
Answers were Sorted based on User's Feedback
Answer / kiran
1. Action is associated to object repository where as
function is not assocoiated to any repository and contains
only vb statements
2. Action can return multupla values where as function can
return single value
| Is This Answer Correct ? | 6 Yes | 5 No |
Answer / mahaboob
Action is a qtp tool feature,we can use checkpoints in actions,As it is a qtp tool feature it may corrupt and Actions are slow execution.
Function is a vbscript feature,we canot use checkpoints in functios insted of functions we can use Loops and conditional statements,functions are fast execution compate with actions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / giridhar
1 Action is the Local source.its may hav small script
in action we can use only recorded identifiers.
2 Function is the Outer source.its may hav more script
| Is This Answer Correct ? | 0 Yes | 2 No |
How can i get the image text that changes dynamically? Here i have used "GetROProperty", but it's not working. I used like Ex:Browser("webmail").Page("inbox").image ("captchaimage).getroproperty("innertext/text/value")
Which Databases supports for QTP?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
Explain about Standard output value, Text output value, database o/p value, Xml O/p value, Xm o/p Value
the presentation layer of my application is built using VB 6.0 and a series of C++ dlls and components. We do not use Java, VB.Net, C## or any other component that can be decompiled. We are automating the application using HP Quick Test Professional. It is not reconginizing the combo boxes, tabs etc.... Could you please suggest, whether QTP supports C++ dlls and components or not...if yes, could you please guide me, how to overcome this situation. Can we install any special add-ins for this C++? .When we are performing the recording/execution, the application becomes very slow. Your quick response will be highly solicited in this regard.
Where you are storing your script?
Plz Explain AUTOMATION REFERENCE MODEL?
Is it possible to run qtp scripts in Test Director(Scripts are uploaded in Test director)???and also how to see the test results in test director???
Pls explain me the difference between ........ Description.Create and CreateObject
can any body clearly explain about hybridframework with the explanation for files what ever we come acros in this frame work?
we have 10 more actions in our test and we are using exit action command to come out from the action if any error s occured.In action 1 if any error occurs control is moving to second action but if we get error in second action exitaction is throwing general run error. Please give a idea to overcome .
Hi All,I am in wierd situation that my laptop is installed with QTP11 and os is xp sp3.The problem is the descriptive programming which i have written is working in other laptops and it is not working in my laptop.it is clicking the link which is above the testbox instead of typing it in textbox below it.It is same with the other working scripts written by another person.