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
what is mean by release in quality center and who will perfom?
How do you suppress a regular expression?
How do you load GUI map?
For my web Application I am recording website by WR. but the fuctions are displaying normal recorded fun. such as set_window...etc. eventhough i selected web add-in at start up WR. how to use web functions? such as web_link_click.... pls. guide
How do you find out which is the start up file in winrunner?
Explain data parameterization in winrunner?
How do you select multiple objects during merging the files?
What is the purpose of gui spy?
How you integrated your automated scripts from TestDirector?
How do you maintain the document information of the test scripts?
What Framework is suitable to validate the Login screen.
supose 10 times text data is there but it will run 8 times whtat will you do.
What are the platforms that WinRunner can be used?
How do you handle tsl exceptions?
How do you identify which files are loaded in the gui map?