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 are the capabilities exactly you look for while selecting the performance testing tool?
How can we invoke a parellel process in load runner using C or perl language?
What is pause command?
You have an application which shows the exam results of the student. Corresponding to name of each student its mentioned whether he passed or failed the exam with the label of “pass” and “fail”. How will you identify the number of passed and failed student in vugen script?
What are the different components of loadrunner?
How could you measures Https/Sec ?
How can we find database related issues?
What is the difference between overlay graph and correlate graph?
What protocols does loadrunner support?
What are all the important protocols that load runner supports?
What are the three sections of a vuser script and what is the purpose of each one?
In a web server, database and network are all working fine and now, where could be the problem?
What are all the reasons to use the server resources monitor?
What kind of problem can we face regarding hardware, software, network and memory bottleneck during the performance test?
How to create a host list for a scenario?