Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



What is the exact difference bet function and action in QTP Anybody can explain it in detail..Than..

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

What is the exact difference bet function and action in QTP Anybody can explain it in detail..Than..

Answer / sowmya m

Function must return avalue where Action is not required

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More QTP Interview Questions

what are recovery management techiniques?

1 Answers  


can any body give the banking domain concepts/links

0 Answers  


Hi I have a doubt in qtp. Can you please clarify my doubt. If we are importing the data from excel sheet in qtp the the script is running the number of row times. I mean if there are 4 rows in excel sheet the script is running 4 times. cant we avoid this. suppose i have tis script: datatable.Import "C:\Documents and Settings\sailaja\My Documents\login1.xls" n = datatable.GetRowCount For i =1 to n systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe" datatable.SetCurrentRow i Dialog("Login").WinEdit("Agent Name:").Set DataTable ("Username", dtGlobalSheet) Dialog("Login").WinEdit("Password:").Set DataTable ("Password", dtGlobalSheet) Dialog("Login").WinButton("OK").Click Window("Flight Reservation").ActiveX ("MaskEdBox").Type "020209" Window("Flight Reservation").WinComboBox("Fly From:").Select "Frankfurt" Window("Flight Reservation").WinComboBox("Fly To:").Select "Los Angeles" Window("Flight Reservation").WinButton("FLIGHT").Click Window("Flight Reservation").Dialog("Flights Table").WinButton("OK").Click Window("Flight Reservation").WinEdit("Name:").Set "Sailaja" Window("Flight Reservation").WinButton("Insert Order").Click Window("Flight Reservation").WinMenu ("Menu").Select "File;New Order" window("Flight Reservation").Close next I created a excel sheet with 3 rows and 2 columns. (username and password). The script is running 9 times. I made the option run one itaration only . eventhough it is running 9 times .can u plaese clarify my doubt. Thankyou Sailaja.

3 Answers  


how can we group that these test cases only should be automated and in which order you execute that test cases

3 Answers   Maveric, Satyam,


normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer

2 Answers  


What is an other way of "Wait" statement in QTP I dont want to use wait("Some number"). Can any one tell this please..........

10 Answers   ADP, AZTEC,


how u will describe testing activities?

2 Answers  


How u perform exception handling in QTp,what is other name for ths?

2 Answers  


How can I import environment from a file on disk?

0 Answers  


What does SPLIT and JOIN commands do in Vbscript?

6 Answers   Ordain Solutions, UBC,


what is keyword driven testing

2 Answers  


What is QTP Frame Work ,and i want it in detail

2 Answers   Value Labs,


Categories