Перейти к содержимому

Фотография

LR9.5 скрипт Web Click and Script


  • Авторизуйтесь для ответа в теме
В теме одно сообщение

#1 dimon_sibir

dimon_sibir

    Новый участник

  • Members
  • Pip
  • 8 сообщений
  • ФИО:Дмитрий Сибиров

Отправлено 19 апреля 2011 - 10:15

web_edit_field("j_username",
"Snapshot=t5.inf",
DESCRIPTION,
"Type=text",
"Name=j_username",
ACTION,
"SetValue=user321",
LAST);

web_edit_field("j_password",
"Snapshot=t6.inf",
DESCRIPTION,
"Type=password",
"Name=j_password",
ACTION,
"SetEncryptedValue=4dad4aefcef2def3cae04f83",
LAST);

web_edit_field("j_password_2",
"Snapshot=t7.inf",
DESCRIPTION,
"Type=password",
"Name=j_password",
ACTION,
"UserAction=Submit",
LAST);

web_text_link("СВТ",
"Snapshot=t8.inf",
DESCRIPTION,
"Text=СВТ",
ACTION,
"UserAction=Click",
LAST);

web_text_link("Применить",
"Snapshot=t9.inf",
DESCRIPTION,
"Text=Применить",
"FrameName=isolatedWorkArea",
ACTION,
"UserAction=Click",
LAST);


lr_think_time(5);

web_text_link("Ввод значений/Обработка",
"Snapshot=t10.inf",
DESCRIPTION,
"Text=Ввод значений/Обработка",
"FrameName=isolatedWorkArea",
ACTION,
"UserAction=Click",
LAST);

вылетает ошибка на последнем блоке Action.c(47) сод 26161 Frame not found in browser/dialog ... если взять и закомментировать то и на всех последующих так же... как быть? где вылетает ошибка - выделено цветом
спасибо тем кто подскажет путь решения проблемы. да и просто за внимание
  • 0

#2 dimon_sibir

dimon_sibir

    Новый участник

  • Members
  • Pip
  • 8 сообщений
  • ФИО:Дмитрий Сибиров

Отправлено 19 апреля 2011 - 10:58

Virtual User Script started
Starting action vuser_init.
Web Turbo Replay of LoadRunner 9.50 for WIN2003; WebReplay9a build 6220 (Dec 28 2008 17:01:56) [MsgId: MMSG-27143]
Run Mode: Click-and-Script [MsgId: MMSG-26000]
Current locale is "Cyrillic (Windows)", code page 1251, preferred charset name "windows-1251", Unicode converter name="windows-1251", CRT locale string="Russian_Russia.1251" [MsgId: MMSG-27045]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(4): Action.c(30): Downloading resource "http://....../com.sap.portal.design.urdesigndata/themes/portal/sap_tradeshow_plus/common/tray/ico14_cntnr_options.gif?v=7.30.1.11.0" (detected in HTML) [MsgId: MMSG-26529]
Action.c(30): Downloading an inline frame with URL="http://..../irj/servlet/prt/portal/prtroot/pcd3aportal_content!

Action.c(30): Warning -26278: Running ActiveX objects disallowed for this Vuser type. Use the "AJAX (Click and Script)" protocol [MsgId: MWAR-26278]
Action.c(30): Warning -26276: JavaScript error (id=39) in line 41: TypeError: oXmlHttp has no properties [MsgId: MWAR-26276]
Action.c(30): Warning -26276: JavaScript error (id=0) in line 1: JavaScript evaluation error when executing function (by pointer) [MsgId: MWAR-26276]
Action.c(30): Warning -26000: Evaluating decompiled script failed for "Window" DOM object (name="Центральный рабочий список") "load", listed in the following line: [MsgId: MWAR-26000]
Action.c(30): Warning -26000: function () {
UCF_ls = new UCF_LS();
} [MsgId: MWAR-26000]
Action.c(30): web_edit_field("j_password_2") highest severity level was "warning", 400257 body bytes, 18336 header bytes, 71 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(39): web_text_link("СВТ") was successful [MsgId: MMSG-26392]
Action.c(47): Error -26161: Frame not found in browser/dialog [MsgId: MERR-26161]
Action.c(47): Found 4 FRAME/IFRAME object(s) in the browser [MsgId: MMSG-26158]
Action.c(47): [1] Name="obnNavIFrame" [MsgId: MMSG-26000]
Action.c(47): [2] Name="Внутренняя область рабочего стола" [MsgId: MMSG-26000]
Action.c(47): [3] Name="" [MsgId: MMSG-26000]
Action.c(47): [4] Name="" [MsgId: MMSG-26000]
Action.c(47): web_text_link("Применить") highest severity level was "ERROR" [MsgId: MMSG-26391]
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.


повторил тоже самое и для AJAX Click and Script ... ошибка выскочила там же... см.первое сообщение выделено цветом.

Action.c(30): web_edit_field("j_password_2") highest severity level was "warning", 408665 body bytes, 19688 header bytes, 88 chunking overhead bytes [MsgId: MMSG-26387]
Action.c(41): web_text_link("СВТ") was successful [MsgId: MMSG-26392]
Action.c(49): Error -26161: Frame not found in browser/dialog [MsgId: MERR-26161]
Action.c(49): Found 4 FRAME/IFRAME object(s) in the browser [MsgId: MMSG-26158]
Action.c(49): [1] Name="obnNavIFrame" [MsgId: MMSG-26000]
Action.c(49): [2] Name="Внутренняя область рабочего стола" [MsgId: MMSG-26000]
Action.c(49): [3] Name="" [MsgId: MMSG-26000]
Action.c(49): [4] Name="" [MsgId: MMSG-26000]
Action.c(49): web_text_link("Применить") highest severity level was "ERROR" [MsgId: MMSG-26391]
Abort was called from an action.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
  • 0


Количество пользователей, читающих эту тему: 1

0 пользователей, 1 гостей, 0 анонимных