Blog Archives

Setting up Selenium with Perl

Here are the steps to configure Selenium with Perl. 1. Download Active Perl from the link: 2. Install the Perl using the installer. 3. Download Selenium RC Server from link: 4. Right Click on My Computer > Properties

Posted in Perl, Programming, Selenium/Webdriver, Tools

Auto IT script to upload files (Windows XP)

Once your Choose File dialog box is open, just execute the following script: ; Starts here WinWaitActive(“Choose File”, “”, 10); Local $file = “C:\Users\QuickSilver\Desktop\filename.fileextesion” ControlSetText(“Choose File”, “”, “Edit1”, $file ) ControlClick(“Choose File”, “”, “Button2”) ; Ends here Steps to execute

Posted in AutoIt

getAttribute(‘class’) does not work with IE but works with Firefox

While debugging a error in Selenium get_eval function, I faced a strange problem (at least strange to me and probably couple of other folks might be facing this STRANGE problem as well) where my following piece of code was throwing

Tagged with: , , ,
Posted in Selenium/Webdriver

Permission denied error after clicking on link when using selenium

Selenium throws a Permission Denied error after clicking, if we are not waiting for page to load before accessing the GUI. In most of the cases it works fine for Firefox, but with IE, this fails. Consider the following piece

Tagged with: , , ,
Posted in Selenium/Webdriver

Invalid argument error on Selenium RC Server while selecting option from drop down in IE

If you try to select a label in a drop down using type command in selenium, what do you expect it to do?? Throw error?? or work fine?? Well, both the statements are true. The first one holds true for

Posted in Selenium/Webdriver

Configuring ActiveMQ with Perl

By default ActiveMQ is configured to start the browser for C++, Java, C# etc by using Messaging protocol as Openwire. But to make it work with Perl we need couple of things to do as below: 1. First of all

Tagged with: , ,
Posted in Tools

How keyPressNative works on Selenium

Lately I had been facing an issue to simulate a functionality with Selenium. The functionality was of Auto Complete feature. [Yes, just like you see when typing something in Google search box. I tried to use type command, but it

Tagged with: , , ,
Posted in Selenium/Webdriver