what is the difference between action and function
Answer Posted / bharat
Functions can retun multiple values through arrays
Action can directly throe a value into different varaible
(Output PArameters)
Functions does not have any associateion with
ObjectRepository,Recovery Scenerio,Checkpoints and hence it
need QTP toll to make this assocaition
Actions can be called for multipe iterations
in function u need to write a loop structure to execute it
multiple time
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
How to creating an output value using quicktest professional?
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
Suppose I want fail that check point? How can you do that?
What is the syntax for how to call one script from another?
Describe how Smart Identification is used
What is action split and the purpose of using this in qtp?
A FORM CONTAINS 5 FIELDS. 1 FIELD IS ENABLED REMAINING(4) FIELDS DISABLED. MY QUESTION IS ENTER VALUES INTO 1 FIELD AFTER THAT CLICK TAB BUTTON THEN 2 FIELD ENABLE THIS PROCESS CONTINUE UPTO 5TH FIELD. HOW TO WRITE CODE IN DESCRIPTIVE PROGRAMMING. PLZ TELL ME THE PROCEDURE AND CODE FOR IT.
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
Why to use descriptive programming?
Explain different types of checkpoints?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
wt is the use of multiple questions in QTP
What is debugging? How you debug your script?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project