Forum Stats

  • 3,874,451 Users
  • 2,266,734 Discussions
  • 7,911,852 Comments

Discussions

siebel content failure error

704770
704770 Member Posts: 81
edited Jun 5, 2009 6:30AM in QA/Testing
Hi,

I'm getting SIEBEL CONTENT FAILURE error when playing back in OPENSCRIPT.The err is thrown when user attempts to enter values in a new row.

Pls help.The OATS v is 8.5
«1

Answers

  • Alex
    Alex Member Posts: 799
    HI

    You should have an error number, these type or errors are due to not entering the correct data, eg a phone number not in the correct format or a duplicate name.

    Regards

    Alex
  • 704770
    704770 Member Posts: 81
    Hi,

    Thnkx.I'm still getting the SIEBEL CONTENT FAILURE err in OPENSCRIPT.The err msg is :

    Siebel content failure. Siebel error code SBL-UIF-00348

    oracle.oats.scripting.modules.siebel.api.exceptions.SiebelScriptException: Siebel content failure. Siebel error code SBL-UIF-00348
    at oracle.oats.scripting.modules.siebel.api.exceptions.SiebelScriptException.createSiebelContentFailure(SiebelScriptException.java:26)
  • Alex
    Alex Member Posts: 799
    Hi

    A 00348 is usually due to calling a method (from one of the many Siebel applets) which can not be called, e.g it would be grayed out in the interface, what are you trying to do? and have you checked to make sure that you can enter the same data manually?

    Something else to do is to make sure that the RowIds (a parameter) are correlated, a RowId is a parameter that links a set of data to a user, so you may be sending the correct data but the user is not the one that you are trying to update/create.

    Regards

    Alex
    Alex
  • 704770
    704770 Member Posts: 81
    Hi,

    I'm getting the err while entering values for a new rec(in my case LINE ITEM).Here,the user gives NOMINEE NAME(MANUALLY),NOMINEE RELN(DROP-DOWN),PRODUCT(PICK APPLET,being LANDLINE) etc.

    When I playback in OPENSCRIPT following is generated under POSTDATA for the new rec:

    POSTDATA:SWER=65535&SWEVI&SWERowId&SWEMethod=NewRecord&SWEC={{@SWECInc(1)}}&SWEReqRowId=0...&SWERowIds=SWERowId0={{_Siebel_CORRLIB_ROWID_1244023277003__S_BC5_S05_R01_FID_#_1-5X0R7}} etc.

    Pls tell me how do I parameterise the row id as suggested by you.
  • 704770
    704770 Member Posts: 81
    Hi,

    Adding to my previous reply,I correlate the script bfore playback(Script > Correlate Script).Pls tell how to correlate the row ids .
  • Alex
    Alex Member Posts: 799
    Hi

    do you think you can post all the post data of this navigation, fell free to just copy and paste the java code.

    RowID's should be correlated automatically however, the Siebel correlation library doesn't do a very good job of it, so some of them will have to be done manually and the regular expressions for them can be pretty difficult to write.

    Just be patient Siebel is one of the hardest platforms to script, regardless of which scripting tool you use.

    Regards

    Alex
    Alex
  • 704770
    704770 Member Posts: 81
    edited Jun 3, 2009 9:18AM
    Hi,



    public void run() throws Exception {
    getDatabank("UsePwdOrdRow3").getNextDatabankRecord();
    beginStep("[1] Siebel", 0);
    {
    http.get(2, "http://10.196.212.215/ecommunications_enu/start.swe", null, null, true, "UTF8", "UTF8");
    http.get(7, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "Login"), http.param("_sn", "myfKaV7G3gFJ7DzbcrkX63L9Z2XkgNJqW8WPN2vAECgDO22ncXaFLQ__"), http.param("SWEHo", "10.196.212.215"), http.param("SWETS", "1244024140")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[2] Login", 26562);
    {
    http.post(11, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEUserName", "ptest6"), http.param("SWEPassword", "ptest6"), http.param("SWEFo", "SWEEntryForm"), http.param("SWENeedContext", "false"), http.param("SWENoHttpRedir", "false"), http.param("SWECmd", "ExecuteLogin"), http.param("W", "t"), http.param("SWESPNR", ""), http.param("SWESPNH", ""), http.param("SWEH", ""), http.param("SWEC", "0"), http.param("SWEW", ""), http.param("SWEBID", "-1"), http.param("SWETS", "1244023252409"), http.param("SWEWN", "")), null, true, "UTF8", "UTF8");
    http.get(15, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "Login"), http.param("SWEPL", "1"), http.param("SWETS", "1244023252409")), null, true, "UTF8", "UTF8");
    http.get(19, "http://10.196.212.215/ecommunications_enu/wait.html", null, null, true, "iso-8859-1", "iso-8859-1");
    }
    endStep();
    beginStep("[3] Siebel", 2859);
    {
    http.get(23, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._swe")), null, true, "UTF8", "UTF8");
    http.get(27, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._swe._sweapp")), null, true, "UTF8", "UTF8");
    http.get(31, "http://10.196.212.215/ecommunications_enu/blank.htm", null, null, true, "UTF8", "utf-8");
    http.get(35, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._swe._sweattachment")), null, true, "UTF8", "UTF8");
    http.get(39, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._swe._swecdawksp")), null, true, "UTF8", "UTF8");
    http.get(43, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GotoPostedAction"), http.param("SWEACn", "21581"), http.param("SWEDIC", "true"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient"), http.param("SWECS", "true")), null, true, "UTF8", "UTF8");
    http.get(47, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWERT", "5"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient")), null, true, "UTF8", "UTF8");
    http.post(51, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "0"), http.param("SWERPC", "1"), http.param("SWEBHWND", "1053120"), http.param("SWEDIC", "true")), null, true, "UTF8", "UTF8");
    http.get(55, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._sweappmenu"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(59, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._sweviewbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(63, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._swethreadbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(67, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._swescrnbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(71, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._swecontent"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(75, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient.Toolbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[4] Siebel", 1015);
    {
    http.get(79, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn", "21581"), http.param("SWEC", "3"), http.param("SWEFrame", "top._sweclient._swecontent._sweview"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.post(83, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "3"), http.param("SWERPC", "1"), http.param("SWEView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWECmd", "GotoView"), http.param("SWEKeepContext", "1")), null, true, "UTF8", "UTF8");
    http.get(87, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[5] GetAlarms", 1781);
    {
    http.post(91, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "4"), http.param("SWEMethod", "GetAlarms"), http.param("SWERPC", "1"), http.param("SWEActiveApplet", "Layout Controls Applet"), http.param("SWECmd", "InvokeMethod"), http.param("SWEIPS=%400*0*5*0*0*3*0*8*interval4*150013*packUIStrings4*true9*alarmDate8*6/3/20095*SWEJI5*false3*now8*15:31:18"), http.param("SWEActiveView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWEService", "Alarm Manager")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[6] Refresh", 1187);
    {
    http.post(95, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "4"), http.param("SWEMethod", "UpdatePrefMsg"), http.param("SWERPC", "1"), http.param("SWECmd", "InvokeMethod"), http.param("SWEIPS", "@0*0*2*0*0*3*0*11*IsInitiated5*FALSE5*SWEBS1*1"), http.param("SWEBS", "1"), http.param("SWEService", "Message Bar")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[7] BSNL Order Entry Screen", 10828);
    {
    http.post(99, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "4"), http.param("SWERPC", "1"), http.param("SWEActiveApplet", "Layout Controls Applet"), http.param("SWECmd", "GotoPageTab"), http.param("SWEScreen", "BSNL Order Entry Screen"), http.param("SWEActiveView=CUT%20Home%20Page%20View%20(CME)")), null, true, "UTF8", "UTF8");
    http.get(103, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "Order Entry - Orders Screen Homepage View"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[8] Mirror Search GotoView", 12344);
    {
    http.post(107, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("s_3_1_9_0", "{{UsePwdOrdRow3.ORDERNO,19938707}}"), http.param("s_3_1_0_0", ""), http.param("s_3_1_7_0", ""), http.param("s_3_1_8_0", ""), http.param("SWEFo", "SWEForm3_0"), http.param("SWEField", "s_3_1_10_0"), http.param("SWENeedContext", "true"), http.param("SWENoHttpRedir", "true"), http.param("SWECmd", "InvokeMethod"), http.param("SWEMethod", "Mirror Search GotoView"), http.param("SWERowIds", ""), http.param("SWESP", "false"), http.param("SWEVI", ""), http.param("SWESPNR", ""), http.param("SWEPOC", ""), http.param("SWESPNH", ""), http.param("SWEH", ""), http.param("SWETargetView", ""), http.param("SWEDIC", "false"), http.param("SWEReqRowId", "1"), http.param("SWEView", "Order Entry - Orders Screen Homepage View"), http.param("SWEC", "5"), http.param("SWERowId", "{{UsePwdOrdRow3.ROW}}"), http.param("SWETVI", ""), http.param("SWEW", ""), http.param("SWEBID", "-1"), http.param("SWEM", ""), http.param("SWESPa", ""), http.param("SWETS", "1244023304253"), http.param("SWEContainer", ""), http.param("SWEWN", ""), http.param("SWEApplet", "Order Entry - Orders Home Search Virtual Form Applet"), http.param("SWETA", "")), null, true, "UTF8", "UTF8");
    http.get(111, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - My Orders View"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[9] Drilldown", 7391);
    {
    http.post(115, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWER", "0"), http.param("s_1_2_17_0", "STANDARD"), http.param("SWEVI", ""), http.param("SWERowId", "{{UsePwdOrdRow3.ROW,1-5X0R7}}"), http.param("SWEC", "6"), http.param("s_1_2_18_0", "NONOYT-GEN"), http.param("SWEMethod", "Drilldown"), http.param("s_1_2_19_0", "Permanent"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_1_2_40_0", "testp01 testp"), http.param("SWEApplet", "BSNL Order Entry - Order List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order List Applet"), http.param("SWEView", "BSNL Order Entry - My Orders View"), http.param("SWEField", "s_1_2_36_0"), http.param("SWECmd", "InvokeMethod"), http.param("s_1_2_21_0", ""), http.param("s_1_2_32_0", "Fixed Landline"), http.param("s_1_2_22_0", "demosu1"), http.param("s_1_2_44_0", "Walk-In"), http.param("s_1_2_34_0", ""), http.param("SWETS", "1244023313097"), http.param("SWEActiveView", "BSNL Order Entry - My Orders View"), http.param("s_1_2_24_0", "9002098088"), http.param("s_1_2_25_0", ""), http.param("s_1_2_47_0", ""), http.param("SWEP", ""), http.param("s_1_2_26_0", "Residential"), http.param("s_1_2_15_0=03/06/2009%2015:42:15"), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    http.get(119, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[10] GetQuickPickInfo", 9938);
    {
    http.post(123, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_64_0", "Y"), http.param("s_2_1_54_0", "testp01 testp"), http.param("SWEVI", ""), http.param("SWERowId", "1-5X0R7"), http.param("SWEC", "7"), http.param("SWEMethod", "GetQuickPickInfo"), http.param("s_2_1_67_0", ""), http.param("s_2_1_23_0", ""), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWEField", "s_2_1_23_0"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_70_0", ""), http.param("s_2_1_71_0", ""), http.param("s_2_1_6_0", "demosu1"), http.param("SWEJI", "false"), http.param("SWETS", "1244023324644"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_50_0", "N"), http.param("s_2_1_51_0", ""), http.param("SWEP", ""), http.param("s_2_1_30_0", ""), http.param("s_2_1_63_0", "Y"), http.param("s_2_1_41_0", "STANDARD"), http.param("s_2_1_9_0", "testp01 testp"), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[11] PostChanges", 3750);
    {
    http.post(127, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_64_0", "Y"), http.param("s_2_1_54_0", "testp01 testp"), http.param("SWEVI", ""), http.param("SWERowId", "1-5X0R7"), http.param("SWEC", "8"), http.param("SWEMethod", "PostChanges"), http.param("s_2_1_67_0", ""), http.param("s_2_1_23_0", "Y"), http.param("SWEPOC", "BSNL Credentials Collected"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_70_0", ""), http.param("s_2_1_71_0", ""), http.param("s_2_1_6_0", "demosu1"), http.param("SWETS", "1244023328519"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_50_0", "N"), http.param("s_2_1_51_0", ""), http.param("SWEP", ""), http.param("s_2_1_30_0", ""), http.param("s_2_1_63_0", "Y"), http.param("s_2_1_41_0", "STANDARD"), http.param("s_2_1_9_0", "testp01 testp"), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[12] WriteRecord", 5344);
    {
    http.post(131, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_64_0", "Y"), http.param("s_2_1_54_0", "testp01 testp"), http.param("SWEVI", ""), http.param("SWERowId", "1-5X0R7"), http.param("SWEC", "9"), http.param("SWEMethod", "WriteRecord"), http.param("s_2_1_67_0", ""), http.param("s_2_1_23_0", "Y"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_70_0", ""), http.param("s_2_1_71_0", ""), http.param("s_2_1_6_0", "demosu1"), http.param("SWETS", "1244023334191"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_50_0", "N"), http.param("s_2_1_51_0", ""), http.param("SWEP", ""), http.param("s_2_1_30_0", ""), http.param("s_2_1_63_0", "Y"), http.param("s_2_1_41_0", "STANDARD"), http.param("s_2_1_9_0", "testp01 testp"), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    http.post(135, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "10"), http.param("SWEScrollTop", "3*296"), http.param("SWERPC", "1"), http.param("SWENeedContext", "false"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWECmd", "GotoView"), http.param("SWEScrollId", "s_vctrl_div"), http.param("SWEKeepContext", "1"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View")), null, true, "UTF8", "UTF8");
    http.get(139, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[13] NewRecord", 4765);---- FAILS HERE(CONTENT FAILURE 00348)
    {
    http.post(143, "http://10.196.212.215/ecommunications_enu/start.swe", null, http.postdata(http.param("SWER", "65535"), http.param("SWEVI", ""), http.param("SWERowId", ""), http.param("SWEMethod", "NewRecord"), http.param("SWEC", "11"), http.param("SWEReqRowId", "0"), http.param("SWERPC", "1"), http.param("SWENeedContext", "true"), http.param("SWEApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEField", "s_1_1_30_0"), http.param("SWECmd", "InvokeMethod"), http.param("SWESP", "false"), http.param("SWEBID", "-1"), http.param("SWETS", "1244023341332"), http.param("SWEActiveView", "BSNL Order Entry - Line Items View"), http.param("SWEDIC", "false"), http.param("SWEP", ""), http.param("SWERowIds", "SWERowId0=1-5X0R7")), null, true, "UTF8", "UTF8");
    http.get(147, "http://10.196.212.215/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEVI", ""), http.param("SWEVLC", "1-1JM7S_Siebel+Power+Communications_43%7c1240505123%7c1242046205_0_20412_000_L")), null, true, "UTF8", "UTF8");
    }
    endStep();

    Edited by: user871870 on Jun 3, 2009 6:17 AM
  • Alex
    Alex Member Posts: 799
    Hi

    Did you remove the correlation before you posted the code, most of the parameters are not correlated, please post the code again after you:

    In OpenScript: Script -> Correlate Script -> Make sure you select the Siebel module libraries and click OK.

    Regards

    Alex
    Alex
  • 704770
    704770 Member Posts: 81
    Hi,

    public void run() throws Exception {
    beginStep("[1] Siebel", 0);
    {
    http.get(2, "http://10.196.215.47/ecommunications_enu/start.swe", null, null, true, "UTF8", "UTF8");
    {
    http.solve("siebelsn", "name=\"_sn\" value=\"(.+?)\"", "", false, Source.Html, null);
    }
    http.get(7, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "Login"), http.param("_sn={{siebelsn,0Mjup1qwNoAl9n.J3gw-t0YINvCGAgmY.XlyodeQn7w_}}"), http.param("SWEHo", "10.196.215.47"), http.param("SWETS", "1244094075")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[2] Login", 7031);
    {
    http.post(11, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEUserName", "ptest6"), http.param("SWEPassword", "ptest6"), http.param("SWEFo", "SWEEntryForm"), http.param("SWENeedContext", "false"), http.param("SWENoHttpRedir", "false"), http.param("SWECmd", "ExecuteLogin"), http.param("W", "t"), http.param("SWESPNR", ""), http.param("SWESPNH", ""), http.param("SWEH", ""), http.param("SWEC", "{{@SWECSet(0,3)}}"), http.param("SWEW", ""), http.param("SWEBID", "-1"), http.param("SWETS={{@timestamp}}"), http.param("SWEWN", "")), null, true, "UTF8", "UTF8");
    http.get(15, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "Login"), http.param("SWEPL", "1"), http.param("SWETS", "timestamp")), null, true, "UTF8", "UTF8");
    {
    http.solve("SWEACn", "SWEACn=(\\d+)", "", false, Source.Html, null);
    }
    http.get(19, "http://10.196.215.47/ecommunications_enu/wait.html", null, null, true, "iso-8859-1", "iso-8859-1");
    }
    endStep();
    beginStep("[3] Siebel", 3515);
    {
    http.get(23, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._swe")), null, true, "UTF8", "UTF8");
    {
    http.solve("SWEACn", "SWEACn=(\\d+)", "", false, Source.Html, null);
    }
    http.get(27, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._swe._sweapp")), null, true, "UTF8", "UTF8");
    {
    http.solve("SWEACn", "SWEACn=(\\d+)", "", false, Source.Html, null);
    http.solve("SWEVLC", "[`^~]cks[`^~](\\S+?)[`^~]", "", false, Source.Html, null);
    }
    http.get(31, "http://10.196.215.47/ecommunications_enu/blank.htm", null, null, true, "UTF8", "utf-8");
    http.get(35, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._swe._sweattachment")), null, true, "UTF8", "UTF8");
    http.get(39, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._swe._swecdawksp")), null, true, "UTF8", "UTF8");
    http.get(43, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GotoPostedAction"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEDIC", "true"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient"), http.param("SWECS", "true")), null, true, "UTF8", "UTF8");
    http.get(47, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWERT", "5"), http.param("SWEC", "{{@SWECInc(-3)}}"), http.param("SWEFrame", "top._sweclient")), null, true, "UTF8", "UTF8");
    {
    http.solve("SWEACn", "SWEACn=(\\d+)", "", false, Source.Html, null);
    }
    http.post(51, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECInc(3)}}"), http.param("SWERPC", "1"), http.param("SWEBHWND", "12255832"), http.param("SWEDIC", "true")), null, true, "UTF8", "UTF8");
    http.get(55, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._sweappmenu"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(59, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._sweviewbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(63, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._swethreadbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(67, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._swescrnbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(71, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._swecontent"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    {
    http.solve("SWEACn", "SWEACn=(\\d+)", "", false, Source.Html, null);
    }
    http.get(75, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient.Toolbar"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.get(79, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWENeedContext", "false"), http.param("SWECmd", "GetCachedFrame"), http.param("SWEACn={{SWEACn,11291}}"), http.param("SWEC", "{{@SWECount}}"), http.param("SWEFrame", "top._sweclient._swecontent._sweview"), http.param("SWEBID", "-1"), http.param("SWETS", "")), null, true, "UTF8", "UTF8");
    http.post(83, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWERPC", "1"), http.param("SWEView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWECmd", "GotoView"), http.param("SWEKeepContext", "1")), null, true, "UTF8", "UTF8");
    {
    siebel.solve("_Siebel_CORRLIB_ROWID_1244093972687__S_BC2_S01_R01_FID_#_VRId-0", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    }
    http.get(87, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[4] GetAlarms", 2250);
    {
    http.post(91, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECount}}"), http.param("SWEMethod", "GetAlarms"), http.param("SWERPC", "1"), http.param("SWEActiveApplet", "Layout Controls Applet"), http.param("SWECmd", "InvokeMethod"), http.param("SWEIPS=%400*0*5*0*0*3*0*8*interval4*150013*packUIStrings4*true9*alarmDate8*6/4/20095*SWEJI5*false3*now8*11:09:35"), http.param("SWEActiveView=CUT%20Home%20Page%20View%20(CME)"), http.param("SWEService", "Alarm Manager")), null, true, "UTF8", "UTF8");
    http.post(95, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECount}}"), http.param("SWEMethod", "UpdatePrefMsg"), http.param("SWERPC", "1"), http.param("SWECmd", "InvokeMethod"), http.param("SWEIPS", "@0*0*2*0*0*3*0*11*IsInitiated5*FALSE5*SWEBS1*1"), http.param("SWEBS", "1"), http.param("SWEService", "Message Bar")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[5] BSNL Order Entry Screen", 2172);
    {
    http.post(99, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWERPC", "1"), http.param("SWEActiveApplet", "Layout Controls Applet"), http.param("SWECmd", "GotoPageTab"), http.param("SWEScreen", "BSNL Order Entry Screen"), http.param("SWEActiveView=CUT%20Home%20Page%20View%20(CME)")), null, true, "UTF8", "UTF8");
    http.get(103, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "Order Entry - Orders Screen Homepage View"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[6] Mirror Search GotoView", 20609);
    {
    http.post(107, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_9_0", "1146241436"), http.param("s_2_1_10_0", ""), http.param("s_2_1_13_0", ""), http.param("s_2_1_12_0", ""), http.param("s_2_1_0_0", ""), http.param("s_2_1_11_0", ""), http.param("SWEFo", "SWEForm2_0"), http.param("SWEField", "s_2_1_8_0"), http.param("SWENeedContext", "true"), http.param("SWENoHttpRedir", "true"), http.param("SWECmd", "InvokeMethod"), http.param("SWEMethod", "Mirror Search GotoView"), http.param("SWERowIds", ""), http.param("SWESP", "false"), http.param("SWEVI", ""), http.param("SWESPNR", ""), http.param("SWEPOC", ""), http.param("SWESPNH", ""), http.param("SWEH", ""), http.param("SWETargetView", ""), http.param("SWEDIC", "false"), http.param("SWEReqRowId", "1"), http.param("SWEView", "Order Entry - Orders Screen Homepage View"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWERowId", ""), http.param("SWETVI", ""), http.param("SWEW", ""), http.param("SWEBID", "-1"), http.param("SWEM", ""), http.param("SWESPa", ""), http.param("SWETS={{@timestamp}}"), http.param("SWEContainer", ""), http.param("SWEWN", ""), http.param("SWEApplet", "Order Entry - Orders Home Search Virtual Form Applet"), http.param("SWETA", "")), null, true, "UTF8", "UTF8");
    {
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F18_#_Permanent", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F17_#_Residential", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F27_#_Walk-In", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F05_#_9000010497", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F26_#_STANDARD", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F16_#_NONOYT-GEN", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F08_#_002", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_x_1-2F2GM4", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    }
    http.get(111, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - My Orders View"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[7] Drilldown", 2156);
    {
    http.post(115, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_1_2_27_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F18_#_Permanent}}"), http.param("SWER", "0"), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("s_1_2_29_0", ""), http.param("SWEMethod", "Drilldown"), http.param("s_1_2_19_0", "Fixed Landline"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("SWEApplet", "BSNL Order Entry - Order List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order List Applet"), http.param("s_1_2_41_0", "stestp02 stestp"), http.param("SWEView", "BSNL Order Entry - My Orders View"), http.param("s_1_2_31_0", ""), http.param("SWEField", "s_1_2_37_0"), http.param("SWECmd", "InvokeMethod"), http.param("s_1_2_32_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F17_#_Residential}}"), http.param("s_1_2_33_0", ""), http.param("s_1_2_45_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F27_#_Walk-In}}"), http.param("s_1_2_34_0", ""), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - My Orders View"), http.param("s_1_2_35_0=04/06/2009%2011:09:03"), http.param("s_1_2_24_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F05_#_9000010497}}"), http.param("s_1_2_25_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F26_#_STANDARD}}"), http.param("SWEP", ""), http.param("s_1_2_48_0", ""), http.param("s_1_2_26_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F16_#_NONOYT-GEN}}"), http.param("s_1_2_15_0", "{{_Siebel_CORRLIB_FIELD_1244094005093__S_BC1_S39_R01_F08_#_002}}"), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    {
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F67_#_Y", "_Siebel_CORRLIB_FIELD__BOOL", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F57_#_N", "_Siebel_CORRLIB_FIELD__BOOL", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F63_#_Y", "_Siebel_CORRLIB_FIELD__BOOL", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F27_#_002", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F50_#_STANDARD", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    }
    http.get(119, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[8] GetQuickPickInfo", 7859);
    {
    http.post(123, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_20_0", ""), http.param("s_2_1_75_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F67_#_Y}}"), http.param("s_2_1_31_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F57_#_N}}"), http.param("s_2_1_43_0", ""), http.param("s_2_1_76_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F63_#_Y}}"), http.param("s_2_1_32_0", ""), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("s_2_1_44_0", ""), http.param("SWEMethod", "GetQuickPickInfo"), http.param("s_2_1_34_0", "stestp02 stestp"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("s_2_1_47_0", ""), http.param("s_2_1_58_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F27_#_002}}"), http.param("s_2_1_39_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F50_#_STANDARD}}"), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWEField", "s_2_1_47_0"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_6_0", ""), http.param("SWEJI", "false"), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_8_0", "stestp02 stestp"), http.param("SWEP", ""), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[9] PostChanges", 2203);
    {
    http.post(127, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_20_0", ""), http.param("s_2_1_75_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F67_#_Y}}"), http.param("s_2_1_31_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F57_#_N}}"), http.param("s_2_1_43_0", ""), http.param("s_2_1_76_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F63_#_Y}}"), http.param("s_2_1_32_0", ""), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("s_2_1_44_0", ""), http.param("SWEMethod", "PostChanges"), http.param("s_2_1_34_0", "stestp02 stestp"), http.param("SWEPOC", "BSNL Credentials Collected"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("s_2_1_47_0", "None"), http.param("s_2_1_58_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F27_#_002}}"), http.param("s_2_1_39_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F50_#_STANDARD}}"), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_6_0", ""), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_8_0", "stestp02 stestp"), http.param("SWEP", ""), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[10] WriteRecord", 3031);
    {
    http.post(131, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_2_1_20_0", ""), http.param("s_2_1_75_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F67_#_Y}}"), http.param("s_2_1_31_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F57_#_N}}"), http.param("s_2_1_43_0", ""), http.param("s_2_1_76_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F63_#_Y}}"), http.param("s_2_1_32_0", ""), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("s_2_1_44_0", ""), http.param("SWEMethod", "WriteRecord"), http.param("s_2_1_34_0", "stestp02 stestp"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_2_1_68_0", ""), http.param("s_2_1_47_0", "None"), http.param("s_2_1_58_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F27_#_002}}"), http.param("s_2_1_39_0", "{{_Siebel_CORRLIB_FIELD_1244094011109__S_BC1_S75_R01_F50_#_STANDARD}}"), http.param("SWEApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Detail Orders View"), http.param("SWECmd", "InvokeMethod"), http.param("s_2_1_6_0", ""), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View"), http.param("s_2_1_8_0", "stestp02 stestp"), http.param("SWEP", ""), http.param("SWERowIds", "")), null, true, "UTF8", "UTF8");
    http.post(135, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWEScrollTop", "3*327"), http.param("SWERPC", "1"), http.param("SWENeedContext", "false"), http.param("SWEActiveApplet", "BSNL Order Entry - Order More Info Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWECmd", "GotoView"), http.param("SWEScrollId", "s_vctrl_div"), http.param("SWEKeepContext", "1"), http.param("SWEActiveView", "BSNL Order Entry - Detail Orders View")), null, true, "UTF8", "UTF8");
    http.get(139, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[11] NewRecord", 4078);----FAILS HERE(SBL-UIF 00348)
    {
    http.post(143, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("SWER", "65535"), http.param("SWEVI", ""), http.param("SWERowId", ""), http.param("SWEMethod", "NewRecord"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWEReqRowId", "0"), http.param("SWERPC", "1"), http.param("SWENeedContext", "true"), http.param("SWEApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEField", "s_1_1_30_0"), http.param("SWECmd", "InvokeMethod"), http.param("SWESP", "false"), http.param("SWEBID", "-1"), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Line Items View"), http.param("SWEDIC", "false"), http.param("SWEP", ""), http.param("SWERowIds", "SWERowId0={{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}")), null, true, "UTF8", "UTF8");
    {
    siebel.solve("_Siebel_CORRLIB_ROWID_1244094038266__S_BC1_S19_R01_F16_#_1-2F2H8K", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_FIELD_1244094038266__S_BC1_S19_R02_F12_#_1", "_Siebel_CORRLIB_FIELD__TEXT", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_ROWID_1244094038266__S_BC1_S19_R01_F16_#_x_1-2F2H8K", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    siebel.solve("_Siebel_CORRLIB_ROWID_1244094038266__S_BC1_S19_R01_F16_#_d_1-2F2H8K", "_Siebel_CORRLIB_ROWID", null, false, Source.Html);
    }
    http.get(147, "http://10.196.215.47/ecommunications_enu/start.swe", http.querystring(http.param("SWECmd", "GetViewLayout"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEVI", ""), http.param("SWEVLC={{SWEVLC,1-29MS90_Siebel%2BPower%2BCommunications_43%257c1243956896%257c1244037306_0_20412_000_L}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[12] GetQuickPickInfo", 14454);
    {
    http.post(151, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_1_2_38_0", ""), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094038266__S_BC1_S19_R01_F16_#_1-2F2H8K}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWEMethod", "GetQuickPickInfo"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_1_2_50_0", "{{_Siebel_CORRLIB_FIELD_1244094038266__S_BC1_S19_R02_F12_#_1}}"), http.param("SWEApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWEField", "s_1_2_58_0"), http.param("SWECmd", "InvokeMethod"), http.param("SWEJI", "false"), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Line Items View"), http.param("s_1_2_68_0", "stestp stestp02"), http.param("s_1_2_57_0", "sstest"), http.param("s_1_2_58_0", ""), http.param("SWEP", ""), http.param("SWERowIds", "SWERowId0={{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}")), null, true, "UTF8", "UTF8");
    }
    endStep();
    beginStep("[13] PostChanges", 2203);
    {
    http.post(155, "http://10.196.215.47/ecommunications_enu/start.swe", null, http.postdata(http.param("s_1_2_38_0", ""), http.param("SWEVI", ""), http.param("SWERowId", "{{_Siebel_CORRLIB_ROWID_1244094038266__S_BC1_S19_R01_F16_#_1-2F2H8K}}"), http.param("SWEC", "{{@SWECInc(1)}}"), http.param("SWEMethod", "PostChanges"), http.param("SWEPOC", "BSNL Nominee Relation"), http.param("SWEReqRowId", "1"), http.param("SWERPC", "1"), http.param("s_1_2_50_0", "{{_Siebel_CORRLIB_FIELD_1244094038266__S_BC1_S19_R02_F12_#_1}}"), http.param("SWEApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEActiveApplet", "BSNL Order Entry - Line Item List Applet"), http.param("SWEView", "BSNL Order Entry - Line Items View"), http.param("SWECmd", "InvokeMethod"), http.param("SWETS={{@timestamp}}"), http.param("SWEActiveView", "BSNL Order Entry - Line Items View"), http.param("s_1_2_68_0", "stestp stestp02"), http.param("s_1_2_57_0", "sstest"), http.param("s_1_2_58_0", "Brother"), http.param("SWEP", ""), http.param("SWERowIds", "SWERowId0={{_Siebel_CORRLIB_ROWID_1244094005093__S_BC1_S39_R01_FID_#_1-2F2GM4}}")), null, true, "UTF8", "UTF8");
    }
    endStep();


    I've deleted other steps as it is excedding the limit.It fails at step 11.
  • 704770
    704770 Member Posts: 81
    Hi,

    Pls update.I'm unable to proceed.I've attached the updated code as requested by you.
This discussion has been closed.