selenium-rc

selenium rc - upload file using robot

hi any one tried uploading the file in IE using robot. i have tried selenium.keyDownNative("16") & keyPress in robot.both didnt work . what i doubt is , should we set focus in my file upload textfield or browser upload which opens on attach (not sure how to set focus here). ...

how to close all windows that Selenium opens?

Hey guys, I am using Selenium RC to do some test now. And the driver I use is python. But now, I faced a problem, that is: every time Selenium RC runs, and open a url, it opens 2 windows, one is for logging and the other one is for showing HTML content. But I can't close them all in script. here's my script: #!/usr/bin/env python #-*-c...

Importing Selenium-RC reports into the CruiseControl.NET dashboard

We use CruiseControl.Net as our Continuous Integration server. Recently, we have added it out our NAnt file in CC.Net so that it runs after the build is complete. I am trying to figure out a way to import the results.html file that is generated by selenium into the CC.Net dashboard. So far, my attempts have been unsuccessful. Has any...

custom firefox profile in selenium causes addons to be incompatible

Hi everyone, Now this is tricky. I am trying to do WAP testing using firefox and selenium. For that I've created a custom profile and installed a plugin called modify headers. When I launch the profile manually, the addon works fine. But, when I use it with Selenium RC, then, Firefox disables the plugin, saying that it is incompatible w...

Selenium IDE exporting to C#

I am currently developing several test suites using Selenium IDE. The tests will be run as part of our CI server using Selenium RC though. I am defining JavaScript functions in 'user-extensions.js' to generate random test data. The issue I am running into is that when I export the recorded test to C# it will comment out the call to ...

selenium:how to restrict the auto close of window after run the application through selenium using java?

When run the web application using java through selenium,the window automatically open and automatically closed after the exection. how to restrict the auto close option?. ...

Can selenium open a search result page?

Hi everyone, I'm new to selenium. I want to ask about if there's a easy way to open a search result page of some urls, not just the homepages. for examples, I search stack overflow in google. The url is here, but the return page is google homepage.Is it possible to get the result page directly? I want to scratch some result pages. If I...

How to save a webpage by seleniumRC

Hi everyone, I use seleniumRC to open a url, then how to save this web page? How to realize it like urllib.urlretrieve do it? But urllib can't operate javascript in the page. One more question: Will it save the whole page with what I see as seleniumRC open it? ...

Timed out after 30000ms

Hi everyone, When I use SeleniumRC,sometimes I meet a error, but sometimes not. I guess it's related to the time of wait_for_page_to_load(), but I don't know how long will it need? The error information: Exception: Timed out after 30000ms File "C:\Users\Herta\Desktop\test\newtest.py", line 9, in <module> sel.open(url) File "C:\Users...

SeleniumRc - Firefox fails to start.

Hello, I am using Selenium-Rc 1.0.3 with Firefox 3.6.8. I started Selenium-Rc with -firefoxProfileTemplate option after creating a different Firefox profile for it. Each time I start the test and check the server-side log, I get this error; 14:53:49.881 DEBUG [12] org.openqa.selenium.server.FrameGroupCommandQueueSet - got condition? :...

possiblity to debug user-extensions.js in selenium

Hi, i have a webapp which is tested by selenium. Everything works well: writing tests in java, setting breakpoints in my webapp through firebug. unfortunately i am not able to debug the user-extensions.js it self: After starting the java-test, two firefox windows are opened. One holds the webapp to test, the other one holds the data-fl...

Firefox windows don't close after Selenium test has run

Howdy. I've been running my selenium tests using selenium rc for about 6 months and suddenly the firefox windows selenium opens do not close when the test is finished. I am using a specific firefox profile and had not updated my selenium rc jar. I thought that perhaps the latest build of firefox may have been the problem but I reverte...

Selenium - how to get client side request/response

can i get request/response logs in selenium .i tried selenium.captureNetworkTraffic("json"); but it returns only client side (like images .pn).acn i get evevry click made inside request/response. i) login ii) click link iii) type something in my case iam getting only referel url and image in that page! ...

What is the best approach to write testunit in framework such as wordpress ?

i'm starting a new project. And what to know how to write a good testunits in existing framework such as wordpress ? is it possible to use phpunits or selenium RC ? ...

How to get Firefox instances launched by Selenium server to remember form history?

I have a special profile for my Selenium server with various form history in it, and when I launch Firefox regularly I can indeed use them. However, when Selenium server launches a Firefox instance from this profile, there is no trace of them (although the regular browser history appears just fine). Any ideas? ...

howto hide firefox add-on popup initiate by selenium rc ?

everytime i test my selenium test, the instant of firefox will popup and show page of selenium rc. It's ok and cool. But i have problem. For every test i also have to see a firefox's page pop up and shown selenium plugin have been add to firefox. is there any way to configure selenium so it initiate firefox without a popup page cause af...

WaitfoPageToLoad

am using selenium server for UI Testing, now i want to reduce the page loading time and i want to improve the performance of the testing please tell me the solution ...

How do I pass control of a browser from one selenium java client to another?

Good day, I have some scripts (in fitnesse) that executes some selenium commands. However, there are some processes wherein it would be too complex (or hackish) with a plain selenium (+fitnesse) approach, so I'm planning to create my own class which will handle those complex processing (i.e. check if the items in the table are sorted in...

How to access Gmail's "Send" button using Selenium RC for Java or C# or Python

I have tried this probably 6 or 7 different ways, such as using various attribute values, XPath, id pattern matching (it always matches ":\w\w"), etc. as locators, and nothing has worked. If anyone can give me a tested, confirmed-working locator string for this button, I'd be much obliged. ...

selenium-grid-1.0.4/MISSING%20RESOURCE

Hi, Has any one come across this problem before: [java] 14:01:34.437 DEBUG - Handler org.openqa.selenium.server.StaticConten tHandler in HttpContext[/selenium-server,/selenium-server] [java] 14:01:34.437 DEBUG - PATH=/driver/ RESOURCE=file:/C:/ Sportingbet/Bui ldTools/SeleniumGrid/selenium-grid-1.0.4/MISSING%20RESOURCE ...