what is the difference between action and function
Answer Posted / pratap
Following are simple and easy to understand how function
differs from Action .Go through
I)
Actions : actions are more specific to tool ex : qtp
Functions : functions are generic and feature of programing
language Ex : vb or java or C , C++.
II)
Actions : actions are associated with object Repositry (
Per action or shared dependnds )
Functions : functions don have object repositry associated
with them .
III)
Actions : Actions can be called by syntax :
RunAction "ActionName",OneIteration
Functions : functions can be call by syntax
Call Function(FunctionName)
| Is This Answer Correct ? | 31 Yes | 3 No |
Post New Answer View All Answers
Can any give an example(if possible templates) how to test web application using QTP. thanks in advance
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
how to know no.of mails in our g mail by using vb-script
Explain the concept of object repository & how qtp recognizes objects?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How many ways we can parameterize data in quicktest professional (qtp)?
How to indentify MS-Word objects like Menubar, Toolbar, table/columns/rows/cells etc within Word document, using QTP?
How to create Reusable and Multiple Actions?
How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538
Hi Friends... By using QTP , can we test .net products...and that product supports different languages.. thanx in advance..
Explain how you can replace string in qtp?
What are output values and why they are used ?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
What is checkpoint in qtp?
What is a reusable action?