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 difference between action and function

Answer Posted / raj

Hi guys,
Here is the best differences........
1)We can use actions within QTP where as we can use
functions anywhere(i.e.outside QTP also)

2)We can call functions within actions but we can't call
actions within functions

3)Generally functions are saved with ".vbs" extention where
as actions will save with ".mts".

If you have any doubt Still you can shout at my mail

Regards,
Rajasekhar

Is This Answer Correct ?    24 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can we preform retesting(DATA driven test) using function please gine the code for loginpage

2805


What is the difference between the design-time and run-time data tables?

1068


Explain hybrid framework with advantages and disadvantages?

998


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1913


How many ways is to parameterize the value?

1077


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2343


How many types of run modes are there in qtp?

975


Explain more about the Test Fusion Report of QTP?

982


What is quicktest professional window?

937


How can I check if a environment variable exist or not?

981


Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji

2657


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

989


How many add-ins comes by default with qtp?

968


What is the expert view?

939


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1976