E2E probe can not run script

book

Article ID: 39790

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Problem: 

E2e_appmon probe cannot replay script recorded previously in the same machine when trying to submit a form.

 

Environment:  

e2e_appmon_dev probe 2.22 to 2.24

Windows Server 2008 R2 sp1

Browser: supported version of IE and FireFox 

 

Cause: 

The input button with type submit cannot be identified using an empty value since there are multiple submit widgets using an empty value in the same page, and by default the nimsoft recorder used by probe will only use attribute ‘value’ to identify a submit button when it records user action into a ClickHTMLElement method call.

<Please see attached file for image>

3.png

 

Workaround:

Modify the script to use ClickMouse(left,down,X,Y) method instead of ClickHTMLElement with coordinates of the submit button that user has clicked, after a UseWindow or UsePage method.

Or you can modify the page source to add attribute ‘id’ or ‘name’ with a unique value for such submit button and change the ClickHTMLElement method to include id or name to identify this button.

 

Additional Information:

Use keyword ‘absolute’ as the fifth parameter of ClickMouse and provide absolute position of button relative to the top left point of the full screen if the explorer window is opened to the maximum size.

 

Environment

Release: CNMSPP99000-8.2-Unified Infrastructure Mgmt-Server Pack-- On Prem
Component:

Attachments

1558715163506000039790_sktwi1f5rjvs16tq2.png get_app