Tag Archives: Javascipt

type into a textfield with keypress event disabled

A colleague asked me how to automate a disabled text-box which has a calendar attached to it. The customer has specified that they want keyboard entries disabled for this text-field, hence every user of the website has to use the … Continue reading

Posted in Software Testing | Tagged , , , , , , , | 2 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

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