Hi all.
Could anyone tell me the difference between an Action and a
Function in QTP.
Thanks in advance and Merry Christmas.
Answers were Sorted based on User's Feedback
Action : 1.when u want to use object repository facility
we go for action,(means when the appliction contains
objects witch recognied by QTP ) go for Actions is nothing
but mouse moments it will generate the script automatically
2. it will returns more than one out put values.
Functions : 1 when the objects witch r not recognised by
QTP we go for functions(means discriptive program in that
those objects is not stored under objectrepository)
2. it will returns only one out put value.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / vinod
Action will be used when there is alink with the object
repository.
function will be used when there is no link with the object
repository
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / pava
we can write the functions using descriptive progamming
Is This Answer Correct ? | 0 Yes | 1 No |
suppose by navigation i went from 1st page to 5th page write a script for coming from any page to the 1st page abd by executing where the page may be . it will come to 1st page give the code using gmail. give me mail id so that i can under this answer with out any doubt
How to write script to display a message box having the "Date" value of the fourth mail(yahoo account). I've tried it with the web table concept but the content doesn't get displayed? Please help me out to resolve this :-)
Can a function return a dictionary object?
how you test broken link using the automated tool QTP ?
In descriptive programming how we know the properties of the objects, if application is not developed and the prototype of the application is also not developed.
how you update scripts in qtp?
how can i call an external action,which is not added external action of an action?
How to delete an object from the object repository?
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 .
Whar are the challenges do we face while testing web based applications using the automation tool QTP or any??
write a script to verify the image path(src property) of the images which are in web pages.(do it by Descriptive method by creating a description object)
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.