Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 are monitors?

0 Answers  


While the script is running we find some values that may need to be correlated? Is it possible to do manual correlation for those values?

0 Answers  


how to send bottlenecks in Load runner ?

1 Answers   Wipro,


Hi Friends, I have 3 years of exp.in Manual Testing.My Company is going to provide training for Automation.Pls suggest me Which tool is better QTP/Load runner for future opportunity? Thanks in Advance.

10 Answers  


I have observed a scanrio executed/elapsed time in 16 seconds and succeded, when I set the duraion to 'Run Until Completion'. Same scanrio is failed/Gradually exited/stopped, when I set the time duration for 20 seconds (after the Ramp up has been completed). Why it is haapedned. Can anybody tell me the answer and solution also. Thanks in advance.

2 Answers  


what do u mean by co-relation?

11 Answers   3i Infotech, Punj Lloyd Ltd,


What are the changes you can make in run-time settings?

4 Answers  


Need to know best institute where i can learn LR with live concepts... Please suggest if any one knows...

3 Answers  


How do you identify which values need to be correlated in the script? Give an example.

0 Answers  


which browsers versions are supported in loadrunner 8.1?if any patches are required for browsers?

3 Answers   Prodigy Technologies, TCS,


what is meant by virtual users.what is the purpose of it.

8 Answers  


How you enhance the basic script?

0 Answers  


Categories