what is the function to execute batch jobs?



what is the function to execute batch jobs?..

Answer / 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

More Load Runner Interview Questions

What is Rendezvous point? When u apply this?

4 Answers   IBM,


What is the advantage of running the Vuser as thread?

3 Answers   Patni,


Suppose ur app server is .net server. In that connection pool is related to memory ?explain how?

0 Answers   EDS, Satyam,


What is ramp up and ramp down?

0 Answers  


How to handle the encrypted values in correlation. please send me example with explanation

0 Answers   ICICI,






WHAT IS THE BEST INSTITUTE FOR LOADRUNNER TRAINING IN HYDERABAD

1 Answers  


After recording the script, run the script , error not occured. but after doing correlation for the sam script the following error occured in replay log, Please do the needful Action.c(202): Found resource "http://10.38.23.230/CCM- NIELSEN-LOADRUNNER/images/ERROR.GIF" in HTML "http://10.38.23.230/CCM-NIELSEN- LOADRUNNER/wfErrorApplication.aspx" [MsgId: MMSG-26659]

1 Answers   Wipro,


What is stand-alone mode?

0 Answers  


When will u do Lad Testing,Stress Testing, Spike Testing and scalability Testing?

1 Answers   TCS,


how can i capture the elapsed time of a scenario in a script?

1 Answers  


What are deliverables in performance test analysis ?

3 Answers  


how to configure yahoo cookies in load runner

4 Answers   ZapApp India,


Categories