Hi everyone,
I am trying to script a business process which works fine when I run through it step by step but when I run it for even 2 iterations it fails at the second one. I have correlated one value and there is one value which is parameterized. I am posting this again as the previous posts about this error have not been helpful. I have tried the solutions mentioned in them and they haven't worked.
I am using Loadrunner 12.02 Community license version, and trying to run iterations using run logic in VuGen and haven't tried to run this using Controller yet. The error is as follows:
Action.c(7): Error -27985: There is no context for HTML-based functions. A previous function may not have used "Mode=HTML" or downloaded only non-HTML page(s), or the context has been reset (e.g., due to a GUI-based function) [MsgId: MERR-27985]
Action.c(7): Warning -26379: Pending web_reg_save_param/reg_find/create_html_param[_ex] request(s) are deleted and will be handled as "not found" [MsgId: MWAR-26379]
Action.c(7): Error -26366: "Text=Maintain Learner" not found for web_reg_find [MsgId: MERR-26366]
Action.c(7): Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively. [MsgId: MERR-26374]
It occurs at the following step which is pretty much the first step in Action, there is only a web_reg_find function before it.
web_link("Find Learner",
"Text=Find Learner",
"Snapshot=t17.inf",
EXTRARES,
LAST);
From what I've gathered from the internet so far, people have said that the script is not at the same initial state at the end of the iteration as it is at the beginning of the iteration. Does this mean that the first step has to be the same as the last step within Action? Also, as far as I can see there is no GUI dependency in my script.
Any help regarding this will be appreciated! I'm happy to provide more information if needed. Cheers!