Hi All,
I am testing the web application using Selenium RC. All things works fine and I have written many test cases and executing these test cases using Nunit.
Now the hurdle that i am facing is how to keep track of failures or how to generate the Reports ?
Please advice which could be best way to capture this.
Thanks in Advance...
I have Selenium tests in PHP under PHPUnit run via CruiseControl. Is it somehow possible to check if there was a JavaScript error on the page?
...
When I change mt test browser to IE using the following line of code:
self.selenium = selenium("localhost", 4444, "*iexplore", "http://www.mydomain.net/")
I get the following error:
Exception: Failed to start new browser session: java.lang.RuntimeException: SystemRoot apparently not set!
It works perfectly fine using firefox and Ch...
The subj.
Thanks in advance!
...
Hi
How can i clear the contents of an input field using ruby selenium?
i.e when page loads up there are values in the input filed but i want to replace them with new ones.
thank you
...
I have built a couple of test cases as stand alone python classes using Selenium. I can run each of them using Selenium RC. Ultimately I want to use Selenium Grid to run all of the test cases.
How would I do this?
Do I need some kind of wrapper to hold of of the python test cases together? How do I get Selenium Grid to run a collectio...
Hi
I was just wondering how i can wait for a hidden element to appear on the page,
i triedni seleum.is_element_present but it dosent seem to be working.
thanks
...
Hi there,
I have been testing for a web-application written in PHP and JavaScript, and I am looking for integration testing tools that can be well communicated with a continuous integration server, potentially phpUnderControl.
As an integration testing tool, I have used Selenium with Rspec which works just fine. This produces html file...
I am using phpunit 3.4.15.
On Centos 5.3 linux I started Selenium server 1.0.3: java -jar selenium-server.jar
I would like to call a browser running on Windows to run the test.
This is the script I try to run:
<?php
require_once 'PHPUnit/Extensions/SeleniumTestCase.php';
class Example extends PHPUnit_Extensions_SeleniumTestCase
{
...
Problem appears on IE7-8. Here is simple demonstration:
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript">
// Selenium's trigger from scripts/htmlutils.js
function triggerEvent(element, ev...
I have this html:
<div class="title">
<div class="subtitle">
<div id="flhcd1>
<h3>Hello</h3>
<span></span>
</div>
<div class="subtitle2">
</div>
</div>
I want to be able to use selenium and javascript to store the text in the <h3> (Hello) in the variable titleText .
I will be using this code in browsermob for monitoring tests.
...
I have an object
var object= {}
I put some data in the object and then I want to print it like this
document.write(object.term);
the term is a variable that changes depending on different situations. When I try printing this it comes up with undefined.
How would it be done?
Update:
this is the code I am dealing with. I guess it ...
I'm using htmlagility pack to locate elements in large loops through tables because its much faster than using the native methods provided through webdriver.
After locating a specific element through the looping I'm getting its xpath, then feeding that to webdriver to return an element.
However I'm getting an exception;
OpenQA.Sel...
Hi have problem i create test when i run it from selenium IDE everything is ok, test be passed. When i run my test by selenium testRunner the page was opened but any command eg. clickandwait cannot run in log error "Illegal operation on WrappedNative prototype object". Any idea?
...
Hi,
We have a complex web application which uses a lot of JavaScript along with XMPP and a Rails application. It has come to the point where we need to test the entire system end-to-end. We need to be able to ensure various tasks can be completed without errors, one such task would be to negotiate a 1-on-1 chat session with another part...
Multi-Test TestNG.xml file results in java.lang.NullPointerException
Hello Quality Team,
I need help getting TestNG to run multiple tests from one XML file. So far my efforts to do this result in a java.lang.NullPointerException OR the test(s) fake_execute="says it ran...but how can it have run if it didn't start selenium?"
One final...
Hi
I've recorded a Test Case in Selenium IDE where I access to a newspaper and click on a certain element (a link to a blog by KEITH DUGGAN). The commands recorded are these:
open | h t t p://www.irishtimes.com/
clickAndWait | link=Sport
clickAndWait | //div[@id='content']/div[2]/div[2]/div[2]/ul/li[3]/a/span
h t t p://img180.images...
Hi,
I am using Selenium 2 (latest release from Googlecode) and I have it firing up Chrome and going to a url.
When the page has loaded some javascript executes to set the value of a textbox.
I tell it to find a textbox by id which it does but it doesn't have the value within it (if I hardcode a value it finds it).
Looking at the Pag...
Hello there,
how i can write VerifyTextPresent command in selenium IDE, and what shall be its procedure like i am writing VerifyTextPresent="welcome" to verify a text is present , it is returning an error, am i writing in correct format? kindly guide
regards,
Shoaib
...
Is there a way to automate a selenium test to run every five minutes?
...