selenium 4 « selenium « Java Testing Q&A

Home
Java Testing Q&A
1.Development
2.FindBugs
3.HTMLUnit
4.hudson
5.junit
6.performance
7.plugin
8.profile
9.selenium
10.Tools
11.unit test
Java Testing Q&A » selenium » selenium 4 

1. Selenium UI-Element extension    stackoverflow.com

I'm new to Selenium, and have a question about when to use the UI-Element extension. It seems like a lot more typing and effort than setting up tests in the IDE. ...

2. Selenium in ADF - af:ComboBoxListOfValues    stackoverflow.com

I am writing selenium testing code. I am stuck at an issue. Pls advise if anyone has any idea. I have click on a drop down and select a value. But the drop-down ...

3. Getting selenium ElementNotVisibleException with Doctype    stackoverflow.com

I am using selenium selenium-java-2.1.0.jar, selenium-server-standalone-2.1.0.jar On a particular page which has HTML and flash both . I am getting org.openqa.selenium.ElementNotVisibleException: Cannot click on element (WARNING: The server did not provide any ...

4. How to execute rspec code with selenium conditionally depening on whether or not a test fails?    stackoverflow.com

I use selenium and rspec to test a webapplication. I use database_cleaner to delete data which gets created by running my tests. In order to start with a clean database that ...

5. Which testing framework most strongly simulates the user experience?    stackoverflow.com

I know there are other similar questions, but I would like to know specifically which framework can run test that exactly mimic the user, or as close as possible. I have ...

6. Selenium or Eggplant    stackoverflow.com

we are just trying to evaluate which one is best - Selenium or Eggplant Selenium is of course free of cost. The following are some problems we faced: 1. click actually requires focus ...

7. Selenium - running a test suite of test suites?    stackoverflow.com

I'm running an HTML test suite as such: java -jar /var/lib/selenium/selenium-server.jar -browserSessionReuse -htmlSuite *firefox http://$HOST ./test/selenium/html/TestSuite.html ./target/selenium/html/TestSuiteResults.html Is there a way I can run all test suites in a directory, or create a ...

8. i18n testing using selenium    stackoverflow.com

Have any one used selenium for testing i18n ! Does Selenium provide any kind of I18N/L10N support? Is it possible to verify text based on message keys from a resource file? ...

9. how to test for blank when using robotframework-selenium?    stackoverflow.com

when using the robotframework-seleniumlibrary with a TSV file, how do you specify that a textfield value should be blank? For example, I have:

Textfield Value Should Be     ...

10. Export in FiddlerCore doesn't work    stackoverflow.com

I'm using FiddlerCore in my Selenium project. It captures all the sessions but I cannot perform export - DoExport method always returns false. Could you please help me? Here is my code:

 ...

11. Selenium 2- Is the Alert API supported by ChromeDriver?    stackoverflow.com

Is the alert API supported in Selenium 2 for Chrome? If not, is there a workaround, maybe using javascript injection? Mark

12. Is there a WaitForText or WaitForElement method in Selenium 2?    stackoverflow.com

I found WaitForPageToLoad,WaitForCondition and popup. I have an ajax request which is creating some new elements.

13. selenium confirmation boxes    stackoverflow.com

I'm testing an older application that loves to use alert, confirmation boxes etc. I have an instance where clicking a link causes a confirmation to pop up. This is handled nicely ...

14. Is there something like AutoIt that works for Selenium on Mac?    stackoverflow.com

I'm trying to work with some modal pop ups with Selenium. I run my tests on a Mac. Is there something like AutoIt or anything that will help ...

15. Presever-order=true does not work in selenium-grid    stackoverflow.com

@BeforeTest
@Parameters({"selenium.host", "selenium.port", "selenium.browser", "selenium.url" })
public void startServer(String host, String port, String browser, String url) throws Exception {      
        selenium ...

16. How to find and delete a specific record in table/grid using Selenium    stackoverflow.com

Assume that, a page contains a table of records (created dynamically) with Delete, Edit and View options (for each row/record). Now i want to find a specific record with name/id and ...

17. Why is Selenium only running the first test from my test suite?    stackoverflow.com

I'm using Selenium stand alone server v2.3.0 on Windows XP (sp2). I'm noticing that when I try and run my html suite against Firefox, only the first test gets executed ...

18. Selenium 2 RemoteWebDriver -StaleElementReferenceException: Element specified by 'id' is no longer valid    stackoverflow.com

I'm using the 2.4.0 selenium server in hub mode with two nodes each with 5 instances of Internet explorer (IE8 on win7) - this is all running on the same Win7 ...

19. How to create test suite in selenium rc with all testcases in one class    stackoverflow.com

Assume that, I have created an automation script using selenium and exported to JAVA language. Now I have multiple test cases in one/same class as below:

public class SimpleTest { 
  ...

20. Guide Me with good Selenium Tutorial    stackoverflow.com

I am new to automation testing tools i like to learn Selenium tool please guide me with right tutorial whether i need to be well versed with any scripting languages or ...

21. Accessing pass/failure state of previous row in Selenium    stackoverflow.com

I've made my own user extension for Selenium IDE and one addition to it that I would like to make requires me to access weather or not the previous command was ...

22. How to check not null in selenium?    stackoverflow.com

How to check not null in selenium? I used this code,but it is not working..error message is displaying if((s.getCell(2, i).getContents() != null)){

selenium.select("grouptype", "label="+s.getCell(2, i).getContents());

System.out.println("Group type"+s.getCell(2, i).getContents());
} Can you help me?

23. Using Chrome Driver with WebDrive and Selenium 2.4    stackoverflow.com

I am trying to run google chroome with webdrive but i always get error

java -jar ..\..\Selenium\selenium-server-2.4.0\selenium-server-standalone-2.4.0.jar -role webdriver -hub http://localhost:4444/grid/register -Dwebdriver.chrome.driver=..\..\Selenium\Driver\GoogleChroome\chromedriver.exe
but i get this error:
D:\PROJEKTI\crawler\WebCrawlerSuite\DLL\RunSelenium\Grid2>java -jar ..\..\Seleni
um\selenium-server-2.4.0\selenium-server-standalone-2.4.0.jar -role webdriver -h
ub http://localhost:4444/grid/register ...

24. How to use addCustomRequestHeader method in selenium?    stackoverflow.com

I was trying to use addCustomRequestHeader method to set a custom header for selenium requests. Given below is the source code

       Selenium sel = new ...

25. Test Runner speed issue in Selenium RC    stackoverflow.com

I am running the below command java -jar selenium-server-standalone-1.0rc2.jar -port 4448 -multiwindow -htmlsuite "*firefox" "http://mywebsite" "/root/Desktop/TEstRunner/Suite" "/root/Desktop/TEstRunner/result.html" Test Runner is running at the fastest speed, but my website is a bit slow it ...

26. Selunit isn't spinning up selenium.jar    stackoverflow.com

Is anyone using selunit? I've got it integrated into my CI server, but its not actually running the test? Its coming back as successful but no test results are being generated. When I ...

27. Selenium WebElement value empty after sending keys    stackoverflow.com

I'm running some simple form tests where values are added fields. After each value is added to a field:

input.SendKeys(value);
I want to check the value in the field is correct. This may ...

28. How do I detect a test has failed in Selenium html test?    stackoverflow.com

We have a bank of tests that all start by logging in. They're recorded by QA so are html tests. However occasionally something goes wrong and the tests fails. When that ...

29. How do I inject a JS function in my Selenium tests?    stackoverflow.com

I'm using Selenium client driver 2.5.0 with the WebBackedSeleniumDriver. I want to inject a Javascript function for use across my tests, but am having some trouble. Here's how I ...

30. is user-extension must for selenium RC?    stackoverflow.com

I have created a project in Eclipse for Selenium automation using testNG framework. I have never used any user extension file in the past, but I heard that we need to ...

31. Selenium Capture background color    stackoverflow.com

Possible Duplicate:
Selenium css >> locate by color
In selenium can we obtain the background color of a website which is being recorded or executed

32. which class should i import to use verifyTrue    stackoverflow.com

I am using selenium with testNG. using dataProvider i am verifying the list, which have hundred names. I have added all these into an excel sheet with comma separated in A ...

33. Disabled button issue in selenium test    stackoverflow.com

In my application when page loads "SAVE" button appears in disabled mode and later after entering name it gets enabled, it is happening while recording but while playback with selenium, button ...

34. Selenium: simulating typeing on Chrome    stackoverflow.com

Does anybody know how to simulate typing on Chromium? I want to simulate real typing and I successfully used combination of keydown+keypress+keyup on firefox. However, this approach does not work on ...

35. selenium: checkbox not getting enabled?    stackoverflow.com

I have a webpage where I have a text field/box and two checkboxes. The checkboxes are enabled only after something is typed inside the textbox. When i do this manually everything ...

36. selenium: type_keys(locator, "movyt") not typing correct value    stackoverflow.com

I am using firefox I Have used the following code in selenium:

selenium: type_keys(locator, "movyt")
But this types on mov and then clicks on the 'Tools' dropdown menu on the browser. I found ...

37. How to run Selenium tests parallelly in one machine    stackoverflow.com

I have two test suites configured in build.gradle and i am using selenium-server-standalone-2.1.0.jar. How can i make use of selenium-grid to run selenium tests parallel. Is it possible to run two ...

38. How to add task to run parallel selenium tests in build.gradle    stackoverflow.com

In our project we are using gradle to nuke the DB and also using gradle to run the selenium test cases in different suites. I am trying to run selenium test ...

39. Selenium RC and Firefox4 support    stackoverflow.com

Who knows in which release of selenium server firefox4 (firefox5) works correctly. On http://seleniumhq.org/about/platforms.html mentioned that both versions are supported, but I didn't find in release notes anything like ...

40. Write Selenium Test to test text wrapping?    stackoverflow.com

I am trying to write the selenium test using selenium 2.0 for the attached scenario. Test Scenario HTML code is as follows <div width="100px" style = "background-color:blue"> This%is%Normal%Text%on%page%without%dynamic%view%and%not%width%set. </div> I need to verify whether ...

41. Best solution for automated testing in a multiple application scenario    stackoverflow.com

I'm trying to choose automated UI testing tools for the following scenario, with 4 applications:

  • app 1 one application with a WEB UI
  • app 2 one flex application
  • app 3 one html5 application
  • app 4 ...

42. Difference between defaultselenium.shutdownseleniumserver and seleniumserver.stop    stackoverflow.com

1) What is the difference between defaultSelenium.shutDownSeleniumServer() and seleniumServer.stop() ? I observe that when I just use

defaultSelenium.stop();
seleniumServer.stop();
the browser closes but the server does not shut down. If that is the case, ...

43. How to use Selenium to store values between tests    stackoverflow.com

Selenium has the ability to temporarily store data items and then later retrieve them in subsequent tests, e.g.

storeText | @id='ctl00_ContentPlaceHolder1_FormView1' | someValue
This works well within a single test and also between ...

44. selenium testing for addthis social networking like buttons    stackoverflow.com

iam using Addthis API calls to page share. so now i want to test these API calls with selenium automated testing is it possible. If it is possible please help me ...

45. Creating Selenium-RC for other programming languages    stackoverflow.com

I would like to know if its possible to develop a selenium RC for other languages( i.e. other than php, python, perl, ruby, java and c#). For example, we develop a ...

46. Select an nth matched node from a list of matching nodes    stackoverflow.com

I'm working with selenium to perform some automation and I'm attempting to interact with my webpage using Selenium & CSS selectors. My question is how do I select the nth matched node ...

47. How to test selenium scripts?    stackoverflow.com

I'm working in a project with a quite large suite of tests (about 800 scenarios). Our code grew quite a lot and now I'm looking for ways to test some parts of ...

48. Selenium WaitForCondition fails after 30 minutes instead of 20 seconds    stackoverflow.com

In our functional tests we use ISelenium.WaitForCondition method to test whether AJAX calls are finished using something like this:

_selenium.WaitForCondition("!selenium.isElementPresent(\"" + locator + "\")", "20000");
Sometimes this code fails with SeleniumException:
Selenium.SeleniumException: ERROR: Command ...

49. Clear text from textarea with selenium    stackoverflow.com

I've got some tests where I'm checking that the proper error message appears when text in certain fields are invalid. One check for validity is that a certain textarea element ...

50. Selenium does not support "type" action after "controlKeyDown" action    stackoverflow.com

I am working with selenium and recently encountered this exception from Selenium -

type not supported immediately after call to controlKeyDown() or altKeyDown() or metaKeyDown()
Can someone explain to me why Selenium does ...

51. SessionId null in Selenium RC test after redirect    stackoverflow.com

I'm testing an app, and after I've filled an extarnal payment service iframe I'm redirected to a payment confirmation screen inside the app I'm testing. In selenium webdriver this confirmation windows is ...

52. How to optimize testng and seleniums tests    stackoverflow.com

For my internship, I have to use TestNG and selenium for testing a web-application. But I have a problem, sometimes selenium or the Browser is not working for some random reason, ...

53. Selenium: How to copy values from field1 to field2?    stackoverflow.com

We are recording a test using Selenium IDE in Firefox. We need to copy a value from a read-only field to an input field. Is there a direct way I can refer the ...

54. how to re-run only failed tests in the bamboo?    stackoverflow.com

We are running our tests o bamboo. But if any test failed on bamboo we have to run the bamboo again with the all tests. Is there any way with which ...

55. New to selenium. Please help. Unable to get focus on the current frame    stackoverflow.com

I am working on selenium from java code. In my current page there are two frames and i basically want to search for a text in any of these two ...

56. How to find out how many use Selenium for Automate Testing?    stackoverflow.com

I was asking myself if one has the opportunity to find out how many people use Selenium for their automated testing. This would depend on a number of how many do ...

57. Limit resource consumption of Selenium RC    stackoverflow.com

I am using SeleniumRC with PHPUnit to run browser tests automatically. The tests sometimes hang (the php process somehow dies without sending a stop command to the selenium server); when that ...

58. Finding elements in a HTML list based on another element in the list using Selenium RC    stackoverflow.com

    <ul id="Group_00000000-0000-0000-0000-000000000001" class="xxxxxxxxx">
        <li class="buttons">        
        ...

59. Selenium ShowDialogic Modal    stackoverflow.com

I'll post an example and wanted to know what are the solutions for the selenium IDE operate in "modal" windows without stop the script. I will provide an online example and the script ...

60. Security in Selenium 2?    stackoverflow.com

I was asking myself if Selenium has any possibilities to secure the communication in Selenium Grid for example. As far as I know Selenium communicates via JSON and Selenese commands. But ...

61. selenium + highlighting    stackoverflow.com

Need to find a way to get the highlighted element –There are some scenarios which require verifying whether a particular element is highlighted or not. For ex. A Slug textarea is ...

62. What does HQ mean in SeleniumHQ?    stackoverflow.com

Use Selenium a lot, but wondering the folowing question Just a little bit curious, I am wondering anyone has the diea wtat is HQ mean in SeleniumHQ?

63. Selenium: How to detect controls in skytap?    stackoverflow.com

I am testing a application in Skytap.. How to detect the buttons and textboxes inside in it? Whether there is any way to detect those buttons and Textboxes?

64. Selenium 2 right-click    stackoverflow.com

I am using Selenium 2 (Web Driver) under Linux with a FireFoxDriver. I am not able to perform a right click on a WebElement or on another possition using coordinates. I also ...

65. How to write a custom FindElement routine in Selenium?    stackoverflow.com

I'm trying to figure out how to write a custom FindElement routine in Selenium 2.0 WebDriver. The idea would be something like this:

driver.FindElement(By.Method( (ISearchContext) => {
  /* examine search context ...

66. Selenium testing inputs    stackoverflow.com

I am trying to make a test with Selenium to verify the exact number (and name) of inputs on a page. I need the test to be related to the xPath ...

67. what does "*firefoxproxy" or "*iexploreproxy" do    stackoverflow.com

I am researching the selenium and I don't understand "*firefoxproxy" does for ? I can use selenium well with just "*firefox". Please explain to me when we will use that mode ...

68. How to change the values from a loop in Selenium automatically    stackoverflow.com

example: Scripts is to create account. (username and password) In the loop I just have to add new username (like user1, user2 ...) with same passwords. how to execute this loop automatically passing new ...

69. Selenium pdf output    stackoverflow.com

I'm trying to read a pdf from a click button. The action pops up a page. I have some similar old code that does the same thing but i'm seem to getting ...

70. Selenium Framework    stackoverflow.com

If an interviewer asks, "Explain about Selenium Framework," What points do we need to focus on? Do we need to explain about JUNIT or testNG (whichever we are using on our project) ...

71. coffee script cakefile task not finishing    stackoverflow.com

I have the following cakefile task to run selenium tests which runs successfully and gets to the end of the tests but doesn't exit.

muffin = require 'muffin'
wrench = require 'wrench'
http  ...

72. Selenium RC's browserbot.getCurrentWindow() to get a handle to YUI3    stackoverflow.com

Currently we are testing our application's UI using Selenium RC. In certain situation we use Selenium's browserbot.getCurrentWindow() to get to a javascript object on the page under test. For example we've ...

73. Version conflict with Castle.Core when using White and NHibernate    stackoverflow.com

I found an issue trying to add White functionality to our testing framework based on Selenium WebDriver. After adding all references to project, it compiles without errors. But it throws an exception ...

74. What Selenium version is currently the most stable?    stackoverflow.com

My project's tests were written when Selenium 2.0a_ (Alpha versions) were available, and I want to upgrade Selenium to a more recent version. One good reason for this is that the ...

75. selenium with custom chrome profile    stackoverflow.com

how to run selenium with chrome profile.i want to load addons when it starts.i know option to run -firefoxTemplate .what is the command for chrome template?

76. selenuim 2 stop work when proxy settings is used    stackoverflow.com

I wrote selenuim code that open Google, send some search criteria to engine and click on specific link in result pages. ?verything is fine, but if I set proxy setting to ...

77. Bromine 3 with Selenium : Return database back to initial state    stackoverflow.com

I have a set of Selenium tests which are run through Bromine. These tests involve adding and modifying existing database records which all run ok first time, however when running my ...

78. selenium verification of element being present on webpage    stackoverflow.com

I have just started to try out selenium webdriver in eclipse. I have recorded a test with firefox and exported it at JUnit 4 testcase. I want to verfify that an ...

79. What is the most maintained newest framework in .NET for writing acceptance tests?    stackoverflow.com

I am practicing TDD for some time now, I want to advance my skills and start doing ATDD, I read about frameworks for ruby and java but didn't hear much about .NET What ...

80. Selenium Test does not work with Safari    stackoverflow.com

I have developed a Test Case with Selenium and it works without any problem on Firefox and IE9 but the same code with Safari does not work. The code is the ...

81. parallel test on two version of the same web app    stackoverflow.com

I have two version of the same application, the older one A, is stable, the newest one B, added some new features to A, I want to make a functional test of ...

82. Verifying file download with Selenium    stackoverflow.com

I need to use selenium to verify a download. I need to click on the download file link and check that it is downloadable or not. (Means download is starting or ...

83. Selenium 2 Web driver (Email verification)    stackoverflow.com

I need to verify the email that is triggered from my application to gmail, yahoo, etc. I have done all the functional test using selenium 2 web driver till the email ...

84. How do I edit atoms.js when using Selenium RC?    stackoverflow.com

I have the same Firefox 8 upload issue with Selenium as described here: Selenium IDE 1.4.1 throwing security error when uploading a local file The solution to the problem is to ...

85. Any Open Source projects that has Selenium 2.0 tests?    stackoverflow.com

I'm starting to use Selenium for UI testing and was wondering if there were any open source projects with decent tests that I can use for learning about how to design ...

86. select element by selenium    stackoverflow.com

I am trying to select an element from the following html code:

<ul class="selectReplace opened">
<li class="default">Standardpizzor</li>
<li class="first">Standardpizzor</li>
<li class="">Specialpizzor</li>
<li class="">Kebab</li>
<li class="last">Dricker</li>
</ul>
by Selenium RC command:
selenium.click("//ul/li[4]");
but no luck! Please help me out if anybody have ...

87. Dealing with Selenium tests that fail occasionally during automated deployment    stackoverflow.com

We have a C#/ASP .Net web application that is built and deployed by the build server (Jenkins). One of the build steps before the automated deployment is ensuring that all automated ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.