5
votes
1answer
672 views

Selenium tests for custom portlets

Can anyone provide me a link/document with information on how to write and test custom liferay portlets with Selenium. I am using Liferay 6.1EE Thanks
3
votes
1answer
138 views

Monitoring specific js events and the time it takes to execute them as part of automated testing?

I am trying to find a reliable way of testing a webapp in order to obtain certain performance metrics. The webapp uses mostly Javascript for its various actions/requests etc. What I want to be able ...
3
votes
1answer
736 views

Selenium RC fireEvent() not working in C#

I am writing an automated test to test a sign up page. Each of the textbox on this page is validated on blur event. Sign up button is only enabled if the validation for all textboxes has passed. I ...
2
votes
1answer
1k views

Selenium iOS-driver (0.6.5) doesn't start Safari

I've set up a Mac-Mini with java, Xcode 5 with iOS simulators for iOS 7. I want to use the iOS-driver (http://ios-driver.github.io/ios-driver/) for Selenium to run automated tests. But the driver ...
2
votes
1answer
911 views

Run local Selenium Tests via Jenkins/Hudson

I would like to run local Selenium test script written in Java, via Jenkins/Hudson. Is it possible to run scripts from my local windows machine? So far I have written some simple Selenium tests in ...
2
votes
1answer
5k views

Selenium WebDriver. After waiting for the element click() freezes test

I need to click on the dynamically generated element using Selenium WebDriver (Java API). I'm waiting for this element to appear with WebDriverWait and then clicking on it. This click succeeds but the ...
2
votes
1answer
260 views

Selenium test 'Unable to locate element' in IE

I have created an automated test that logs a user in to a site and performs certain operations. The test first runs in Firefox, Chrome and then IE. It runs perfectly in Firefox, closes the browser and ...
4
votes
0answers
155 views

Capture script-generated mailto URI

Summary: I'm doing some automation testing for a webapp (using Selenium), and I'm trying to capture a mailto:link (specifically one of its query parameters) that gets generated by javascript during ...
3
votes
0answers
555 views

Selenium Test to test Jquery Effects ( Slide, fade)

We have a web application and we are using JQuery UI transition effects fade and slide. We would like to automate this using selenium. Does any one has any suggestion how can I achieve this goal ? ...
2
votes
0answers
99 views

Selenium IDE and Headless Browser Testing

How do I run test cases made with Selenium IDE (Firefox Plugin) in a headless browser? When I create test cases with the firefox plugin it saves them as .html files. I am trying to setup a way of ...
2
votes
0answers
323 views

What are popular ways to pre-populate the database for Selenium testing?

If I have a test that requires X widgets as a precondition, I'd like to avoid the tedious process of making X widgets in the test through the front-end. The main alternatives appear to be either ...
1
vote
0answers
57 views

test display of context menu with selenium webdriver

I have a problem to test the display of contxxt menu when i right-click in a compnent this is my code HTML <div contextmenu="menuContext" class="demo" id="global" style="display:block;"> ...
1
vote
0answers
71 views

nUnit Test Runner - Test stays in “Not run” if it takes over a certain amount of time

We have some Selenium tests built with nUnit that take quite a while to complete. We are finding that they stay in the "Not run tests" grouping even though they should pass. After some initial ...
1
vote
0answers
91 views

Automated testing of OAuth2 server

i'm working on a OAuth2 server, and recently i extended it by adding some new grant_types, and since number of flows is getting bigger i would like to add automated testing. The problem is that some ...
1
vote
0answers
397 views

How to select/click cursors/icon on a map. Selenium IDE

I am facing a problem with selenium IDE I want to select/click any 2 cursors on map page I can't use the id's because every time you refresh the map you will get another different cursors with ...
1
vote
0answers
238 views

Does jMagick have compare method?

I am trying to compare screenshots using the jmagick java api for ImageMagick. I could not find any compare method here http://downloads.jmagick.org/jmagick-doc/ Could someone let me know, if jMagick ...
1
vote
0answers
82 views

JS Error Detection Across All Browsers Using Cucumber

JSErrorCollector is cool, but can only be used with FireFox. Anyone know how I can detect js errors across my site, using any browser?
1
vote
0answers
233 views

Integrate yslow with selenium tests

I have written selenium tests in java and want to integrate yslow with it. But i didn't know how to do it. Provide me with full guidance in Detail.
1
vote
0answers
522 views

Cannot see browser when running Selenium tests in Hudson

As said in the title, I'm running Selenium tests in Hudson, using the SeleniumHQ plugin, on windows 7. I'm running the tests as part of a Hudson job, which is executed by a slave. The slave is ...
1
vote
0answers
2k views

Selenium 2/WebDriver and Selenium Server - switching windows gives same HTML

I've been using Selenium 2/WebDriver through Ruby 1.9.2, and directly through FireFox it works fine. I wanted to use HtmlUnit so it's faster and headless, so I'm trying ...
1
vote
0answers
602 views

Testing Google Earth browser plugin with Selenium IDE

I am trying to test an application with a web page that has the Google Earth plugin on it. I need to perform some automated testing on the Google Earth plugin. I am trying to click and move the map ...
0
votes
0answers
16 views

Select emulator using Selendroid

I am trying to select emulator when running Selendroid and found this flag -emulatorPort "Specify the port number to start running emulators on." List of devices attached emulator-5554 device ...
0
votes
0answers
18 views

paralell testing c# NUnit tests over Selenium grid

I have been investigating paralell testing c# NUnit tests over selnium grid, and am struggling to find any recent information on how to do this. Does anyone know whether it can be done in v2.6.3 of ...
0
votes
0answers
16 views

CubicTest Adding Elements

I am using CubicTest Selenium Library (includes cubictest-2.2.0.jar) for FrontEndTesting. For our testing department it is essential to add our own PageElements from the Palette to the GUI as the ...
0
votes
0answers
12 views

Visual Studio 2012 - TestResults folders created during a test run, but they're empty

So, I'm running tests in Visual Studio (Selenium Webdriver, and using the MS UnitTest framework.) As it should, the test class has a TestContext and everything. After each run, a TestResults folder ...
0
votes
0answers
40 views

Is it possible to mock API responses with Selenium WebDriver?

I am considering writing an automation test with Selenium WebDriver for a sign up page. In order to not over populate the database, I would have to mock the response given by the sign up API. Is this ...
0
votes
0answers
29 views

How to add visual overlay on a screen selenium is running and I record a video

I am using Castro 1.0.6, "a library for recording automated screencasts via a simple API." https://pypi.python.org/pypi/castro/1.0.6/ Thanks to Selenium, Behave and Castro I am able to generate the ...
0
votes
0answers
39 views

How to compare the updated webpage with the non-updated one automatically?

Apologize for my poor english. I have to compare the details of the updated webpage with the non-updated one, such as the location and size of all elements. I use google diff at first.If the html ...
0
votes
0answers
70 views

Testing Chrome app with Selenium WebDriver?

I have some Selenium WebDriver Java tests running fine in Chrome and Firefox. However, now I want to make it work on a Chromebook app. I guess there's no way to run it directly on a Chromebook, so I ...
0
votes
0answers
38 views

Selenium IDE PopUp in a PopUp (nested popups)

I am having difficulties with multiple popup operations. Sometimes nested popups created. I can do operation in first popup but I can't do anything when another nested popup created. ...
0
votes
0answers
29 views

Load Test to estimate the maximum number of images per second

I have implemented a REST web service in GRAILS which client can get resized image through it. Now the question is : How can I test the web service to estimate the maximum number of images that can ...
0
votes
0answers
40 views

How to run Selenium WebDriver test for two dependant Android and Web instances

We have two Applications - Web app and Android Native app. Changes Done in web application affecting on Android application and vice versa. I want to run a test with Selenium WebDriver that will check ...
0
votes
0answers
157 views

Selenium WebDriver - element is not visible

In relation to other questions regarding the inability to click elements which Selenium considers invisible, I am hoping this question carries a slightly different stance. I am using Selenium (.NET) ...
0
votes
0answers
99 views

Selenium Executing JavaScript within the page

I am using Selenium 2 and I need to execute some JavaScript in the page as part of the tests. I saw various examples on the web, no one of them seem to work. What I need to do it's this: after the ...
0
votes
0answers
66 views

Can I model page elements using PageObjects in Selenium WebDriver?

I am using PageObjects (actually LoadableComponent approach) in a Selenium WebDriver testing project. On one of the pages, there's a list of rather complex HTML objects contained in a div. I was ...
0
votes
0answers
88 views

selenium rc open timeout because of popup

I am testing a proxy which has returned a popup with username and password fields. Calling open_browser(url) should work, but the popup is showing prior to the main window opening and so open_browser ...
0
votes
0answers
61 views

Selenium WebDriver in Debian Server 6.0.1

After searching alot and trying a alot.. is it really possible to install and run Selenium WebDriver on such and Operating System(O.S with no GUI ONLY CUI interface) and has any body really done ...
0
votes
0answers
181 views

How to use webdriver to randomly click on a button with precondication

I'm trying to write a test script with flight booking tickets scenario like this: Randomly click a button which description contains keyword "tax not included",then results shows; Randomly click a ...
0
votes
0answers
41 views

Respawned requests after 60s timeout on Selenium-RC. How to set timeout?

Has anyone encountered a problem with Selenium-RC that is revealed by aborting and respawning requests? In my case Selenium-RC aborted requests after timeout=60s, and trying to duplicate this requests ...
0
votes
0answers
132 views

Watir webdriver handle 'Save As' dialog across browsers (IE, Firefox, Chrome)

How can I save a file using Save As dialog in watir-webdriver. Browser Downloads of the watir-webdriver documentation shows example for firefox & chrome but not for IE. Is there any consistent ...
0
votes
0answers
69 views

Accessing meta info tags programmatically in JBehave

Some background: Along with my automated tests, I'd like to use JBehave to report on my manual functional tests. My idea is this: Write a manual test in the regular JBehave format e.g: Given I am ...
0
votes
0answers
99 views

How to type quotation mark and apostrophe in Geb test in Chrome browser

I'm having trouble automating the typing of quotation mark and apostrophe characters in a text field with ChromeDriver. By text field I mean an usual input type text element: <input type="text" ...
0
votes
0answers
17 views

Should my models in automated testing support code represent possible user input or enforce data types / business logic?

In other words, let's take an invoice web application. You can create an invoice and you have a few fields: your name, address, phone number, invoice number, etc. You have automated acceptance tests ...
0
votes
0answers
20 views

Notify when context of website changed

I want to observe some online page and I want notification when context (some exact field) changed for example some text in <a href ... >??</a>. Does exist some plugin to Chrome or how to ...
0
votes
0answers
200 views

Selenium C# Any alternative way of finding if element is present on browser other than IsElementPresent(By by)

I have a scenario where there are three distinct html parent elements <tr class="s3288" data-id="s3288"> <tr class="s3288" data-id="s3288"> <tr class="s1" data-id="s1"> Two ...
0
votes
0answers
176 views

How to load db from file, php. PHPUnit, Selenium testing, database loading

I have problem with running from Eclipse IDE a testcase. when I run test case in command line in terminal it runs with success. Command used: ./loadDBwithTestData.sh ...
0
votes
0answers
122 views

Concurrent Threadpool error from testng , after initializing the driver , driver spons for a sec and then it dies with below error

i am using testng to run my testcases written in Java but its failing by giving this error. As a lack of developing knowledge i am unable to find out the exact root cause of following error : ...
0
votes
0answers
251 views

Execute the selenium test suite it gives the error while debug it line by line code it runs successfully

I am using tools for test Nunit 2.6.2, VS 2012, selenium web driver 20.32.1 Now the problem I am facing is I have created a test suite consisting of three test, when execute the test it runs first ...
0
votes
0answers
151 views

checking a checkbox having random ids in cucumber-rails

i have a scenario where i want to check/verify that the checkbox is disabled/checked.i have all the required steps which uses id of the element to verify/check the checkbox.Now i have a checkbox whose ...
0
votes
0answers
55 views

How do you load different Selenium2 settings depending on environment?

I'm on a huge project now which is introducing some Selenium into their test team, which up until now has been mostly manual. They have 3 different environments that the tests can be run in ...