Highlighted
Absent Member.
Absent Member.
1030 views

LR 11, IE7, Web (Click and script) issue with Javascript, Tabbed browsing,Not recording events

Hi,

1) I am facing similar issue. I am recording scripts using
web(click and script), Loadrunner 11 , IE 7.
ii am trying to record script to generate report based on params submitted in the form.
After submitting the params and click on generate tab. A pop-up window opens saying report submitted successfully.when i replay the script i dont see the pop-up in replay.


I am seeing some javascript errors/warning)

Action.c(78): Notify: Transaction "C1-001-04_Enter_Report_Info" started.
Action.c(82): web_edit_field("reportName") was successful [MsgId: MMSG-26392]
Action.c(91): web_edit_field("note") was successful [MsgId: MMSG-26392]
Action.c(100): web_list("reportTypeParam") was successful [MsgId: MMSG-26392]
Action.c(108): web_list("ctIdParam") was successful [MsgId: MMSG-26392]
Action.c(118): web_edit_field("stAbsDate") was successful [MsgId: MMSG-26392]
Action.c(129): web_edit_field("stAbsDate_2") was successful [MsgId: MMSG-26392]
Action.c(140): web_edit_field("endAbsDate") was successful [MsgId: MMSG-26392]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(151): Warning -26276: JavaScript error (id=39) in line 693: TypeError: batch.iframe has no properties [MsgId: MWAR-26276]
Action.c(151): Warning -26276: JavaScript error (id=0) in line 1: JavaScript evaluation error when executing function (by pointer) [MsgId: MWAR-26276]
Action.c(151): Warning -26000: Evaluating decompiled script failed for "INPUT" DOM element (name="") "click", listed in the following line: [MsgId: MWAR-26000]
Action.c(151): Warning -26000: return submitForm('generate'); [MsgId: MWAR-26000]


2)

when the report(PDF) is generated.The page displays the list of reports.

when i click on the hyperlink the following fuction is being called.

lr_start_transaction("C1-001-07_Open_Report");

lr_think_time(26);

web_text_link("Intraday_2",
"Snapshot=t60.inf",
DESCRIPTION,
"Text=Intraday",
"Ordinal=1",
ACTION,
"UserAction=Click",
LAST);

lr_end_transaction("C1-001-07_Open_Report",LR_AUTO);

it will open a report in new tab in IE7 browser when recording. I dont see the pdf opened in Browser while i play back.There is some heavy javascript code in the page where i click on the href to open link.

log:
Action.c(178): Notify: Transaction "C1-001-07_Open_Report" started.
Action.c(182): Text-linking to "http://iex14.cmg.convergys.com/TV4/rv/rvFrames.jsp?encrypted=cid%3DIEX14C3%26oid%3D2a8e1c902b8e0ce6012b92d7945e069c%26f%3DPDF" [MsgId: MMSG-26248]
Action.c(182): Downloading a frame with URL="http://iex14.cmg.convergys.com/TV4/rv/rvDisposeFrame.jsp" [MsgId: MMSG-26241]
Action.c(182): Downloading a frame with URL="http://iex14.cmg.convergys.com/TV4/rv/rv.jsp?encrypted=cid%3DIEX14C3%26oid%3D2a8e1c902b8e0ce6012b92d7945e069c%26f%3DPDF" [MsgId: MMSG-26241]
Action.c(182): web_text_link("Intraday_2") was successful, 9645 body bytes, 991 header bytes, 39 chunking overhead bytes [MsgId: MMSG-26385]
Action.c(191): Notify: Transaction "C1-001-07_Open_Report" ended with "Pass" status (Duration: 1.2468 Wasted Time: 0.0060).
Action.c(193): Notify: Transaction "C1-001-08_Close_Report" started.
Action.c(195): Notify: Transaction "C1-001-08_Close_Report" ended with "Pass" status (Duration: 0.0005).
Action.c(197): Notify: Transaction "C1-001-09_Delete_Report" started.
Action.c(199): Notify: Transaction "C1-001-09_Delete_Report" ended with "Pass" status (Duration: 0.0012).
Action.c(201): Notify: Transaction "C1-001-10_Logout" started.

3) after this its not recording any events for the remaining transactions like, closing the report, deleting the report, loging out.

I do not see any of these snapshots in the playback.


issues : unable to see Pop-up window,PDF report and closing of the report, deleting report.

It coud be of tabbed browsing, javascript.i played around both nothing seems to work.

Please find the attachments.

Appreciate your help.

Thanks.

vikram.
0 Likes
2 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: LR 11, IE7, Web (Click and script) issue with Javascript, Tabbed browsing,Not recording events

1. Warnings you received are correct. ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol
2. You cannot view that PDF in the Vugen Runtime viewer.
3. It may be client side activity which has no interaction with server and not recorded.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: LR 11, IE7, Web (Click and script) issue with Javascript, Tabbed browsing,Not recording events

Hi Madan,

Right now we are using LoadRunner version 11. But we are not able to record any PDF transactions. We are able to see PDF fine on the same IE8 (manually). But when we record it, it is not showing up any content. Also we are not seeing any error.

Can you please suggest possible reasons for the same? or Do we need to change something in the recording options?

Thanks.
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.