Thursday, March 8, 2007

Selenium Core 0.8.2 testing framework - fixing bug of pause/continue button not working properly

I was using this nifty web application testing framework (opensource) for a while before the following bug became intolerable, and I searched for a solution on google. Hopefully this blog post will save you some trouble:

After pressing the pause button, pressing continue doesn't actually resume the run, but only does a single "step" and stops again!

How to solve this bug? Edit the file /scripts/selenium-testrunner.js and find the function reset extending the object HtmlTestRunnerControlPanel, around line 345.

Remove the comment on the line:

// this.runInterval = this.speedController.value;

=>

this.runInterval = this.speedController.value;



Voila! Pressing continue should now run smoothly.

p.s.

1. Apparently they already fixed this in the trunk:
http://svn.openqa.org/fisheye/browse/selenium/trunk/code/javascript/core/scripts/selenium-testrunner.js?r1=1690&r2=1742

2. This is the entry in the openqa forum where I found the solution: http://forums.openqa.org/thread.jspa?threadID=6163

Tags:

8 comments:

game gold said...

Do you know rohan crone? I like it.
My brother often go to the internet bar to buy rohan gold and play it.
After school, He likes playing games using these rohan online crone with his friend.
I do not like to play it. Because I think that it not only costs much money but also spend much time. One day, he give me many rohan online gold and play the game with me.
I came to the bar following him and found rohan money was so cheap. After that, I also go to play game with him.

Do you know Rose zuly? I like it.
My brother often go to the internet bar to buy rose zulie and play it.
After school, He likes playing games using these rose online zuly with his friend.
I do not like to play it. Because I think that it not only costs much money but also spend much time. One day, he give me many rose online zulieand play the game with me.
I came to the bar following him and found Arua ROSE zulywas so cheap. After that, I also go to play game with him.

xuemei said...

Now do you worried about that in the game do not had enough Scions Of Fate gold to play the game, now you can not worried, my friend told me a website, in here you can buy a lot SOF gold and only spend a little money, do not hesitate, it was really, in here we had much Scions Of Fate money, we can sure that you will get the cheap SOF gold, quick to come here to buy sof gold.

Now do you worried about that in the game do not had enough seal cegel to play the game, now you can not worried, my friend told me a website, in here you can buy a lot sealonline cegel and only spend a little money, do not hesitate, it was really, in here we had much seal online cegel, we can sure that you will get the cheap seal cegel, quick to come here to buy seal online cegel.

products said...

ed hardy shirts pretty ed hardy shirt for men,ed hardy womens in the ed hardy online storedesigned by ed hardy ,many cheap ed hardy shirt ,glasses,caps,trouers ed hardy shirts on sale ,You can go to edhardyshirts.com to have a look ,you may find one of ed hardy clothing fitCharlestoncheap columbia jackets. turned a pair of double plays to do the trick. spyder jacketsThe had at least one runner on in every inning but the first and outhit the RiverDogs by a 12-6 margin Lawal should be a focal point of the Yellow cheap polo shirts along with highly touted newcomer, 6-9 Derrick Favors, rated as the No. 1 power forward on the ESPNU 100. The Yellow JacketsThere are

products said...

Women’s nike tn Shox Rivalry est le modèle féminin le plus tendance de baskets pour le sport. tn chaussuresConcernant la semelle : le caoutchouc extérieur, l’EVA intermédiaire et le textile intérieur s’associent pour attribuer à la nike chaussurestenue féminine une allure distinguée et une démarche sans reproche.

products said...

Lacoste Polo Shirts, , Burberry Polo Shirts.wholesale Lacoste polo shirts and cheap polo shirtswith great price. clothingol.com offers lot of 10ralph lauren polo lacoste polo shirts and lot of 20 Burberry Polo Shirts. clothingol.com offers classic fit polo shirts. polo clothingCheap Brand Jeans ShopMen Jeans - True Religion Jeans, burberry polo shirtsGUCCI Jeans, Levi's Jeans, D&G Jeans, RED MONKEY Jeans, Cheap JeansArmani Jeans, Diesel Jeans, Ed hardy Jeans, Evisu Jeans, Women JeansJack&Jones Jeans...

products said...

nike shoes & Puma Shoes Online- tn nike,puma shoes,puma cat, baskets cheap nike shox, air max.cheap nike shox r4 torch, cheap nike air, nike running shoes air max, puma speed and more. Paypal payment.nike running shoes Enjoy your shopping experience on Nike & Puma Shoes Online Store.

ryan said...

The BASELWORLD Watch and Jewellery Show proved a real inspiration for the industry.
http://www.watchestoo.com
replica watches
Men’s watches
Fake watches
watches
IWC
IWC other ROUND IW3707
iwc-62636
iwc-62637
iwc-62638
iwc-62639
iwc-62640
iwc-62641
iwc-62642
iwc-62643
iwc-62644
iwc-62645

dingdang said...

Well, it is really a matter of concern as unlike other accessories, Christian Louboutin require a number of factors to be taken into account. Christian Louboutin Pumps are not only about wearing it, a correct design is always essential. Christian Louboutin Boots have well trained staffs who look after the necessary details during the manufacturing process. You can always trust Christian Louboutin Sandals .