When I'm working with AJAX + Webrat in Selenium mode, I'll often have
to specify real domains and subdomains. Consequentially I'll get this
message a lot:
14:00:45.222 WARN - you appear to be
changing domains from
http://test.host:3001 to
http://elabs.test.host:3001/dashboard
this may lead to a 'Permission denied'
from the...
Hi,
Can I any body help in following questions?
How to use Selenium Grid with Selenese html based test cases?
How to distribute load for Selenese test cases on different machines using Selenium Grid and Selenium RC?
Please reply. Thanks
Sajjad
...
I've tried installing Selenium IDE from their website. The newest version - 1.0.2 - installs fine. After restarting Firefox, I go to "Tools" > "Selenium IDE", and this window opens:
No more happens. I can access the menus of Selenium (Create New Test Case, etc.) but clicking them doesn't have any effect.
I am using Firefox 3.5.3 on Ma...
Hey, this should be pretty simple, but it's causing me a lot of grief! I have lots of buttons like this:
<form class="general" method="post" action="/password">
<div style="margin: 0pt; padding: 0pt; display: inline;">
<input type="hidden" value="Yg4EweyWwXO8RAF9nd3RZKNmQw8Yk+f2vefLQ/IENyg=" name="authenticity_token"/>
</div>
...
I have some HTML like this:
<h4 class="box_header clearfix">
<span>
<a rel="dialog" href="http://www.google.com/?q=word">Search</a>
</span>
<small>
<span>
<a rel="dialog" href="http://www.google.com/?q=word">Search</a>
</span>
</h4>
I am trying to get the href here in Java using Selenium. I have tried the following:
...
Currently I'm incrementing a value called wert by 1 with the following code:
getEval storedVars['wert']=${wert}+1;
The value 'wert' is something like 80401299.
I want to add 1 to the value, if it ends between 70 and 99, after 99 the next value should be 80401370 (skipping 00-69). How is this possible in Selenium IDE?
...
I am using Selenium IDE to record some scenarios and wanted to check if a particular text is present on the page. I inserted a command "VerifyTextPresent". However, it always returns the result as true even when the particular text is not present.
What can be the probable reason? Do I need to modify anything?
...
I've been using Selenium (with selenium rc, and the ide) in ruby, with rspec, for some time and it's been great. I recently wiped my installation of ubuntu, however, and installed ubuntu 9.10. I set selenium up again, which consisted of installing the selenium-client gem (1.2.17) and adding the selenium ide plugin in firefox.
When i r...
I have some JavaScript from a 3rd party vendor that is initiating an image request. I would like to figure out the URI of this image request.
I can load the page in my browser, and then monitor "Live HTTP Headers" or "Tamper Data" in order to figure out the image request URI, but I would prefer to create a command line process to do thi...
I have the following XPath:
//div[contains(@id, 'box')]/div/h4/small/a[contains(@href, 'google')]/@href
When I try out this XPath in XPath Checker (Firefox extension), it works perfectly all the time. But when I do the following in Selenium:
System.out.println(selenium.getAttribute("//div[contains(@id, 'box')]/div/h4/small/a[contains...
I am using selenium-server , selenium rc for UI testing in my application . My dev box is Windows with FireFox 3.5 and every thing is running fine and cool. But when i try to run selenium tests on my build server which is a linux box , i get this error
Caution: '/usr/bin/firefox': file is a script file, not a real executable. The brows...
I use selenium, usually with firefox, to test my rails apps and it's all fine. I want to run my tests in IE6 as well. I'm in ubuntu, using the ruby selenium-client gem. For IE6 i use ies4linux, this is an executable which is at /home/max/.ies4linux/bin/ie6
I'm editing my selenium conf to try to get it to use the above, but can't get ...
I am writing Selenium script. For a html page include a table, I can not use "css=table tr:nth-child(2) td:nth-child(3) a" to locate the link in the table. Selenium IDE give me the "[error] locator not found".
But use "css=table tr:nth-child(2)", it can locate to the row.
So am I mistake for the css locator, I think adding the "td:nth-...
Hi, I'm new with selenium ide..
Element(82.02) is set via javascript:
<tr id="_tr_total" style="">
<td class="frm_preview_title"> </td> <td/> <td class="frm_preview">
<strong id="total_ltl" style="font-size: 12px; color: brown;"> 82.02 </strong>
</td> </tr
how you can see, there is a value 82.02, but it's set via javascript, and wh...
Sometimes one of the machines registered under the selenium grid gets shutdown, or something similar.
Then, the grid starts reporting that it cannot start a new session.
I would like, in such cases, to know which machine did the grid actually try to allocate for the session (we have ~70 machines so going through them one by one isn't pr...
I'm using selenium-rc and I'm trying to click on a specific email on gmail in order to get into the email page. More specifically: on the gmail inbox, click on a email with a specific subject.
I can't find the correct xpath (none of the tags in the email part are links). Ideas?
...
Hello everyone.
I'm trying to set up my virtual (xen) win xp instances, a dedicated windows server, and a dedicated windows xp desktop pc for web app UI testing, using selenium-rc and the selenium PHP API from pear (the php script running the tests sits on its app server, on the same local network as the remote-controlled windowses).
E...
Hello,
I've followed a lot of the guides and forum posts online but haven't had any luck getting this to work inside TestNG. It's a selenium grid based test, programmed in eclipse.
Had trouble, so used the libraries listed in the suggestion of this forum post: http://clearspace.openqa.org/message/66867
I am trying to run the suite in t...
I make use of *firefox and *iexplore etc. within my selenium tests to get around the issue of self-signed SSL certificates on my local machine. Unfortunately, now that I've moved from XP over to 7, this seems to have stopped working.
I'm running the selenium RC server process as administrator, since that was necessary to get an IE insta...
In my page I have some ids like "foo:searchResults12345" that are composed of a static part ("foo:searchResults" and a dynamic rendered one - one or more numbers.
I want to retrieve every id that contains the static part "foo:searchResults", ignoring the dynamic one.
I am thinking at using regex for the pattern text, but the problem is...