Action() { int iDebug; web_cleanup_cookies( ); lr_start_transaction("_TIVApp_001_My_Test"); lr_save_string("TIVApp_001_001_Homepage", "pTransactionName"); web_reg_find("Fail=NotFound", "Search=Body", "Text=Test site.", LAST); web_reg_save_param("cServerName", "LB=Set-Cookie: ROUTEID=.", "RB=;", "Notfound=warning", LAST); web_reg_save_param("cVersion", "LB=version\">", "RB=<", "Notfound=warning", LAST); lr_start_transaction(lr_eval_string("{pTransactionName}")); web_url("Homepage", "URL=http://{pURL}/", "Resource=0", "RecContentType=text/html", "Referer=", "Snapshot=t1.inf", "Mode=HTML", LAST); // Log Levels: // LR_MSG_CLASS_DISABLE_LOG // LR_MSG_CLASS_BRIEF_LOG // LR_MSG_CLASS_EXTENDED_LOG // LR_MSG_CLASS_RESULT_DATA // LR_MSG_CLASS_PARAMETERS // LR_MSG_CLASS_FULL_TRACE iDebug = lr_get_debug_message(); lr_output_message("TIVMsg: Msg Level was: %d", iDebug); lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG, LR_SWITCH_ON); lr_debug_message(LR_MSG_CLASS_EXTENDED_LOG | LR_MSG_CLASS_RESULT_DATA,"TIVMsg: %s loaded via server: %s", lr_eval_string("{pTransactionName}"), lr_eval_string("{cServerName}")); lr_set_debug_message(iDebug, LR_SWITCH_ON); lr_end_transaction(lr_eval_string("{pTransactionName}"), LR_AUTO); lr_end_transaction("_TIVApp_001_My_Test", LR_AUTO); return 0; }
void fCaptureScreen (char* sTitleLeftBound, char* sTitleRightBound){ char * sLB; char * sRB; if((sLB = (char *)malloc((strlen(sTitleLeftBound) + strlen("LB/IC=") + 2)* sizeof(char))) == NULL){ lr_error_message("Out of memory error"); lr_exit(LR_EXIT_VUSER,LR_FAIL); }else{ sprintf(sLB,"LB/IC=%s", sTitleLeftBound); lr_output_message("TIVMsg: LB:%s", sLB); } if((sRB = (char *)malloc((strlen(sTitleRightBound) + strlen("RB/IC=") + 2)* sizeof(char))) == NULL){ lr_error_message("Out of memory error"); lr_exit(LR_EXIT_VUSER,LR_FAIL); }else{ sprintf(sRB,"RB/IC=%s", sTitleRightBound); lr_output_message("TIVMsg: RB:%s", sRB); } web_reg_save_param("cPageTitle", sLB, sRB, "Notfound=warning", LAST); free (sLB); free (sRB); }
PrimaryIcomeSection() { lr_start_transaction("11_MaleWithAPTC_25_Tax_Filer"); web_reg_find("Text=eligibility for", LAST ); web_reg_save_param("p_o3synch_13", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_25_Tax_Filer_{dp_UserID};PC=ProcessScript.do_13"); web_submit_data("ProcessScript.do_13", "Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t46.inf", "Mode=HTML", ITEMDATA, "Name=__o3id6", "Value=true", ENDITEM, "Name=__o3id0", "Value={executionID}", ENDITEM, "Name=__o3id1", "Value=1048692", ENDITEM, "Name=__o3id2", "Value=HealthCarePortal", ENDITEM, "Name=__o3id3", "Value=TaxFilersPage", ENDITEM, "Name=__o3id4", "Value=12", ENDITEM, "Name=__o3id5", "Value=true", ENDITEM, "Name=validate-save-and-exit", "Value=true", ENDITEM, "Name=iegExecutionID", "Value={executionID}", ENDITEM, "Name=scriptID", "Value=HealthCarePortal", ENDITEM, "Name=pageID", "Value=TaxFilersPage", ENDITEM, "Name=syncToken", "Value=12", ENDITEM, "Name=iegScriptVersion", "Value=V1", ENDITEM, "Name=iegScriptType", "Value=Portal", ENDITEM, "Name=forwardParams", "Value=&id={id}", ENDITEM, "Name=o3ctx", "Value=1048692", ENDITEM, "Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id6\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isTaxFiler.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM, "Name=__o3fmeta_mandatory_data", "Value=", ENDITEM, "Name=__o3synch", "Value={p_o3synch_12}", ENDITEM, LAST); lr_end_transaction("11_MaleWithAPTC_25_Tax_Filer",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_26_Tax_Dependent"); web_reg_save_param("p_o3synch_14", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); web_reg_find("Text=summary page", LAST ); addDynaTraceHeader("NA=11_MaleWithAPTC_26_Tax_Dependent_{dp_UserID};PC=ProcessScript.do_14"); web_custom_request("ProcessScript.do_14", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t47.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=wasPersonTabs=true&__o3id7=YN2&__o3id8=&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=TaxNotFilingTogetherPage&__o3id4=13&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=TaxNotFilingTogetherPage&syncToken=13&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isClaimedAsYourself%22%2C%22Is%20this%20person%20you%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isClaimedAsDependentOfExternalPerson%22%2C%22Is%20anyone%20outside%20this%20Application%20Group%20expected%20to%20enter%20{p_FN}%20as%20dependent%20on%20their%20tax%20return%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfal" "se%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_STRING%2FPerson.TaxFilerRelationship.personID%22%2C%22%22%2C%22IEG_STRING%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id8%2C__o3id7&__o3synch={p_o3synch_13}", LAST); lr_end_transaction("11_MaleWithAPTC_26_Tax_Dependent",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_27_Group_Summary"); web_reg_find("Text=Group Income", LAST ); web_reg_save_param("p_o3synch_15", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_27_Group_Summary_{dp_UserID};PC=ProcessScript.do_15"); web_submit_data("ProcessScript.do_15", "Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t48.inf", "Mode=HTML", ITEMDATA, "Name=__o3id0", "Value={executionID}", ENDITEM, "Name=__o3id1", "Value=1048692", ENDITEM, "Name=__o3id2", "Value=HealthCarePortal", ENDITEM, "Name=__o3id3", "Value=HouseholdSummary2", ENDITEM, "Name=__o3id4", "Value=14", ENDITEM, "Name=__o3id5", "Value=true", ENDITEM, "Name=validate-save-and-exit", "Value=true", ENDITEM, "Name=iegExecutionID", "Value={executionID}", ENDITEM, "Name=scriptID", "Value=HealthCarePortal", ENDITEM, "Name=pageID", "Value=HouseholdSummary2", ENDITEM, "Name=syncToken", "Value=14", ENDITEM, "Name=iegScriptVersion", "Value=V1", ENDITEM, "Name=iegScriptType", "Value=Portal", ENDITEM, "Name=forwardParams", "Value=&id={id}", ENDITEM, "Name=o3ctx", "Value=1048692", ENDITEM, "Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM, "Name=__o3fmeta_mandatory_data", "Value=", ENDITEM, "Name=__o3synch", "Value={p_o3synch_14}", ENDITEM, LAST); lr_end_transaction("11_MaleWithAPTC_27_Group_Summary",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_28_Group_Income"); web_reg_save_param("p_o3synch_16", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_28_Group_Income_{dp_UserID};PC=ProcessScript.do_16"); web_submit_data("ProcessScript.do_16", "Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t49.inf", "Mode=HTML", ITEMDATA, "Name=__o3id0", "Value={executionID}", ENDITEM, "Name=__o3id1", "Value=1048692", ENDITEM, "Name=__o3id2", "Value=HealthCarePortal", ENDITEM, "Name=__o3id3", "Value=IncomeBreaker", ENDITEM, "Name=__o3id4", "Value=15", ENDITEM, "Name=__o3id5", "Value=true", ENDITEM, "Name=validate-save-and-exit", "Value=true", ENDITEM, "Name=iegExecutionID", "Value={executionID}", ENDITEM, "Name=scriptID", "Value=HealthCarePortal", ENDITEM, "Name=pageID", "Value=IncomeBreaker", ENDITEM, "Name=syncToken", "Value=15", ENDITEM, "Name=iegScriptVersion", "Value=V1", ENDITEM, "Name=iegScriptType", "Value=Portal", ENDITEM, "Name=forwardParams", "Value=&id={id}", ENDITEM, "Name=o3ctx", "Value=1048692", ENDITEM, "Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM, "Name=__o3fmeta_mandatory_data", "Value=", ENDITEM, "Name=__o3synch", "Value={p_o3synch_15}", ENDITEM, LAST); lr_end_transaction("11_MaleWithAPTC_28_Group_Income",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_29_Income"); web_reg_find("Text=Income Type", LAST ); web_reg_save_param("p_o3synch_17", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_29_Income_{dp_UserID};PC=ProcessScript.do_17"); web_custom_request("ProcessScript.do_17", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t50.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=wasPersonTabs=true&__o3id6=YN1&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AnyManualIncomePage&__o3id4=16&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AnyManualIncomePage&syncToken=16&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FhasManualIncome%22%2C%22Does%20{p_FN}%20have%20any%20income%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%" "24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id6&__o3synch={p_o3synch_16}", LAST); lr_end_transaction("11_MaleWithAPTC_29_Income",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_30_Income_Details"); web_reg_find("Text=Form 1040", LAST ); web_reg_save_param("p_o3synch_18", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_30_Income_Details_{dp_UserID};PC=ProcessScript.do_18"); web_custom_request("ProcessScript.do_18", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t51.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=wasPersonTabs=true&__o3id6=HCIT26001&__o3id7=TFT1&__o3id8=ABCD%20Inc&__o3id9=28000&__o3ida=&__o3idb=FC7&__o3idc=2012-04-10&__o3idd=&__o3ide=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=DCHXManualIncomePage&__o3id4=17&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=DCHXManualIncomePage&syncToken=17&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id9%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FIncomeItem.amount%22%2C%22Amount%20(Before%20taxes%20and%20deductions)%22%2C%22IEG_MONEY%22%2Ctrue%5D%2C%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_STRING%2FIncomeItem.employer%22%2C%22What%20is%20the%20name%20of%20your%20Employer%3F%22%2C%22IEG_STRING%22%2Cfalse%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FTAXFORM_TYPE%2FIncomeItem.taxform%22%2C%22Please%" "20indicate%20which%20tax%20form%20is%20used%20to%20report%20this%20income.%22%2C%22TAXFORM_TYPE%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FINCOME_TYPE%2FIncomeItem.incomeType%22%2C%22Income%20Type%22%2C%22INCOME_TYPE%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FAC" "TION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3ide%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FhasMoreManualIncome%22%2C%22Does%20{p_FN}%20have%20any%20more%20income%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3idd%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_DATE%2FIncomeItem.endDate%22%2C%22End%20Date%22%2C%22IEG_DATE%22%2Cfalse%5D%2C%22__o3idc%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_DATE%2FIncomeItem.startDate%22%2C%22Start%20Date%22%2C%22IEG_DATE%22%2Ctrue%5D%2C%22__o3idb%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FFREQUENCY_CODE%2FIncomeItem.frequency%22%2C%22Frequency%22%2C%22FREQUENCY_CODE%22%2Ctrue%5D%2C%22__o3ida%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FIncomeItem.taxExemptAmount%22%2C%22What%20portion%20of%20this%20amount%20is%20tax%20exempt%3F%22%2C%22IEG_MONEY%22%2Cfa" "lse%5D%7D&__o3fmeta_mandatory_data=__o3id9%2C__o3id6%2C__o3ide%2C__o3idc%2C__o3idb&__o3synch={p_o3synch_17}", LAST); lr_end_transaction("11_MaleWithAPTC_30_Income_Details",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_31_Income_Adjustment"); web_reg_find("Text=Adjustments", LAST ); web_reg_save_param("p_o3synch_19", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_31_Income_Adjustment_{dp_UserID};PC=ProcessScript.do_19"); web_custom_request("ProcessScript.do_19", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t52.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=wasPersonTabs=true&__o3id6=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AnyIncomeDeductionPage&__o3id4=18&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AnyIncomeDeductionPage&syncToken=18&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyDeductableItem%22%2C%22Does%20{p_FN}%20have%20any%20of%20the%20adjustments%20to%20income%20that%20are%20listed%20in%20Form%201040%2C%20lines%2" "023%20to%2035%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=&__o3synch={p_o3synch_18}", LAST); lr_end_transaction("11_MaleWithAPTC_31_Income_Adjustment",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_32_Annual_Income"); web_reg_save_param("p_o3synch_20", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_32_Annual_Income_{dp_UserID};PC=ProcessScript.do_20"); web_custom_request("ProcessScript.do_20", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t53.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=wasPersonTabs=true&__o3id6=YN1&__o3id7=28%2C000.00&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=ProjectedAnnualIncomePage&__o3id4=19&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=ProjectedAnnualIncomePage&syncToken=19&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_MONEY%2FProjectedAnnualIncome.projectedIncome%22%2C%22What%20do%20you%20expect%20the%20annual%20income%20to%20be%20in%202015%3F%22%2C%22IEG_MONEY%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%2" "2%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FPerson.isAnnualIncomeCorrect%22%2C%22Is%20this%20what%20you%20expect%20{p_FN}'s%20annual%20income%20to%20be%20in%202015%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%7D&__o3fmeta_mandatory_data=__o3id6&__o3synch={p_o3synch_19}", LAST); lr_end_transaction("11_MaleWithAPTC_32_Annual_Income",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_33_Additional_Info"); web_reg_save_param("p_o3synch_21", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_33_Additional_Info_1_{dp_UserID};PC=ProcessScript.do_21"); web_submit_data("ProcessScript.do_21", "Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t54.inf", "Mode=HTML", ITEMDATA, "Name=__o3id0", "Value={executionID}", ENDITEM, "Name=__o3id1", "Value=1048692", ENDITEM, "Name=__o3id2", "Value=HealthCarePortal", ENDITEM, "Name=__o3id3", "Value=AdditionalHouseholdBreaker", ENDITEM, "Name=__o3id4", "Value=20", ENDITEM, "Name=__o3id5", "Value=true", ENDITEM, "Name=validate-save-and-exit", "Value=true", ENDITEM, "Name=iegExecutionID", "Value={executionID}", ENDITEM, "Name=scriptID", "Value=HealthCarePortal", ENDITEM, "Name=pageID", "Value=AdditionalHouseholdBreaker", ENDITEM, "Name=syncToken", "Value=20", ENDITEM, "Name=iegScriptVersion", "Value=V1", ENDITEM, "Name=iegScriptType", "Value=Portal", ENDITEM, "Name=forwardParams", "Value=&id={id}", ENDITEM, "Name=o3ctx", "Value=1048692", ENDITEM, "Name=__o3fmeta", "Value={\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM, "Name=__o3fmeta_mandatory_data", "Value=", ENDITEM, "Name=__o3synch", "Value={p_o3synch_20}", ENDITEM, LAST); web_reg_save_param("p_o3synch_22", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_33_Additional_Info_2_{dp_UserID};PC=ProcessScript.do_22"); web_submit_data("ProcessScript.do_22", "Action=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t55.inf", "Mode=HTML", ITEMDATA, "Name=__o3id0", "Value={executionID}", ENDITEM, "Name=__o3id1", "Value=1048692", ENDITEM, "Name=__o3id2", "Value=HealthCarePortal", ENDITEM, "Name=__o3id3", "Value=AdditionalIAInfromationPage", ENDITEM, "Name=__o3id4", "Value=21", ENDITEM, "Name=__o3id5", "Value=true", ENDITEM, "Name=validate-save-and-exit", "Value=true", ENDITEM, "Name=iegExecutionID", "Value={executionID}", ENDITEM, "Name=scriptID", "Value=HealthCarePortal", ENDITEM, "Name=pageID", "Value=AdditionalIAInfromationPage", ENDITEM, "Name=syncToken", "Value=21", ENDITEM, "Name=iegScriptVersion", "Value=V1", ENDITEM, "Name=iegScriptType", "Value=Portal", ENDITEM, "Name=forwardParams", "Value=&id={id}", ENDITEM, "Name=o3ctx", "Value=1048692", ENDITEM, "Name=__o3fmeta", "Value={\"__o3id7\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isEnrolledOrEligibleForESC.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id2\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/scriptID\",\"\",\"IEG_ANSWERS\",false],\"__o3id1\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/o3ctx\",\"\",\"IEG_ANSWERS\",false],\"__o3id0\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/executionID\",\"\",\"IEG_ANSWERS\",false],\"__o3id6\":[\"/data/si/ACTION/answers$currentPageAnswers/ans/IEG_BOOLEAN/Person.isIncarcerated.0\",\"\",\"IEG_BOOLEAN\",false],\"__o3id5\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/validate-save-and-exit\",\"\",\"IEG_ANSWERS\",false],\"__o3id4\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/syncToken\",\"\",\"IEG_ANSWERS\",false],\"__o3id3\":[\"/data/si/ACTION/answers$currentPageAnswers/hf/pageID\",\"\",\"IEG_ANSWERS\",false]}", ENDITEM, "Name=__o3fmeta_mandatory_data", "Value=", ENDITEM, "Name=__o3synch", "Value={p_o3synch_21}", ENDITEM, LAST); lr_end_transaction("11_MaleWithAPTC_33_Additional_Info",LR_AUTO); lr_think_time(ithinktime); lr_start_transaction("11_MaleWithAPTC_34_Disabilities"); web_reg_save_param("p_o3synch_23", "LB=__o3synch\" type=\"hidden\" value=\"", "RB=\"/>", "NotFound=Error", "Search=ALL", LAST); addDynaTraceHeader("NA=11_MaleWithAPTC_34_Disabilities_{dp_UserID};PC=ProcessScript.do_23"); web_custom_request("ProcessScript.do_23", "URL=https://{p_Webapp_URL}/CitizenPortal/ieg/ProcessScript.do?executionID={executionID}", "Method=POST", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer=https://{p_Webapp_URL}/CitizenPortal/ieg/Screening.do?executionID={executionID}&id={id}&o3ctx=1048688", "Snapshot=t56.inf", "Mode=HTML", "EncType=application/x-www-form-urlencoded; charset=UTF-8", "Body=__o3id6=YN2&__o3id8=YN2&__o3ida=YN2&__o3idc=YN2&__o3id0={executionID}&__o3id1=1048692&__o3id2=HealthCarePortal&__o3id3=AdditionalInfoForAllPage&__o3id4=22&__o3id5=true&validate-save-and-exit=true&iegExecutionID={executionID}&scriptID=HealthCarePortal&pageID=AdditionalInfoForAllPage&syncToken=22&iegScriptVersion=V1&iegScriptType=Portal&forwardParams=%26id%3D{id}&o3ctx=1048692&__o3fmeta=%7B%22__o3id9%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.isBlind.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3id8%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneBlind%22%2C%22Is%20anyone%20in%20the%20Application%20Group%20blind%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3id7%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.haveMedicalBill.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3id2%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FscriptID%22%2" "C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id1%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fo3ctx%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id0%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FexecutionID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id6%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneHasUnpaidMedicalBills%22%2C%22Does%20anyone%20in%20the%20household%20need%20help%20paying%20for%20medical%20bills%20from%20the%20last%203%20months%3F%22%2C%22IEG_YES_NO%22%2Cfalse%5D%2C%22__o3id5%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2Fvalidate-save-and-exit%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id4%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FsyncToken%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%22__o3id3%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fhf%2FpageID%22%2C%22%22%2C%22IEG_ANSWERS%22%2Cfalse%5D%2C%" "22__o3idd%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.hasLongTermCare.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3idc%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FlongTermCare%22%2C%22Does%20anyone%20in%20the%20Application%20Group%20need%20help%20with%20activities%20of%20daily%20living%20(i.e.%20bathing%2C%20eating)%20through%20home%20health%20services%2C%20a%20nursing%20home%2C%20or%20other%20medical%20facility%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%2C%22__o3idb%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_BOOLEAN%2FPerson.isDisabled.0%22%2C%22%22%2C%22IEG_BOOLEAN%22%2Cfalse%5D%2C%22__o3ida%22%3A%5B%22%2Fdata%2Fsi%2FACTION%2Fanswers%24currentPageAnswers%2Fans%2FIEG_YES_NO%2FanyoneDisabled%22%2C%22Is%20anyone%20in%20the%20Application%20Group%20disabled%3F%22%2C%22IEG_YES_NO%22%2Ctrue%5D%7D&__o3fmeta_mandatory_data=__o3id8%2C__o3idc%2C__o3ida&__o3synch={p_o3synch_22}", LAST); lr_end_transaction("11_MaleWithAPTC_34_Disabilities",LR_AUTO); lr_think_time(ithinktime); return 0; }
EmployerCreateAccount() { int savedcount, duplicatecount; web_set_sockets_option("SSL_VERSION", "TLS1.1"); web_reg_save_param("AUTH_TOKEN_1", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST); lr_start_transaction("INTEG_EMPLYR_0002_Click_on_Create_Account"); web_url("Create account", "URL={HTTP}://{EnrollAppLandingPage}/users/sign_up", "TargetFrame=", "Resource=0", "RecContentType=text/html", "Referer={HTTP}://{EnrollAppLandingPage}/users/sign_in", "Snapshot=t3.inf", "Mode=HTML", LAST); lr_end_transaction("INTEG_EMPLYR_0002_Click_on_Create_Account",LR_AUTO); lr_think_time(11); web_reg_save_param("AUTH_TOKEN_2", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST); web_reg_find("Text/IC=Your account has been created", "SaveCount=CreateAccountCount", LAST); lr_start_transaction("INTEG_EMPLYR_0003_Create_Account_Submit"); web_submit_data("users", "Action={HTTP}://{EnrollAppLandingPage}/users", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer={HTTP}://{EnrollAppLandingPage}/users/sign_up", "Snapshot=t4.inf", "Mode=HTML", "EncodeAtSign=YES", ITEMDATA, "Name=utf8", "Value=✓", ENDITEM, "Name=authenticity_token", "Value={AUTH_TOKEN_1}", ENDITEM, "Name=user[referer]", "Value={HTTP}://{EnrollAppLandingPage}/users/sign_in", ENDITEM, "Name=user[email]", "Value={pEmpPrefix}{FEIN}@test.com", ENDITEM, "Name=user[password]", "Value=Abcd!234", ENDITEM, "Name=user[password_confirmation]", "Value=Abcd!234", ENDITEM, "Name=user[invitation_id]", "Value=", ENDITEM, "Name=commit", "Value=Create account", ENDITEM, LAST); if (strcmp(lr_eval_string("{CreateAccountCount}"), "0") == 0) { lr_end_transaction("INTEG_EMPLYR_0003_Create_Account_Submit",LR_FAIL); lr_error_message("Failed to Create Account for::: %s%[email protected]", lr_eval_string("{pEmpPrefix}"), lr_eval_string("{FEIN}")); lr_exit(LR_EXIT_ITERATION_AND_CONTINUE, LR_AUTO); } else { lr_log_message("Successfully created account for ::: %s%[email protected]", lr_eval_string("{pEmpPrefix}"), lr_eval_string("{FEIN}")); lr_end_transaction("INTEG_EMPLYR_0003_Create_Account_Submit",LR_PASS); } return 0; }
EmployerAddBenefits() { web_reg_save_param("AUTH_TOKEN_3", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST); // web_reg_save_param_ex("ParamName=CorrelationParameter", "LB=option value=\"", "RB=\">Aetna", SEARCH_FILTERS, "Scope=Body", "IgnoreRedirections=No", LAST); lr_start_transaction("INTEG_EMPLYR_0007_Click_Add_Plan"); // web_url("new", // "URL={HTTP}://{EnrollAppLandingPage}/employers/employer_profiles/{EMPLOYER_ID}/plan_years/new", // "TargetFrame=", // "Resource=0", // "RecContentType=text/html", // "Referer={HTTP}://{EnrollAppLandingPage}/employers/employer_profiles/{EMPLOYER_ID}", // "Snapshot=t7.inf", // "Mode=HTML", // LAST); // web_link("click here", // "Text=click here", // "Snapshot=t25.inf", // EXTRARES, // "Url=recommend_dates?start_on=2016-01-01", "Referer={HTTP}://{EnrollAppLandingPage}/employers/employer_profiles/{EMPLOYER_ID}/plan_years/new?tab=benefits", ENDITEM, // "Url=5612dfc569702d080b010000/reference_plans?benefit_group={BENEFIT_GROUP_ID_3}&carrier_for_elected_plan=CareFirst&carrier_id=53e67210eb899a4603000004&plan_option_kind=single_carrier&start_on=2016", "Referer=http://enroll-preprod.dchbx.org/employers/employer_profiles/{EMPLOYER_ID}/plan_years/new?tab=benefits", ENDITEM, // "Url=search_reference_plan?start_on=2016-01-01&reference_plan_id=5603dfb069702d33bc170000&location_id=benefit-group-{BENEFIT_GROUP_ID_3}&_=1444077488637", "Referer=http://enroll-preprod.dchbx.org/employers/employer_profiles/{EMPLOYER_ID}/plan_years/new?tab=benefits", ENDITEM, // "Url=calc_employer_contributions?start_on=2016-01-01&reference_plan_id=5603dfb069702d33bc170000&plan_option_kind=single_carrier&relation_benefits%5B0%5D%5Brelationship%5D=employee&relation_benefits%5B0%5D%5Bpremium_pct%5D=50&relation_benefits%5B0%5D%5Boffered%5D=true&relation_benefits%5B1%5D%5Brelationship%5D=spouse&relation_benefits%5B1%5D%5Bpremium_pct%5D=0&relation_benefits%5B1%5D%5Boffered%5D=true&relation_benefits%5B2%5D%5Brelationship%5D=domestic_partner&" // "relation_benefits%5B2%5D%5Bpremium_pct%5D=0&relation_benefits%5B2%5D%5Boffered%5D=true&relation_benefits%5B3%5D%5Brelationship%5D=child_under_26&relation_benefits%5B3%5D%5Bpremium_pct%5D=0&relation_benefits%5B3%5D%5Boffered%5D=true&relation_benefits%5B4%5D%5Brelationship%5D=child_26_and_over&relation_benefits%5B4%5D%5Bpremium_pct%5D=0&relation_benefits%5B4%5D%5Boffered%5D=false&location_id=benefit-group-{BENEFIT_GROUP_ID_3}&_=1444077488638", "Referer=http://enroll-preprod.dchbx.org/employers/" // "employer_profiles/{EMPLOYER_ID}/plan_years/new?tab=benefits", ENDITEM, // LAST); lr_end_transaction("INTEG_EMPLYR_0007_Click_Add_Plan",LR_AUTO); lr_think_time(9); // Auth Token value Needed for the logout Class // web_reg_save_param("AUTH_TOKEN_4", "LB=<meta name=\"csrf-token\" content=\"", "RB=\" />", LAST); lr_start_transaction(lr_eval_string("INTEG_EMPLYR_0008_1_Add_Plan_Year_{TxName}")); web_submit_data("plan_years", "Action={HTTP}://{EnrollAppLandingPage}/employers/employer_profiles/{EMPLOYER_ID}/plan_years", "Method=POST", "TargetFrame=", "RecContentType=text/html", "Referer={HTTP}://{EnrollAppLandingPage}/employers/employer_profiles/{EMPLOYER_ID}/plan_years/new", "Snapshot=t8.inf", "Mode=HTML", ITEMDATA, "Name=utf8", "Value=✓", ENDITEM, "Name=authenticity_token", "Value={AUTH_TOKEN_4}", ENDITEM, "Name=plan_year[start_on]", "Value=2015-11-01", ENDITEM, "Name=plan_year[end_on]", "Value=2016-10-31", ENDITEM, "Name=plan_year[open_enrollment_start_on]", "Value=2015-08-25", ENDITEM, "Name=jq_datepicker_ignore_plan_year[open_enrollment_start_on]", "Value=08/25/2015", ENDITEM, "Name=plan_year[open_enrollment_end_on]", "Value=2015-10-10", ENDITEM, "Name=jq_datepicker_ignore_plan_year[open_enrollment_end_on]", "Value=10/10/2015", ENDITEM, "Name=plan_year[fte_count]", "Value={pEMPLOYEECOUNT}", ENDITEM, "Name=plan_year[pte_count]", "Value=0", ENDITEM, "Name=plan_year[msp_count]", "Value=0", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][title]", "Value=2015 Employer Benefits", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][effective_on_offset]", "Value=0", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][plan_option_kind]", "Value={PlanOption}", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][carrier_for_elected_plan]", "Value={Carrier_ID}", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][metal_level_for_elected_plan]", "Value={Metal_Level}", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][reference_plan_id]", "Value={ReferencePlan}", ENDITEM, "Name=reference_plan", "Value={ReferencePlan}", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=reference_plan", "Value=", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][0][relationship]", "Value=employee", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][0][premium_pct]", "Value=75", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][relationship]", "Value=spouse", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][premium_pct]", "Value=75", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][offered]", "Value=false", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][1][offered]", "Value=true", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][relationship]", "Value=domestic_partner", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][premium_pct]", "Value=75", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][offered]", "Value=false", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][2][offered]", "Value=true", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][relationship]", "Value=child_under_26", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][premium_pct]", "Value=75", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][offered]", "Value=false", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][3][offered]", "Value=true", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][relationship]", "Value=child_26_and_over", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][premium_pct]", "Value=75", ENDITEM, "Name=plan_year[benefit_groups_attributes][0][relationship_benefits_attributes][4][offered]", "Value=false", ENDITEM, LAST); lr_end_transaction(lr_eval_string("INTEG_EMPLYR_0008_1_Add_Plan_Year_{TxName}"), LR_AUTO); return 0; }