Hello JavaScript gurus,
Our team has upgraded to 12.53 patch 4. In this new version we can record in JavaScript in stead of C. I am not a programmer. My current issue is, after I created my JavaScript, I want to add a Main action transaction and call all my steps from the Main Action. Sample below is how it looked. I have not found what the JavaScript syntax should look like. I have looked on the web for examples but I didn't see any. I also tried the conversion tool HP provided and it didn't work. Your assustance is greatly appreciated.
Main()
{
lr_start_transaction("Login");
Login();
lr_end_transaction("Login", LR_AUTO);
lr_think_time(5);
lr_start_transaction("LookupAccountInfo");
LookupAccountInfo();
lr_end_transaction("LookupAccountInfo", LR_AUTO);
lr_think_time(5);
lr_start_transaction("UpdateAccount");
UpdateAccount();
lr_end_transaction("UpdateAccount", LR_AUTO);
lr_think_time(5);
lr_start_transaction("SaveAccount");
SaveAccount();
lr_end_transaction("SaveAccount", LR_AUTO);
lr_think_time(5);
Logoff();
return 0;
}