What is the exact difference bet function and action in QTP
Anybody can explain it in detail..Thanks in advance..
Answers were Sorted based on User's Feedback
Answer / dibyendu hembram
Function:- function is a group of methods and instruction
and it can be access whenever we call that function
Action:- action is use to split our test script into more
flexible and logical unit advantage:- 1.if we require a
particular step of our test script then we can use action
by making it reusable action. 2. if 2 or more than two
scripts require the same script then we go for the action
| Is This Answer Correct ? | 6 Yes | 9 No |
Answer / sowmya m
Function must return avalue where Action is not required
| Is This Answer Correct ? | 0 Yes | 4 No |
How to customize checkpoints with parameters?
What is throw object?
Take a situation when you are working with QTP, suddenly system has crashed.so you again start the system. My questyion is how can QTP directly opened when the system desktop appears.
how to test a java project throughqtp?while testing a vb project we generally do vb scripting. but while testing java project do we use java script .plz some one can send me the manual for it my email roy_samata@yahoo.com thanks in advance
Hi, My Application in Microsoft Dynamic Navision, is it compitibale with QTP? if yes then let me know...and also let me know is there any other automation tool availabe to automate Microsoft Dynamic Navision. Thanks Sandip. +91-9714177088
How can you identify the browser and its information using the qtp script?
When to Insert transactions in QTP?
How to make Shared object repository in qtp 9.1 and 9.2?
How to associate shared object repository to test in qtp?
How should i get name of the screen? Ex:There is a "submit" button.If i clicked on the submit button it opens a screen. I want that screen name.How can i get that screen name I dont have any property regarding that screen. If suppose we cliked on the screen , Then QTP captures the screen properties then i can get the screen name by using GETROPROPERTY But i want the screen name without clicking the screen. ("I am using the "settoproperty" for Second screen by using fist screen properties") Please tell me anyone
What is the difference between action & script?
Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .