Re: Controller display error if script is run for multiple Vusers (387 Views)
Reply
Advisor
Ashhad
Posts: 19
Registered: ‎04-03-2012
Message 1 of 2 (391 Views)

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??

 

 

Please use plain text.
Advisor
Ashhad
Posts: 19
Registered: ‎04-03-2012
Message 2 of 2 (387 Views)

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

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

 

 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation