OpenScript - Variable Not Found Issue
936558May 10 2012 — edited May 11 2012Hi,
I am struggling with OpenScript and OLT and being very new to this type of environment am a bit lost as to where to start fixing the issue.
I am recording an ADF performance script. It is an RPAS application. When I play back the script using the same user it will generally play back successfully. However the minute I use a databank to use alternative users I start getting variable not found and could not solve variable errors.
While the data in some of the screens is slightly different the layout doesn not changed and I have confirmed via navigating the script with multiple users that they can follow the path recorded.
The most common error right now is:
+Variable "dialogUrl" not found for string: http://ndcexav-mode-rpasfc-tst-admin.production.fr-prod.edcon.co.za:6330{{dialogUrl,/aip_perf/faces/adf.dialog-request?_adf.ctrl-state=ds8cwd0s_7&_rtrnId=1336679165711&__ADFvDlg__=true}}+
It happens in the same place in the script for all users.
I don't know if its useful or not but here is the Java Code that I think is relevant:
{
http.solve("dialogUrl", "_dialogURL':'(.+?)'", "", true,
Source.Html, 0, EncodeOptions.None);
http.solve("ADFContentAction_1", "<content action=\"(.+?)\">",
"", true, Source.Html, 0, EncodeOptions.XMLDecode);
http
.solve(
"javax.faces.ViewState1_4",
"<input type=\"hidden\" name=\"javax\\.faces\\.ViewState\" value=\"(.+?)\"",
"", true, Source.Html, 0, EncodeOptions.None);
}+
http+
.get(
1487,
"http://ndcexav-mode-rpasfc-tst-admin.production.fr-prod.edcon.co.za:6330{{dialogUrl,/aip_perf/faces/adf.dialog-request?_adf.ctrl-state=ds8cwd0s_7&_rtrnId=1336679165711&__ADFvDlg__=true}}",
null, null, true, "Cp1252", "UTF8");
I would appreciate any bump in the right direction as I have been struggling for a few days and don't really know how to go about resolving the issue.
Thanks in advance.....
Edited by: 933555 on 2012/05/10 1:18 PM