LoadRunner Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Controller display error if script is run for multiple Vusers

Advisor

Controller display error if script is run for multiple Vusers

I have scripted a form which has radio buttons, image buttons, buttons, text fields and many more stuff. 

I am did javascripting to get objects of forms controller..let say radio button...

 for example. 

var rdobject = document.getElementById("select:onlineStatus:1");
rdobject.checked=true;

 

When we run the script in Vugen then it runs perfectly and when we run the same script in controller then it runs perfectly for 1,2,4,5 Vusers but we run it for 6,....10 then it shows errors like:

 

t=00038369ms: Error -203252: ** 9: Evaluate JavaScript code var rdobject = document.getEle...t.checked=true;    ** failed - exception occured: TypeError: rdobject is null    [MsgId: MERR-203252]

 

If I disable javascript step and enable the record & play clicked event of radio button then it shows error:

 

"radio button object is not found"

 

In both cases, it shows error for multiple Vusers. Any idea what I need to do??

 

 

1 REPLY
Highlighted
Advisor

Re: Controller display error if script is run for multiple Vusers

Any one else facing object identification issues in controller...??