7
голосов
5ответов
5056 просмотров

Does Selenium RC support IE8?

Can anyone confirm if Selenium RC server fully supports IE8?

4
голосов
1ответов
3886 просмотров

Visual Studio Web Test vs. Selenium

This can be a very opinionated question. Please keeps your posts factual. What are the pros and cons of using Microsoft Web Test in Visual Studio? Conversely, what are the pros and cons of Selenium?

4
голосов
3ответов
780 просмотров

Run UI SeleniumRC tests as a part of CI process

I'm trying to setup CI environment for QA department. They use SeleniumRC to run UI tests in IE and FF browsers to test some web application. I had a success configuring it to run as a windows service as described here. However when i run the test it hangs. I can see iexplore.exe process spawned ...

27
голосов
6ответов
50813 просмотров

How can I count the number of elements that match my CSS selector?

I am trying to use SeleniumRC to test my GWT App and am trying to match elements using CSS selectors. I want to count the number of enabled buttons in the following HTML. A button is enabled if it is under a <td> with class="x-panel-btn-td " and disabled if it is under a <td> with c...

2
голосов
2ответов
4177 просмотров

There is any Macro Recorder for Web Page fetching automation?

Selenium HQ records some web navigation and can replay it from Firefox. I want a similar thing, but it must have an API. ** UPDATE ** It turns out that Selenium has an API, but I will keep the question since there are alternatives. My objective is to fetch a web page periodically and save its ...

2
голосов
1ответов
1202 просмотров

xpath locator works in FF3, but won't work in IE7

After switching from firefox testing to internet explorer testing, some elements couldn't be found by selenium anymore. i tracked down one locator: xpath=(//a[@class='someclass'])[2] While it works as it should under firefox, it could not find this element in ie. What alternatives do i have n...

0
голосов
1ответов
2598 просмотров

How to apply Loop to working Python Selenium Script?

I'm trying to figure out how to apply a for-loop to this script and I'm having a lot of trouble. I want to iterate through a list of subdomains which are stored in csv format (ie: one column with 20 subdomains) and print the html for each. They all have the same SourceDomain. Thanks! #Python ...

0
голосов
1ответов
510 просмотров

(i'm close - i think) Python loop through list of subdomains with selenium

starting with a base URL, I'm trying to have selenium loop through a short list of subdomains in csv format (ie: one column of 20 subdomains) and printing the html for each. I'm having trouble figuring it out. Thanks! from selenium import selenium import unittest, time, re, csv, logging subds =...

0
голосов
2ответов
1090 просмотров

xPath in Selenium - what am I doing wrong?

I have a page with the following snippet in the HTML: ... <tbody id="c_scopePane4_tbody"> <tr id="c_scopePane4_tr_header"> ... </tr> </tbody> ... Now I'm trying to specify the <tr> tag with an XPath expression from within Selenium. Here's what I try: //tr[@id='c...

2
голосов
1ответов
1050 просмотров

YUI Test: How to simulate more complicated user actions in JavaScript?

I have a number of tests written with YUI Test. YUI Test capabilities when it comes to simulating users' actions are quite limited, or rather fairly low level. For instance, I can't easily simulate the user typing in a text field, with the events and modifications to DOM objects that go with it. ...

0
голосов
2ответов
320 просмотров

Selenium Test Commandline

How do i post the results to a URL via the "selenium-server.jar" java -jar selenium-server.jar -htmlSuite "*firefox" "https://www.myserver.com/rc/" "/selenium/Tests/TestSuite2.html" "http://myserver.com/readSeleniumResults" chrome://src/content/TestRunner.html?auto=true&multiWindow=true&amp...

2
голосов
3ответов
4625 просмотров

"SessionId doesn't exist" error when starting Selenium server

I'm raising a Selnium-server (the jar), and getting this exception without trying to talk to the server. What can be the cause? The errors keep coming in once every 2 seconds. Could this be some leftover from a previous Selenium run? C:\Foo>java -jar ..\..\..\..\lib\Selenium\selenium-server.j...

0
голосов
1ответов
258 просмотров

In firefox browser, type_keys(locator,value) method from selenium escapes the last character from the "value" provided

I am working on selenium for automation web application testing. I want make a key stroke event while entering the values in the textfield I tried the following @browser.type(auto_complete_field_locator, auto_complete_field_value) @browser.type_keys(auto_complete_field_locator, auto_complete...

0
голосов
2ответов
1247 просмотров

Selenium command ordering for one-after-another JavaScript prompts

One script we have asks the user for a few values via successive JavaScript calls to window.prompt(). Selenium records this action, both the prompt texts and the values I typed in, but it doesn't seem to be able to play it back properly. It 'succeeds' in that no errors occur, but only the first...

24
голосов
9ответов
49755 просмотров

How to resize/maximize Firefox window during launching Selenium Remote Control?

I am using Selenium Remote Control . During executing the tests the actual Firefox window is so small. I want it full screen so I can see what is happening. How can I maximize the browser screen?

3
голосов
2ответов
4637 просмотров

Selenium IDE focus event doesn't fire unless window is active

I added this code to my web page: <input id='argh' type='text' onfocus='this.value=7'> Unless the browser window is active, the focus event does not seem to fire (using the 'focus' command) from Selenium: # [info] Executing: |waitForElementPresent | argh | | # [info] Executing: |focus |...

21
голосов
8ответов
21355 просмотров

Internet Explorer 8 64bit and Selenium Not working

I am trying to get selenium tests to run. Yet every time I try to run a tests that should run IE I get a error on line 863 of htmlutils.js It says that I should disable my popup blocker. The thing is I went to IE tools-> turn of popup block. So it is disabled and I get this error. Is there s...

2
голосов
2ответов
2087 просмотров

Delete all visible cookies raises an exception

I am using selenium with a python client. When doing selenium.delete_all_visible_cookies I get the exception: ERROR: Command execution failure. Please search the forum at http://clearspace.openqa.org for error details from the log window. The error message is: malformed URI sequen...

5
голосов
3ответов
3720 просмотров

Selenium RC and input control events

We have web UI project in MVC and for automated testing, we are using Selenium, it's a brilliant tool. But I am facing some problem in raising events with Selenium. Scenario: I have a textbox which expects +ve value and bubbles up an error (javascript) when entered any -ve value and we hit tab ...

1
голосов
1ответов
1692 просмотров

Help with Selenium Maven Cargo

I am trying to use cargo to deploy and start my container (which works fine), and then use selenium to execute some UI tests. Whenever I try to run (mvn clean integration-test), I get to the point where it says Launching Selenium Server Waiting for Selenium Server... [INFO]Redirecting output to...

0
голосов
1ответов
1481 просмотров

How to use Selenium IDE with tabular data and pagination?

I used to record tests ion selenium IDE for after export in selenium/rspec formt to run all them with Selenium RC. Now, I aquire a doubt when I was recording some test of crude operation of data in table with pagination. For example, supose that I have a table of customers thats can show 10 ite...

3
голосов
3ответов
2120 просмотров

Symbol not found: when running selenium with maven

Hi I'm getting a symbol not found error, when running mvn -e integration-test. Why could this happen if the package is in my repository? I have tried downloading it and installing it manually but it does not make a difference. Is this a common error in maven? I'm using vista home edition, Erro...

8
голосов
1ответов
24877 просмотров

Using Selenium for selecting an option on a select with optgroup

I'm trying to select a value in a select element. I'm using Selenium RC (Java) to run the test cases. I understand that the code for selecting a value is given by: selenium.select("locator", "value=REQUIRED VALUE") I'm unable to select the desired value with the above code. I think it might be...

3
голосов
2ответов
363 просмотров

Testing ASP.NET sites using master pages with Selenium

What is a good approach to avoiding Selenium tests being broken when dealing with the changing "Name" and "Id" attributes of a control that is rendered on a ASP.NET page using a master page? I want to avoid changing my tests when ASP.NET renders the web page's controls with different DOM identif...

1
голосов
1ответов
1190 просмотров

JavaScript: execute code in a specific context

How I can execute a JavaScript function/piece of code in a specific context which it would see as a global context? This is not the same as changing this (call/apply), this is more like changing 'window'. Basically, if I have the following code: (function() { x.value = 5; return value; })() i...

2
голосов
1ответов
1031 просмотров

How to test with selenium the creation of posts of wordpress and what happens in the frontend?

I am using Selenium RC and I have a test case creating posts and checking in the frontend (public side) if the posts were created and how they are rendered. But even if I log in at the beginning of the test case when I call the open command to go to wp-admin I am sent to the log in page. Why is...

2
голосов
3ответов
3644 просмотров

Selenium Testing in Hudson question

I'm having some trouble running a simple selenium test through Hudson. I've installed the SeleniumHQ plugin for Hudson and configured a job to run a simple test suite which consists of two tests which run fine from the Selenium IDE and from the TestNG plugin in Eclipse. However, when I try to r...

3
голосов
2ответов
6740 просмотров

Selenium RC Having problems with XPath for a table

I'm trying to select an element given by: /html/body[@id='someid']/form[@id='formid']/div[@id='someid2']/div[@id='']/div[@id='']/div[@id='']/table/tbody[@id='tableid']/tr[7]/td[2] Now the html of that row I'm trying to select looks like this: <tr> <td class="someClass">some text&...

2
голосов
3ответов
2523 просмотров

Is there a way to take screenshots during a scheduled task if the user isn't logged in?

I have a scheduled task that runs a set of Selenium tests every night at 3:30am. These tests also take a screenshot if they fail and email that screenshot to the development team. The problem I'm having, however, is that the screenshots only work when I'm logged in to the virtual machine (Windows...

2
голосов
2ответов
10716 просмотров

Selenium's Open function waits until what?

When I call the Open("[some URL]") method in Selenium, it waits until all resources (images, CSS, JS) are downloaded. But how does it know that the browser is done requesting resources? Here's my snippet of driver code (in C#): DefaultSelenium selenium = new DefaultSelenium( "localhost", 4...