Issues when playing loadrunner nca script
I run into the following error when playing back my loadrunner script:
Action.c(148): nca_set_window("TKE Worksheet Entry")
Action.c(152): Error: nca_edit_set("277","slayton") failed, Window or object is not displayed.
The window currently in focus: "Error".
The last popup/alert message received: "stop - Cannot complete applications logon. You may have entered an invalid applications password, or there may have been a database connect error."
Abort was called from an action.
it seems my script works fine until the oracle form is displayed and does not recognize it. I have tried correlating the icx_ticket value but the correlation also does not work. Any suggestions/pointers are highly appreciated.
Re: Issues when playing loadrunner nca script
As far as I see from log lines provided, there is missed “icx_ticket” or/and “JSessionId” kinds of correlations.
Please be informed that script was recorded without “record=names” option enabled, so you have IDs (numbers, like "277") as controls identifiers, not a names. Why it is important? Each session NCA server can give different IDs for the same objects, it is not a problem for application because server dynamically binds s control and it’s ID. But LR can’t repeat this behavior, it can happen that the same ID was used to identify one control while recording, at replay stage already represents another controls or simply doesn’t exist.
To avoid that case, LR uses static controls’ names, that preserved by server for each session. You need to enable this mode “record=names” at your NCA environment before LR using.