Tag Archives: selenium

>Workaround: Flash selenium test would not run in firefox 3.5 except when the browser mode is *firefoxProxy

>I looked into flash selenium a few weeks back and i thought it was a great way for me to test certain part of the apps i have been ignoring for some time. However after knocking up a few test … Continue reading

Posted in Software Testing | Tagged , , , , , | 17 Comments

>Search for a single digit within a string using regex as provided in java api

>In my current work, i have been writing a lot of test in Java, which obviously means i need to learn a lot more about the Java api, which is good i think????? Well i needed to match the single … Continue reading

Posted in Software Testing | Tagged , , , , , , | Leave a comment

Start the Selenium Server dynamically

>I have been working on a test suite in java using testng as the testing framework. I could not have suggested any other test frame work as it allows me to do a lot of configurable setups and teardowns. Yeah … Continue reading

Posted in Software Testing | Tagged , , , , | 4 Comments

Setting user extensions when the Selenium Server has been started dynamically

>I hope this helps someone someday, I needed to set user extension for a selenium test suite, dynamically in the code as i was starting the Selenium server via same. public void startSeleniumServer(String port) { rcc = new RemoteControlConfiguration(); rcc.setPort(Integer.parseInt(port)); … Continue reading

Posted in Software Testing | Tagged , , , , , , | 1 Comment

>Selenium Remote cant start firefox session due to lock on file

>I am sure you have on this page, because you have run into problem with selenium not been able to run due to a lock on some profile files. Yes, you know what the error is. I really found useful … Continue reading

Posted in Software Testing | Tagged , , , , | 2 Comments

Selenium Test execution speed on Safari vs Internet Explorer

> I have been working on a selenium test suite that contains about 150 tests. These test would normally take about 4hrs 30minsĀ for it to execute to completion. I tried to run same tests on Safari today, and it took … Continue reading

Posted in Agile Delivery, Software Testing | Tagged , , , , , | 1 Comment

Waiting for Elements in an IFrame on a WebPage to Load

>Waiting for a page to load while writing selenium scripts is pretty straightforward using theselenium.WaitForPageToLoad(“timeout”) timeout is time in millisecond. Sometimes using this command doesn’t work, especially when you the whole page is not loaded or reloaded but a popup … Continue reading

Posted in Software Testing | Tagged , , , , | 1 Comment

Need to get a value of an attribute using selenium

>I was in this situation when i needed to get the value of an html attribute and i found the selenium.getattribute very handy ….. Okay the scenario was such that there was an element which is collapsible on the page … Continue reading

Posted in Software Testing | Tagged , , , , , , , , | Leave a comment

Using selenium.GetEval(script)to execute Javascript

>The task at hand was to navigate through the DOM of a particular webpage and check thestyle.display attribute of an object or element if you prefer. There are two elements on this page that displayed either success or failure messages.(msgSuccess … Continue reading

Posted in Software Testing | Tagged , , , , | 1 Comment

Internet Explorer doesnt handle xpath to locate images exceptionally well

>So i have been doing a lot of selenium and the website i am trying to automate test fordoesnt have a lot of element with id, name, or any other HTML attributes that makes selenium testing a bit easier. So … Continue reading

Posted in Software Testing | Tagged , , | Leave a comment