Please be patient. It might be mid afternoon your time, but it could be very early morning for others.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/tuE5cOhe_P8J.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
Hi Maxwell
>Mr Peter,
>What u ll say now its already 2 days.
I'll say ...
No one gets paid for providing help here, they have to fit it around their own paid work and personal interests, and you don't have to pay for whatever help you do get.
So do still be patient, don't expect any help whatsoever, and be grateful for whatever help you do get. Help yourself as much as possible through google and providing as much information and focus as you can.
It seems to me that you have raised the wrong problem, or emphasized the wrong part of your issue at least.
The fact that the jQuery script hangs is not itself a Selenium issue, and is perhaps not a question that should be raised or answered here. How to set the script run time in Firefox without it getting overridden by selenium is the question that you should be focussing on here and through related google searches.
The good people here are much more likely to be keen and able help resolve your problem quickly and easily when they can see a simply stated, clearly Selenium-related issue that they can possibly help with even if they haven't experienced the exact problem themselves.
Good luck!
Indeed, as Peter Gale says, this is not a Selenium problem, which is probably why you’re not getting any help. Plus the fact that the very few of us out here who actually *answer* questions don’t generally like “bump”, “urgent”, “still nothing?”, and similar actions, and tend to ignore them.
Ross
Subject: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Still no reply, Nobody knows fix for this :(
On Thursday, June 14, 2012 3:40:18 PM UTC+5:30, Maxwell wrote:
You haven’t searched hard enough. This is an extremely common problem with JavaScript programs, such as the one in your application that is calling jQuery. All the major browsers have some form of limit on how long they’ll let a JavaScript thread run without interacting with the user. Internet Explorer measures the actual run time, Firefox measures the number of statements executed, etc. There is no way to change these limits from within a Selenium test script, although Firefox at least will let you change it from the Tools menu. Searching for "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete." leads in its first hit to the Firefox support page that describes the process: http://support.mozilla.org/en-US/kb/warning-unresponsive-script.
Ross
...
Selenium uses JavaScript atoms to interact with the page, the addition of this extra JavaScript has probably tipped your website over the runtime limit. It’s not really a Selenium issue, it’s an issue that being highlighted by Selenium because it is adding some extra JavaScript rendering time (I would argue that if you are this close to maximum rendering time your web page is obviously not performant and you need to do something to fix it)
The fix is to simplify the JavaScript on your page, it’s obviously too convoluted/unoptimised.
There is no Selenium bug here.
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Maxwell
Sent: 19 June 2012 07:32
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Hi Ross,
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/yNoAdN1jNysJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
> And as a tester I cannot ask developer that, design the website in such a way that I can use Selenium to test it without any issue , right ?
> I have to test whatever they have developed as long as it does not show any critical functional or performance error.
Many would disagree.
The point of developement is to create an application for which its level of fitness for purpose can be readily ascertained - that is not the soley responsibility of testers.
If Selenium is the tool your company has chosen to use for testing then developers should rightly have a responsibility to make it readily testable with Selenium rather than have you spend ages try to work around issues that they could fix much more simply.
So if you run JMeter against your website and it falls over because the servers can’t handle a load does that make it a problem with JMeter?
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Maxwell
Sent: 19 June 2012 15:45
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Hi Perter,
Am completely agreed with you, a product should fit for purpose , it should be helpful for all types of users.
Here Selenium also not properly working with my website as it has lots of java script in it , Is not that a deficiency in Selenium?
Thanks
Maxwell
On Tuesday, June 19, 2012 7:48:46 PM UTC+5:30, PeterJef...@Hotmail.co.uk wrote:
> And as a tester I cannot ask developer that, design the website in such a way that I can use Selenium to test it without any issue , right ?
> I have to test whatever they have developed as long as it does not show any critical functional or performance error.
Many would disagree.
The point of developement is to create an application for which its level of fitness for purpose can be readily ascertained - that is not the soley responsibility of testers.
If Selenium is the tool your company has chosen to use for testing then developers should rightly have a responsibility to make it readily testable with Selenium rather than have you spend ages try to work around issues that they could fix much more simply.
Date: Tue, 19 Jun 2012 05:58:33 -0700
From: mihir...@gmail.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Hi Mark, Thanks for reply.
U might be correct that its not Selenium Issue.
But Can u tell me y this is coming when i use timeout option.
If am not giving timeout option, all the test case execute without any problem.
One more thing, the timeout option am giving as 3600 and I have checked dom.max_script_ run_time and dom.max_chrome_script_run_time is also set to 3600.
So Mark, the runtime limit is 3600second , correct me if am wrong.
If that is the case, then if any script run for more than 3600 second then it should display that unresponsive popup.
but that popup comes within fraction of second, as soon as test case reach that page.
And as a tester I cannot ask developer that, design the website in such a way that I can use Selenium to test it without any issue , right ?
I have to test whatever they have developed as long as it does not show any critical functional or performance error.
Thanks
Maxwell
On Tuesday, June 19, 2012 3:57:28 PM UTC+5:30, Mark Collin wrote:
Selenium uses JavaScript atoms to interact with the page, the addition of this extra JavaScript has probably tipped your website over the runtime limit. It’s not really a Selenium issue, it’s an issue that being highlighted by Selenium because it is adding some extra JavaScript rendering time (I would argue that if you are this close to maximum rendering time your web page is obviously not performant and you need to do something to fix it)
The fix is to simplify the JavaScript on your page, it’s obviously too convoluted/unoptimised.
There is no Selenium bug here.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/pCSqKM4jDL4J.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/RGF82kogAaIJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
So if you run JMeter against your website and it falls over because the servers can’t handle a load does that make it a problem with JMeter?
From: selenium-users@googlegroups.com [mailto:selenium-users@googlegroups.com] On Behalf Of Maxwell
Sent: 19 June 2012 15:45
To: selenium-users@googlegroups.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Hi Perter,
Am completely agreed with you, a product should fit for purpose , it should be helpful for all types of users.
Here Selenium also not properly working with my website as it has lots of java script in it , Is not that a deficiency in Selenium?
Thanks
Maxwell
On Tuesday, June 19, 2012 7:48:46 PM UTC+5:30, PeterJef...@Hotmail.co.uk wrote:
> And as a tester I cannot ask developer that, design the website in such a way that I can use Selenium to test it without any issue , right ?
> I have to test whatever they have developed as long as it does not show any critical functional or performance error.
Many would disagree.
The point of developement is to create an application for which its level of fitness for purpose can be readily ascertained - that is not the soley responsibility of testers.
If Selenium is the tool your company has chosen to use for testing then developers should rightly have a responsibility to make it readily testable with Selenium rather than have you spend ages try to work around issues that they could fix much more simply.
Date: Tue, 19 Jun 2012 05:58:33 -0700
From: mihir...@gmail.com
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/pCSqKM4jDL4J.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/selenium-users?hl=en-US.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/RGF82kogAaIJ.
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
So if you run JMeter against your website and it falls over because the servers can’t handle a load does that make it a problem with JMeter?
From: selenium-users@googlegroups.com [mailto:selenium-users@googlegroups.com] On Behalf Of Maxwell
Sent: 19 June 2012 15:45
To: selenium-users@googlegroups.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Hi Perter,
Am completely agreed with you, a product should fit for purpose , it should be helpful for all types of users.
Here Selenium also not properly working with my website as it has lots of java script in it , Is not that a deficiency in Selenium?
Thanks
Maxwell
On Tuesday, June 19, 2012 7:48:46 PM UTC+5:30, PeterJef...@Hotmail.co.uk wrote:
> And as a tester I cannot ask devMaxwelleloper that, design the website in such a way that I can use Selenium to test it without any issue , right ?
Maxwell
You're missing the point - that was not a serious suggestion.
I'd suggest getting one the experienced web developers in your company to help isolate your problem locally, focussing on the setting of a suitable timeout.
Peter
Maxwell
> website is not failing in Jmeter.
You're completely misunderstanding Marks point.
He wasn't seriously suggesting that you try it in jMeter, but if you were going to do then what you need to do is to use jMeter to run so many parallel processes against the server hosting your page that id DOES fall over.
Every single server must have a capacity limit even if it is a huge limit, and you'd need to get past that point to make sure that it did fail, not just try it with one client process as I assume you have done. If it didn't fail, you haven't yet achieved the fictional scenario he was referring to.
Now, assuming that you had used jMeter to forcefully overload your server, would that mean that jMeter has a bug?
The suggestion was that in a similar way you may have used WebDriver and overloaded your browsers limited capacity to handle javascript, and likewise that doesn't mean that WebDriver is a fault.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/rusPm6VPpBAJ.To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
I have tried my best to not go off on a rant, but you still seem to completely misunderstand the issue here. Two points:
1. You have not found a solution!
2. Your website has JavaScript performance issues!
Yes you have found a dirty hack to get your tests working (very extreme when you can just use a custom firefox profile, but hey whatever floats your boat) and you can now get your tests passing, but this does not mean there is no problem.
Selenium has actually pointed you towards a bonafide issue with your website, you have done all you can to ignore this issue and not report it up the chain to the devs so that they can fix it. Your excuses range from “they won’t listen to me” to “I don’t want to”. If you are testing something you should be raising issues and getting people to look at potential problems, not covering them up to make your life easy (top tip it won’t make your life easy in the long run).
If your managers are telling you to change tool, when the tool you are using highlights valid issues with the product you are testing they are quite frankly idiots.
What frustrates me most is you even say that you think the application is not fit for purpose. How the hell can you say it passes testing when you yourself think it’s broken? Why can you not get the dev team to make it fit for purpose?
In summary ARRRGGGHHAHHAHGGGHGHH!!!!
-----Original Message-----
From: seleniu...@googlegroups.com [mailto:seleniu...@googlegroups.com] On Behalf Of Krishnan Mahadevan
Sent: 22 June 2012 11:58
To: seleniu...@googlegroups.com
Subject: Re: [selenium-users] Re: "Warning: Unresponsive script " error is coming while running Html suite in Selenium server
Maxwell,
I guess these two preferences are accessible from within firefox when you do a about:config.
So when you change any values from about:config manually in firefox, these values are written to a file named "prefs.js" which would be present in your firefox profile directory.
So you might want to try this easy way out :
FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("dom.max_chrome_script_run_time", MYVALUE); profile.setPreference("dom.max_script_run_time", MYVALUE ); WebDriver driver = new FirefoxDriver(profile);
Use this instance of FirefoxDriver and see if the problem goes away.
Here MYVALUE is whatever value you would like it to have.
Thanks & Regards
Krishnan Mahadevan
"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
On Fri, Jun 22, 2012 at 4:13 PM, Maxwell <mihir...@gmail.com> wrote:
> *Issue Resolved *:):) :) :)
>
> Thanks everybody :)
>
> I never told that this issue is a Selenium bug, all I wanted that
> there might be some way to overcome this problem, some way some settings.
> Also it is not an issue with my website as everybody thought here,
> and am just a Tester, not a test lead or test manager so that I ll
> tell to dev team that our application is not working in Selenium, so u
> change whatever u have developed and simplify them, so that it should
> run in Selenium. U know wt ll happen then , they will say change the
> tool, because we r on the process of checking which automation tool we
> can use for our product. we found Selenium is better option and we are
> almost done writing all test cases and everything. Only this issue was coming.
> But am not saying , u r wrong. U r correct, an Application should
> always fit for purpose, but unfortunately in this case I could not do
> that so problem continued.
> Anyway leave this , I got the solution and I ll tell u how I got it .
>
> By Googling I have already got that two settings in firefox causing
> this error.
> dom.max_chrome_script_run_time
> dom.max_script_run_time
>
> As mentioned in some forum , I tried to give value for those settings
> as 0 to resolve the problem, but it always override by Selenium timeout option=
Hey, Mark!
I never thought I'd want or need to quote a certain book, but unfortunately, Mark, but not everyone is ready to benefit from your experience and wisdom, so keep the all good work and try to focus your efforts where you think it will be well received ...
"He who has ears, let him hear" (Matthew13:9)
Peter
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Hey, Mark!
I never thought I'd want or need to quote a certain book, but unfortunately, Mark, but not everyone is ready to benefit from your experience and wisdom, so keep the all good work and try to focus your efforts where you think it will be well received ...
"He who has ears, let him hear" (Matthew13:9)
Peter
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Hey, Mark!
I never thought I'd want or need to quote a certain book, but unfortunately, Mark, but not everyone is ready to benefit from your experience and wisdom, so keep the all good work and try to focus your efforts where you think it will be well received ...
"He who has ears, let him hear" (Matthew13:9)
Peter
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Hey, Mark!
I never thought I'd want or need to quote a certain book, but unfortunately, Mark, but not everyone is ready to benefit from your experience and wisdom, so keep the all good work and try to focus your efforts where you think it will be well received ...
"He who has ears, let him hear" (Matthew13:9)
Peter
To post to this group, send email to selenium-users@googlegroups.com.
To unsubscribe from this group, send email to selenium-users+unsubscribe@googlegroups.com.
Nobody faced this type of situation ever ??
On Wednesday, June 13, 2012 8:06:14 PM UTC+5:30, Maxwell wrote:
FYI
I have tried firefox 10 , 12 . In both this issue is coming :(
On Wednesday, June 13, 2012 7:50:38 PM UTC+5:30, Maxwell wrote:Hi Guyz,
I have created test suite using Selenium IDE ,and then I am running that html suite using Selenium Server with Firefox.
Everything runs perfectly, only the problem is in some pages I get the below pop up which ask me to Continue or stop script.
"A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
Script: http://testbuild/Scripts/jquery-1.5.2.min.js:16"
Please help guyz, how to get rid of this issue.
The problem is if i dont click anything then test is not going ahead.Am planning to put the testsuite in scheduler , so in that case it wont complete at all.
For you information, If i normally do the manual testing or navigate to the same page in the application, then it is not showing any error .
I googled for this issue a lot, most of the places they asked to increase the script run time value in firefox.
When i did that and checked while the selenium is running, that value is getting override by the Selenium timeout value.
I tried running that same test case in Selenium IDE, and it dint show any error.
So Guyz, Please help.
Thanks
Maxwell
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/oHUrYD-Up5kJ.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.
Maxwell
My final post here before I go away for the weekend ...
I'm happy that somehow we helped you to get your tests running again. However, I must politely agree with here Mark at least to the extent that the occurrance of this error message would initially indicate that there is potentially a problem with your web having too much or perhaps inefficient javascript on your web page making it liable to this error recurring at some later time and possibly it is not fit for purpose.
When you say:
> we do raise issues whenever we found. that's our job, we don't cover it up
... and ...
> But we cant raise something which we are not sure whether that's an issue or a faulty settings.
You seem to be contradicting yourself.
The occurrence of this error is something that you should really discuss with a developer at least without necessarily formally raising it as a defect with your application, just as you have chose to discuss it here.
And until you have had such a discussion with one of your developers and fully understand the cause of the problem and proper course of action you have to take as the proper long term solution, than anything you have done in the meant time is just a work around or a hack, even if that action turns our to have been the best possible course of action, and you do therefore seem to be covering this issue up in a way that you say you don't do.
And I quite happily admit that I do sometimes resort to hacks myself, though only where I've talked to the developer first (or another developer if it's my code) and at least tried to fully understand the problem and come up with a proper long-term solution.
Cheers!
Peter
To view this discussion on the web visit https://groups.google.com/d/msg/selenium-users/-/-k_5UgJCNYQJ.To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to selenium-user...@googlegroups.com.