E2E probe can not run script

Document ID : KB000039790
Last Modified Date : 14/02/2018
Show Technical Document Details

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.

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.