Highlighted
Absent Member.
Absent Member.
710 views

nca_flex_set_cell_data & nca_obj_mouse_click problem in loadrunner

Hi,
While replaying LoadRunner script I am facing the below problems.

The scripts are recorded by dual protocol : Oracle NCA and Web(HTTP/HTML)

1. One script is failing for the function : nca_flex_set_cell_data (Probably)

Part Of the script :

nca_edit_click("ADDRESS_ADDRESS_TAB_DESC_FLEX_1");
nca_set_window("Adresse");
nca_flex_set_cell_data("Adresse", "Address Line1", "", "teststr 10");

Part of the Log :

Server Terminate Message: #54
Action.c(60): nca_edit_click("ADDRESS_ADDRESS_TAB_DESC_FLEX_1")
Action.c(62): nca_set_window("Adresse")
Action.c(64): ObjID=295, Name=Adresse bearbeiten, Visible=0
Action.c(64): E_DISABLED: S:\oragui85\nt\813\app\oraclrep\src\tslfuncs.cpp 645
Action.c(64): Error: nca_flex_set_cell_data("Adresse","Address Line1","","teststr 10") failed, Window or object is disabled
The window currently in focus: "Contact-Center".

2. Another script is failing for the function : nca_obj_mouse_click / nca_obj_type (Probably)

part of the script :

nca_obj_mouse_click("LINE_ORDERED_ITEM_DSP_0", 41, 12, 0);

lr_start_transaction("PutArtikel");

nca_obj_mouse_click("LINE_ORDERED_ITEM_DSP_0", 80, 18, 0);

nca_edit_set("LINE_ORDERED_ITEM_DSP_0", "{Artikel1}");

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

lr_end_transaction("PutArtikel",LR_AUTO);

Part of the Log :

2-byte response body for "http://goleod.fdi.1dc.com:9050/webforms/110/" (RelFrameId=1, Internal ID=126)
Action.c(74): )\x1D
Action.c(74): t=205437ms: Request done "http://goleod.fdi.1dc.com:9050/webforms/110/" [MsgId: MMSG-26000]
Action.c(74): Server Terminate Message: #71
Action.c(74): nca_edit_set("LINE_ORDERED_ITEM_DSP_0","02000222-I")
Action.c(76): E_DISABLED: S:\oragui85\nt\813\app\oraclrep\src\tslfuncs.cpp 657
Action.c(76): Error: nca_obj_type("LINE_ORDERED_ITEM_DSP_0") failed, Window or object is disabled
The window currently in focus: "Hinweis".


Please let me know if any information is required.

I need urgent help.So please response as soon as possible.
0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: nca_flex_set_cell_data & nca_obj_mouse_click problem in loadrunner

The " nca_edit_click("ADDRESS_ADDRESS_TAB_DESC_FLEX_1");
" is failing so the expected window is not diaplayed.

Try and record your script by using keyboard navigation instead of using the mouse.

Search this forum for Oracle NCA and you will find links to some articles that will help you successfully create an NCA/Web script.

Alan
0 Likes
Highlighted
Contributor.
Contributor.

Re: nca_flex_set_cell_data & nca_obj_mouse_click problem in loadrunner

Tried to use keyboards keys instead of mouse clicks but still getting same error.
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.