TA的每日心情 | 怒 2016-3-3 17:15 |
---|
签到天数: 3 天 连续签到: 1 天 [LV.2]测试排长
|
Action()
{
lr_rendezvous("begin");
sapgui_set_ok_code("se37",
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2013",
END_OPTIONAL);
sapgui_send_vkey(ENTER,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2014",
END_OPTIONAL);
sapgui_set_text("Function Module",
"ZCIC_PROCESS_CMARK_API",
ctxtRS38L2,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2017",
END_OPTIONAL);
sapgui_press_button("Test/Execute (F8)",
btn3,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2019",
END_OPTIONAL);
sapgui_status_bar_get_text("paramStatusBarText",
BEGIN_OPTIONAL,
"Recorded status bar text: 重新生成 ZCIC_PROCESS_CMARK_API 的测试环境",
"AdditionalInfo=sapgui2022",
END_OPTIONAL);
sapgui_window_scroll_to_row("0",
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2024",
END_OPTIONAL);
sapgui_set_focus(lbl2,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2023",
END_OPTIONAL);
sapgui_send_vkey(F2,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2027",
END_OPTIONAL);
lr_think_time(26);
sapgui_window_scroll_to_row("0",
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2031",
END_OPTIONAL);
sapgui_set_text("txt[1,3]",
"b2c",
txt8,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2030",
END_OPTIONAL);
sapgui_set_text("txt[22,3]",
"b2c01",
txt9,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2032",
END_OPTIONAL);
sapgui_set_text("txt[43,3]",
"{guid}",
txt10,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2034",
END_OPTIONAL);
sapgui_set_text("txt[84,3]",
"192.168.1.1",
txt11,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2036",
END_OPTIONAL);
sapgui_set_text("txt[125,3]",
"start",
txt12,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2038",
END_OPTIONAL);
sapgui_set_text("txt[136,3]",
"16851894997",
txt13,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2040",
END_OPTIONAL);
sapgui_set_text("txt[157,3]",
"5555",
txt14,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2042",
END_OPTIONAL);
sapgui_set_focus(txt14,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2044",
END_OPTIONAL);
sapgui_press_button("返回 (F3)",
btn4,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2048",
END_OPTIONAL);
lr_start_transaction ("fuck");
sapgui_press_button("执行 (F8)",
btn3,
BEGIN_OPTIONAL,
"AdditionalInfo=sapgui2051",
END_OPTIONAL);
lr_end_transaction("fuck",LR_AUTO);
return 0;
}
在线等,求助
|
|