Thursday

The window currently in focus: "Error" with NCA+web Protocol


While working with Oracle apps + LoadRunner, most of the times we face the below kind of error

##############################################################
P.S.: Code used from ITRC Forum posted by one of the member of LoadRunner experts
##############################################################

nca_set_window("Potential Duplicate Service Requests");

/*nca_java_action("SR_DUP_GRID_DUP_GRID_0", "resourceRequest", "resources==[29]JTF_GRID_EXPORT_PROGRESS_MESS[27]JTF_GRID_EXPORT_IN_PROGRESS[30]JTF_GRID_FIND_IN_PROGRESS_MESS[25]JTF_GRID_FIND_IN_PROGRESS[28]JTF_GRID_PRINT_PROGRESS_MESS[26]JTF_GRID_PRINT_IN_PROGRESS[28]JTF_GRID_POPUP_COPY_ALL_ROWS[24]JTF_GRID_POPUP_COPY_CELL[28]JTF_GRID_POPUP_COPY_SEL_ROWS[19]JTF_GRID_POPUP_FIND[19]JTF_GRID_POPUP_GOTO[22]JTF_GRID_POPUP_REFRESH[19]JTF_GRID_POPUP_SORT[30]JTF_GRID_HPOPUP_CUSTOMIZATIONS[24]JTF_GRID_HPOPUP_HIDE_COL[27]JTF_GRID_HPOPUP_OPEN_CUSTOM[27]JTF_GRID_HPOPUP_SAVE_CUSTOM[30]JTF_GRID_HPOPUP_SAVE_CUSTOM_AS[28]JTF_GRID_HPOPUP_CLEAR_CUSTOM[29]JTF_GRID_HPOPUP_SHOW_ALL_COLS[24]JTF_GRID_HPOPUP_SHOW_COL;");*/

//nca_java_action("SR_DUP_GRID_DUP_GRID_0", "msgRequested", "");

nca_set_window("Contact Center");

nca_edit_set("CUSTOMER_HEADER_BLK_CUST_PARTY_NAME_0", "Test Customer 14b");

nca_obj_type("CUSTOMER_HEADER_BLK_CUST_PARTY_NAME_0", '\t', 0);

nca_tab_select_item("CC_MAIN_TAB_CANVAS", "Invoices");

//nca_java_action("CSC_INVOICE_GRID_CONTROL_INVOICE_GRID_0", "selectionStateChanged", "currentSelectionState==1;");

//nca_java_action("CSC_INVOICE_GRID_CONTROL_INVOICE_GRID_0", "focusChanged", "currentColumn== ;currentRow==1;");

//nca_java_action("CSC_INVOICE_GRID_CONTROL_INVOICE_GRID_0", "focusChanged", "currentColumn== ;currentRow==2;");

nca_button_press("CSC_INVOICE_TRANSACTIONS_TRXDETAILS_0");

nca_set_window("Transaction Details");

nca_scroll_line("SCROLLBAR.Transaction Details", 1);

nca_scroll_line("SCROLLBAR.Transaction Details", 1);

nca_edit_click("IEX_INVOICE_LINES_V_PRICE_PER_UNIT_2");

nca_edit_click("IEX_INVOICE_LINES_V_ITEM_DESCRIPTION_2");

nca_menu_select_item("Transaction Details", "Tools;Item Details");

nca_set_window("Transaction Line Details");


Error message from Extended Log :


Action.c(599): t=74730ms: 20-byte request body for "http://goleod.fdi.1dc.com:9050/webforms/110/" (RelFrameId=1, Internal ID=70)
Action.c(599): \xD2\xDE\xB8\xBE\x9AT<\\\x1E\xBBD"F\xC9\x9C%\xE6W,x
Action.c(599): t=75199ms: 50-byte response headers for "http://goleod.fdi.1dc.com:9050/webforms/110/" (RelFrameId=1, Internal ID=70)
Action.c(599): HTTP/1.1 200 OK\r\n
Action.c(599): Content-length: 2\r\n
Action.c(599): Sessid: 11\r\n
Action.c(599): \r\n
Action.c(599): t=75207ms: 2-byte response body for "http://goleod.fdi.1dc.com:9050/webforms/110/" (RelFrameId=1, Internal ID=70)
Action.c(599): PI
Action.c(599): t=75223ms: Request done "http://goleod.fdi.1dc.com:9050/webforms/110/" [MsgId: MMSG-26000]
Action.c(599): Server Terminate Message: #19
Action.c(599): nca_button_press("CSC_INVOICE_TRANSACTIONS_TRXDETAILS_0")
Action.c(601): nca_set_window("Transaction Details")
Action.c(603): E_DISABLED: S:\oragui85\nt\813\app\oraclrep\src\tslfuncs.cpp 657
Action.c(603): Error: nca_scroll_line("SCROLLBAR.Transaction Details") failed, Window or object is disabled
The window currently in focus: "Error".
The last popup/alert message received: "stop - ORA-01403: no data found
"
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
Action.c(603): t=75342ms: Closed connection to goleod.fdi.1dc.com:9050 after completing 23 requests [MsgId: MMSG-26000]

###################################################################

Do you think of possibilities why this occur?

Tip of the day : Finding a software Testing Job

here are many people who would like to get software testing jobs, but they are unsure about how to approach it. This may seem like a dream j...