Page 1 of 1

User Code take lot of time to execute

Posted: Fri Jan 18, 2013 1:23 pm
by mdmoeenajazkhan
Hi,

I have few scripts with User Code using IF-Else condition which is of one line. I execute the script and as soon as it reachs User Code it takes lot of time to execute it.

Please suggest if there is a way to reduce the time it take on User Code.

Re: User Code take lot of time to execute

Posted: Fri Jan 18, 2013 4:09 pm
by Ciege
Can you post your user code for us to have a look. Without seeing your code everything will just be a guess.

But, my initial guess is... Your timeouts are probably pretty high. If you are using If/Else statements, are you searching for elements in these statements? It's possibly looking for an element that doesn't exist in the if, waiting until the time out, then continuing on to the else...

But again, this is just a guess without seeing your code...