Answer Posted / sksy
Use this piece of code
Action()
{
char command[1024]; // declare a cahar val
sprintf(command, "C:\testshilpa\batfile.bat");// mention the path of the file with full path details
system(command); // it will execute the command
return 0;
}
Note: batfile may contains command for batch job.You can try with "ping localhost -n 10"
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the vuser in the scenario?
What are monitors?
When you initialize the vuser what happen?
What is remote command launcher?
What kind of problem can we face regarding hardware, software, network and memory bottleneck during the performance test?
What is pause command?
What are the section contain by the vugen while creating a vuser script?
What is the significance of “vuser-init “?
What do you mean by path?
How do you decide the number of load generator machine required to run a test?
What is host?
What are the challenges that you will face to script the step “select all” and then “delete” for any mail account?
How many types of graphs are available in loadrunner?
What are the information contain by script windows for each script in the list?
How do you load a load runner agent?