0
votes
1answer
28 views

how to print currency symbols using webdriver with testng

In Dropdown currencies are listed as($,€,₤). Based on the selected currency, prices will display in other page like ($10,€10,₤10). Using the below code, I got the selected value from the dropdown. ...
0
votes
0answers
27 views

verificationErrors in WebDriver

When verification fails in multiple "try catch" blocks containing "verificationErrors.Append(e.message)" in a single test script, the test results log shows only one of those failures and instead of ...
1
vote
1answer
52 views

Selenium webdriver - Java with Webservices

In our application we are using web-services and DB, is it possible to integrate Selenium webdriver with web-services (Soap UI)? If two different frameworks are integrated, whether this is good?. My ...
1
vote
1answer
52 views

Selenium WebDriver (Java) with database [on hold]

I want to validate/compare result/value (From UI) with Database using selenium webdriver (Java). Please let me know how this can be achieved if application built by Java or C# .net. Also please let ...
0
votes
2answers
34 views

Accessing a sub menu within a sub menu using Webdriver with python on IE8

I have been trying for a while to complete this task. For context, I have a link called with text "Main Menu" along the top of the page, that when hovered reveals a list of more links. These links ...
3
votes
3answers
65 views

Is it reasonable to use Selenium RC over WebDriver if the former seems more suitable for the task?

The tests I am doing are on IE8, which is used throughout the company, and doesn't look to be changing any time soon. After testing both pieces of software with the system, it seemed as though ...
0
votes
1answer
43 views

How to compare value of a td of a table with a numeric value using webdriver?

I have to compare a value of a td tag with a numeric value. I have o check whether the value coming in that td is >= some value. The html of td is: <td class="sorting_1">78000</td> I ...
0
votes
1answer
47 views

In WebDriver I need to locate a text that's sibling to a tag

I am using WebDriver and I need to use XPath to get the text that appears after the <br></br> which is "59Min" from the below HTML. <div> 2Hrs, 56Min <br></br> 59Min ...
0
votes
2answers
67 views

How to handle “Time out receiving message from the renderer” in chrome driver?

I am new to selenium, I'm facing "Time out receiving message from the renderer" in chrome browser while running test with selenium 2.41 and chrome 2.9x. I have tried many tests to reproduce the issue, ...
0
votes
1answer
22 views

Clicking near the target element using mouse co-ordinates inside Firefox Window

http://www.dropmocks.com/mFuqje. In the screenshot you can see times like 12am, 1am.I have stored the times in a list and iterated one by one. For every element, I want to perform a click action ...
5
votes
3answers
101 views

Selenium/Webdriver with team member that don't have programing skills

We are planning on integrating/developping automation solution with Webdriver 2.0 for our web application. We currently have 2 members in the team that can write code, and understand enough Java to ...
0
votes
1answer
74 views

Selenium: driver.findElement(By.xpath(“xpath”).click(); failing

The command driver.findElement(By.xpath("xpath"). click(); is not working in Web driver. Kindly check the below code written in selenium RC and webdriver. Selenium RC : public void ...
2
votes
1answer
73 views

problem handling multiple windows in webdriver

Scenario: Step-1.Click link from window-1.New window gets opened.Say it as window-2. Step-2.Do action on window-2. Step-3.Close window-2. Step-4.Move focus to window-1 Step-5.Click an element in ...
0
votes
1answer
61 views

Webdriver - Problem with loading profile of Tor Browser Bundle

could you give me any suggestions how to solve the weird problem I experience with webdriver? I like to use webdriver to control the browser from the Tor Browser Bundle (TBB). Controlling the TBB via ...
2
votes
1answer
80 views

Faking system time/date with Selenium Webdriver?

Is webdriver capable to run a browser with a faked time, date or time zone? Such ability would be highly useful for my automation purposes. Yet, I did not find any such ability in the webdriver ...
2
votes
3answers
127 views

Selenium IDE and Selenese scripts in Continuous Integration

Apologies if this is not the forum for such a generic question. As our organisation moves to an Agile project methodology, we need to be able to rapidly automate applications as they are built up ...
2
votes
1answer
128 views

How to run multiple browser instance with Webdriver, Java, and Junit/TestNG?

I have a test ready to be executed but it takes a long time to finish. In this test I'm feeding in csv data, so basically the whole test will run 56 times. I was wondering if there's anyway I could ...
0
votes
0answers
32 views

Selenium WebDriver Code for PeopleSoft Sub Page

I am new to Selenium WebDriver World. I am trying to work on a script to Add a Person in PeopleSoft HCM Application. Basically, On the Personal Data Main page, you first start by adding a Effective ...
0
votes
1answer
79 views

Webdriver: Selecting element by position in drop-down menu

can anyone here suggest a method to select an item from a dropdown menu, using the item's position in the list? Say you have a normal dropdown menu to select the month of birth. (Example on this ...
0
votes
0answers
54 views

Regex escaping issue in Selenium IDE and WebDriver

I have a Selenium IDE command evaluating a regex against a string in the DOM, something like this - Command waitForEval Target ...
0
votes
1answer
126 views

Use Selenium Webdriver to capture all the values from Google Auto Suggest Edit Box and display them in the console

import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.firefox.FirefoxDriver; public class ...
2
votes
2answers
126 views

Selenium Webdriver or Sahi which is best for website/mobile site testing?

Can anyone tell me which is the best tool to use for web site testing? Sahi or Selenium Web driver. Am using windows OS in PC. At present Testing of both Desktop and Mobile Site in Manual. Trying to ...
0
votes
3answers
143 views

How do I get dynamic div content in selenium

See how the dynamic message displays in the browser. I am adding a name in a text field and clicking save button. After clicking save, a message displays as New Staff added or Staff Name already ...
0
votes
1answer
118 views

How to stop the browser loading process after 20 minutes?

I want to stop the browser loading process after 20 minutes in selenium webdriver script. Please suggest, how to do this?
0
votes
1answer
84 views

Handling Image upload

<span class="span3 config_camera_wrapper img-rounded" style="border: 2px solid #fff;" align="center"> <img class="img-rounded" src="images/bookappt_v3/logo-placeholder.png" alt="140x140"> ...
0
votes
1answer
351 views

Selenium: How to click at x,y coordinates on Mac Firefox/Chrome

I want to click at x, y coordinates like 52, 216-52, 295. How can this be done using selenium. I am using Mac OSX 10.8.5 with Selenium 2.40.0 and Firefox version 29.0
0
votes
1answer
182 views

How to click on Canvas element?

How do I click on a Canvas element by using Selenium Web Driver and Java? I have searched Google but didn't find what I needed. A marker/pin is on the Google map and I have to click on the ...
0
votes
3answers
419 views

How can I do data parameterization in Selenium Web Driver?

I want my test case to run once and test n number of inputs at various positions. Suppose If I want to check a login screen for different members like manager,user,admin,e.t.c then instead of running ...
0
votes
0answers
42 views

how to maximize chromedriver on mac machine

driver.manage().window().maximize(); options = ChromeOptions(); options.add_argument("--start-maximized"); driver = ChromeDriver(options); I tried the above options to set the chrome window on mac ...
0
votes
3answers
103 views

how to use xpath for the following case

.//*[@id='colDiv_Apr282014']/div[5]/div[1] .//*[@id='colDiv_Apr282014']/div[9]/div[1] .//*[@id='colDiv_Apr282014']/div[11]/div[1] In the xpath above, you can see the value inside the first div-is ...
0
votes
0answers
40 views

Is it possible to covert telerik test studio tests to selenium?

After a change of tooling, we now have a combination of telerik test studio tests and selenium tests. Is it possible to covert telerik test studio into selenium webdriver tests?
0
votes
1answer
85 views

Calling data from one class to another class - framework for JUnit

Please forgive me as I am still very new to the world of test automation. I have started out by using Selenium WebDriver with JUnit4, predominately on windows OS, although I have modified my scripts ...
-1
votes
2answers
399 views

How to solve the Unhandled exception: Modal dialog present

How do I solve the Unhandled exception: Modal dialog present. Below is error line. 1) test(TestCases1.ComparePage)org.openqa.selenium.UnhandledAlertException: Modal dialog present: Please retain at ...
0
votes
2answers
332 views

Selenium session timeout

I have a session timeout problem like this: I am using selenium + webdriver + java(junit) While testing each(tab) test case of particular web page in one programme, i need first test Login button, ...
1
vote
1answer
160 views

selenium wget download file

I'm testing a web app with Selenium and I actually need to download a txt file during my test. But this seems impossible because a pop up appears asking to save the file. So, this blocks the progess ...
0
votes
0answers
322 views

how to read, print values from html table by webdriver using java

<div id="calendar" class="week_calendar_holder"> <div class="week-calendar"> <table class="week-calendar-header"> <div id="weekly_container"> <table ...
1
vote
2answers
58 views

Test results that differ from running via command line versus IDE

I have just run a set of automated tests via the command line using Maven as my build tool and JUnit4 as my test execution framework. There was a report of two errors which were recorded in a text ...
0
votes
0answers
235 views

On test case failure taking a screenshot with Selenium WebDriver

As the question clearly states, I used the screenshot coding in my catch block but it doesn't work. try { LoginPage lp = new LoginPage(driver); lp.userName.sendKeys("administrator"); ...
0
votes
2answers
87 views

How to get number of sizes of check-boxes i have selected, using selenium webdriver java?

As there are five number of check boxes in a page, i have selected two check boxes. so i want to get the number of size as two check box selected. How to get the number of size as two in selenium ...
0
votes
2answers
184 views

XPath not recognised in page object model in WebDriver [closed]

xpath not recognised in page object model in webdriver. @FindBy(xpath = "//td[contains (text(),'xxx')]") public WebElement topMenu; topMenu.click(); Error: Unable to locate element: ...
1
vote
4answers
1k views

How to write test cases in selenium webdriver using C#, simultaneously when web application is being developed (application pages not available)

I want to write test cases when application is under developing. I know the design of the application based on the wireframes. I intend to write test cases in C# using the Selenuim WebDriver. ...
0
votes
2answers
2k views

How to iterate a list of WebElements and print the values one by one to perform some action

List<WebElement> allLinks = driver.findElements(By.xpath("//div[@class='datepicker']/div/table/tbody/tr/td/table/tbody[2]/tr/td[@class='' or @class='datepickerSaturday' or ...
0
votes
0answers
223 views

How to store webelements(dates) in an array

How to store webelements(dates) in an array and retrieve it? I got the total no. of dates by using the xpath : //div[@class='datepicker']/div/table/tbody/tr/td/table/tbody[2]/tr/td[@class='' ...
0
votes
1answer
148 views

How to use locator value in WebDriver?

I am learning Java to automate testcases using WebDriver. As for now I was using Selenium IDE. I have a scenario. In date picker on selecting date, based on the current date and time-future timeslots ...
1
vote
1answer
297 views

How to capture a series of screenshots in Web Driver using Java

I Just wanted to know, that how we can take a series of screenshots / a video recording for a screen using Selenium 2 / Web Driver with JAVA ? Please provide the answer or the lick where I can get ...
0
votes
1answer
137 views

what is Keys.ZENKAKU_HANKAKU in webdriver?

As i came across this code, driver.findElement(By.name("xxx")).sendKeys( Keys.ZENKAKU_HANKAKU); so wanted to know why and when to use this kind of key.
1
vote
2answers
76 views

what are the equivalent commands for label and Goto label in webdriver

I used Selenium IDE to automate the project. Now I started learning Webdriver. In IDE, there are few commands like label and Goto labels, where I can create a bunch of code under a label and use ...
1
vote
1answer
508 views

Fieldlevel validation in Selenium Webdriver (Java)

how to test validations for "FIRSTNAME" textfield. Below are the details and code. URL: http://www.vrlbus.in/vrl2013/register_customer.aspx Special chars: #!#!#$@#!$@!$@#$%#%^#$^^&%&$%* ...
1
vote
2answers
626 views

How to set Firefox path on Mac OS for Selenium WebDriver?

I am beginner to webdriver. I have setup all configurations. I am using firefox 27.0.1 version with selenium jar files 2.40.0. I have written code to open firefox browser with a URL. I am unable to ...
0
votes
1answer
291 views

Selenium C# 4.0 release says you can hide the command prompt - how do you actually do it?

I'm updating to version 2.40 and was looking at the change log. http://selenium.googlecode.com/git/dotnet/CHANGELOG It says "Now provide an option to hide command prompt window for driver service ...