Answer Posted / swarup
Wat, i understood from ur Question is? How to execute a
function right?
First step: Create a function Like
public function add( in a, in b, out c)
{
c=a+b;
printf(c);
}
2nd Step: Convert the File type to Complie module (File ->
Test properties -> General tab -> conver the test type to
Complie module)
3rd step: Save and write the load statement for the file and
store at start up script to activate this function parmanently.
4th step: call the function by the fun name with paramenters
{add(2,3)} in any file script.
This is the method how the functions are designed and used in WR
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between gui map and gui map files?
hi this is uday iam trying for testing job with 3+ yrs of exp if u have qtp faqs materil plz send me thanks in advance
What happens when the gui map file get loaded?
What do you verify with the database check point custom and what command it generates, explain syntax?
How do you identify which files are loaded in the gui map?
Explain the winrunner testing process?
How to break infinite loop?
What is tsl? What 4gl is it similar too?
Explain difference between winrunner and test director?
soft key for virtual object wizard ?
write a compilemodule function for loginscreen.
How to force wr to learn the sub-items on a menu?
How to have winrunner insert yesterdays date into a field in the application?
what is the use of generate script that is avaliable 3 places(file settings, tools, object identification)
How do you unload the GUI map?