Tagged Questions
0
votes
0answers
6 views
Selenium ExpectedConditions.frameToBeAvailableAndSwitchToIt
This method intermittently hangs on me not honoring the timeout at all. Other times it times out when as far as I can tell it shouldn't... the iframe is there and loaded. Then other times it works ...
0
votes
1answer
28 views
Changing focus to next input element in Selenium 2 with intern
I am trying to fill a login form like below, but doen't work
this.remote.get('http://localhost:8000/login')
.keys('name1') // type on focused username input field
.keys('\uE004') // press Tab ...
0
votes
0answers
21 views
Selenium Log Levels
I am using Selenium Web Driver 2.28 and I have been having some intermittent environment issues. Test results on their own are not providing too useful when debugging to I want to turn on logging.
I ...
0
votes
1answer
74 views
Selenium : Handling Loading screens obscuring the web elements. (Java)
I'm writing an automated test case for a web page. Here's my scenario.
I have to click and type on various web elements in an html form. But, sometimes while typing on a text field, an ajax loading ...
-1
votes
2answers
37 views
java.lang.NullPointerException when running a testcase via Selenium webDriver in Chrome
There's my class that uses Selenium WebDriver and throws the error.
public class Test_Chromedriver {
public static WebDriver driver;
public static void main(String[] args) {
try ...
0
votes
1answer
30 views
Selenium: Data entered in form with multiple tabs disappears sometimes
I have a web app with a complicated data entry form that has some tabs that hold entry fields for various configuration items. I am writing a test that enters data in fields on different tabs and then ...
0
votes
1answer
30 views
Multiple files upload in selenium webdiver
I want to upload 5 files,but my 'file input' is same name/id,how can i possible to upload five files.
My HTML code is:
<div>
<table id="listtable">
</table>
<br/>
...
2
votes
2answers
41 views
Retrieve the 4th div tag inside the first row of a multirow div?
Here is the html I am working with. I want to write a css selector for the Item with text "DESIRED ELEMENT":
<div class="TopDiv">
<div class="container">
<div ...
-2
votes
1answer
31 views
Handling Ajax using Selenium 2 [on hold]
I found this code to handle ajax requests. Can someone let me know how to implement the same in Java?
public void WaitForAjax()
{
var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(15));
...
1
vote
1answer
34 views
Webdriver visibility of element without locator
I have check the text of string(client) inside tag using this code
boolean feedBack = driver.findElement(By.cssSelector("body")).getText().contains(client);
if its true then, is there any way to ...
0
votes
2answers
17 views
Can group functionality be used for grouping two different classes?
Suppose I have two scripts say script1.java and script2.java in the same package. Now I want to run @test annotations of both the scripts.Can I do it by using groups in testNG?
0
votes
1answer
60 views
ChromeDriver — The dreaded "Element is not clickable at point (x, y). Other element would receive the click
I have a web app that I'm trying to write selenium tests for, and I have run into a problem with the Chrome driver. There is a wizard-type interface that users can employ to fill out a form. There is ...
0
votes
1answer
83 views
How to scroll an element using selenium-webdriver with ruby
I have a div there is scroll type element like: mobile calendar scrolling.
So how can i perform it.
I have tried
page.driver.browser.action.click_and_hold(first(".dwww .dww .dw-ul .dw-i"))
...
0
votes
0answers
36 views
Selenium Web Driver:How can I include the details of emailable report of testNG in email using java
I have written below mentioned code to attach TestNG's emailable report in email using java.
Now I want to paste the details of emailable report in body of the email using java.Anyone having idea on ...
2
votes
0answers
60 views
Why Java for Selenium? [closed]
Why is Selenium written in Java famous over other languages it support? I know that,
We have good support for Selenium with Java
Majority of Users use Java in today's market
Java is a platform ...