In this blog we check out one more example.
Please checkout one newspaper site LINK
Go to following section
Start Firebug and take Xpath of Label and TextBox
Xpath for Label is
Xpath for TextBox is
Now its time use this fuction from Selenium IDE.
So lets start firefox and navigate to Newspaper website
Now open Selenium IDE.
Add user-extension.js file in selenium IDE. and restart Selenium IDE.
Now type following lines in selenium IDE. or copy paste code in Source tab LINK
Lets see what happen when we run this code.
We expect that captcha code should be calculated and entered into textbox