Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

LoadRunner TruClient - Aborted due to an error in a handler

$
0
0

Hi all,

 

I have created a script to randomly click on a link from a dropdown menu. I've created some JavaScript code to do this without using any parameters. The issue I have is that it will complete the code but on the next step it will fail due to the following message - "x ** was aborted due to an error in a handler".

 

The code I have is as follows:

 

var no=Math.random()*44;

no=Math.ceil(no);
window.alert(no); //Verify what number will be appearing (used for troubleshooting)

var Xpath = "/html/body/div[3]/div[2]/div/div[3]/div[4]/div/a["+no+"]";

evalXPath(Xpath);

 

If you are able to help me as soon as possible I would appreciate it a lot.

 

 

Thanks,


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>