Questions regarding automation of web applications for testing purposes according to specific of used web browser.

learn more… | top users | synonyms

2
votes
4answers
278 views

How best to test file download links using Selenium

On a website I am testing we have various links that download PDF files to the users computer. Our selenium suite runs nightly on bamboo, if we were to download the various files overnight it ...
0
votes
3answers
51 views

xpath - element is not located even when I construct the xpath

element is not found //HTML Code <input type="text" maxlength="61" style="width:185px;" value="" name="name73652d80" onblur="fieldTrack(this); "/> input type="text" onblur="fieldTrack(this);" ...
4
votes
2answers
295 views

Explicit wait is not reliable with Selenium C#

While creating test scripts in Selenium WebDriver using C#, I have used Explicit wait (after going through this link) and have also gone through SO and SQA links for the same. So, I implemented it ...
1
vote
2answers
766 views

Selenium: Select 2nd item by both class and with certain text?

I am creating some test scripts using Selenium WebDriver in C#. The AUT contains a left menu in which the position/ordering of the links depend upon the 'User Preferences' and a lot of factors/...
1
vote
2answers
143 views

QTP 11.0 not recording actions in IE 11

I am trying to do simple recording of actions in Web-page using HP QTP 11.0. QTP is ran under admin user. The settings used are: Record and Run Settings > Web > Open the following address when a ...
0
votes
2answers
202 views

Coded UI Test case execution issue

I have some Coded UI test cases which are using external files e.g. XML files that contains the Element Name and ID to be located over a page. This XML file is used by Test Cases (under TestMethod ...
0
votes
2answers
712 views

Selenium - How to get table rows visible in the dialogbox?

In a Selenium Junit test, for a table with 'n' rows in a dialog box of a webpage, I am able to calculate number of rows using Table.size() (Table is a List of elements which finds elements with tag tr)...
5
votes
1answer
234 views

Selenium Grid2 - IOException thrown while closing Closeable.

I am executing my Selenium tests against a Grid server, hosted on a different machine. My grid invocation is (bat file): cd c:\ start java -jar c:\selenium-server-standalone-2.46.0.jar -role hub -...
5
votes
1answer
1k views

What Is the Best Way To Mock Browser Time and Time Zone in Selenium?

I like to run Webdriver tests with altered time and time zone. I see two approaches ahead: 1) Using a mocking library like SinonJS or TimeShift.js. 2) Using system libraries like libfaketime/...
2
votes
1answer
76 views

I am automating a page which will open up a PDF while clicking on a link. After that I have to do the operations in the newly opened window

This is the code for transferring control for (String handle : driver.getWindowHandles()) { driver.switchTo().window(handle); ArrayList<String> windowTab = new ArrayList<...
2
votes
1answer
221 views

Automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS

I'm automating Chrome on Windows 8.1 with JavaScript using Selenium's WebDriverJS. 1) To get started with WebDriverJS for Node, I downloaded a copy of the ChromeDriver and selenium-server-standalone ...
2
votes
1answer
274 views

RFT 8.6 : Failed to enable Firefox31.4 ESR and IE11 browser with JRE 1.7 on Windows 7 Professional SP1 ( 64bit)

I am trying to configure RFT 8.6 with the installed browsers but getting errors while doing it, below are the configurations details of my setup followed up with the error I am facing... RFT 8.6 on ...
1
vote
1answer
43 views

Element is not clickable(x,y) even there is no scroll in page

I am unable to click on the "Login" button provided in the header I am new to selenium, here is the code snippet public class Muft_Mashwara_login { public WebDriver driver= null; @...
1
vote
1answer
36 views

Coded UI slows down in executing JS enabled fields

Coded UI test cases doesn't respond well on time if they encounter any field having JavaScript validation. Issue: Currently I am facing some issues with the time taken by Coded UI in execution of ...
1
vote
1answer
143 views

Clicking on java script generated dynamic elements using Remote Web Driver in selenium

I have one web page, all the elements on that page are generated by java script code. I want to click on one of the button on that page, I was able to do this using the chrome driver,FF Driver but ...
1
vote
1answer
130 views

sometimes “invisible element” exception and sometime ‘timeout’ appers

I am writing a test script in selenium webdriver(selenium 2.0) with C# for below html- <table id="A_switch" class="tabswitch"> ------ </table> <div id="A" class="page ribbonpage"> &...
0
votes
1answer
22 views

Not able to use HTTP Basic Auth popup in selenium test case using firefox on Ubuntu/Linux

I am trying to automate a webpage using Single Sign-On. When you try to access the web page it redirects you to different page of Identity Provider, where it asks you for Username and Password inside ...
0
votes
1answer
19 views

Edit a script DOM element before being executed

I'm currently using Selenium WebDrivers for my tests and I'm struggling with an automatic download. The case is: I click on a button, it loads the next page containing a script tag with a click() on a ...
0
votes
1answer
176 views

Issue with Radio buttons selection in Coded UI

I am using Coded UI for creating some test cases for a web application, while doing the same I have encountered an issue. I am not able to select a Radio Button using their Displayed Text, however if ...
0
votes
1answer
389 views

Coded UI Test cases taking too much time to execute

Update: I used some hit and trial method for this issue and found that this issue of slowness occurs only when Coded UI (or my code) encounters any Date-Type text field. If there is no Date-Field over ...
-1
votes
1answer
54 views

How to verify text under <P> tag in selenium

I want to Verify text "No results were found for the query:"under tag in selenium how to verify this text how to take xpath for this div class="fl" style="width: 99%;"> Search Results No results ...
-1
votes
1answer
851 views

how to pick a date from a calendar?

I have to select a date from a calendar. There is a icon to activate the calendar. when I click on that icon calendar popup appears on the screen but I am not able to select the date from the calendar....
2
votes
0answers
73 views

Integrating Selenium Webdriver tests written in Java to SpiraTest

I'm interested in SpiraTest's and Selenium Webdriver's collaboration. My objective - launch a Selenium test written in Java on Eclipse. Can the SpiraTest quality management tool run .exe or .bat files ...
2
votes
0answers
166 views

How to test tab order validation in QTP/UFT?

I want to validate if the newly added link on the Home page of my web application is of tab order 2. By tab order two, I mean on pressing the Tab key twice the focus should move to that link. For ...
1
vote
0answers
189 views

Why a PhantomJS grid node is defined differently compared to other browsers

I am trying to set up one of my Selenium Grid nodes using PhantomJS. (The rest of the nodes are all working fine with Firefox browsers) Now generally, when we configure a node, we launch a selenium-...
1
vote
0answers
91 views

Is it possible to automate tests on an embedded WebKit browser on Mac OS X?

Is it possible to automate the tests on a WebKit/WebView browser that is embedded in a Mac OS X desktop application, preferably using Selenium or some Mac-based tool like AppleScript or ...
1
vote
0answers
125 views

Handling different input fields using Robot Framework

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application (I am writing test cases in .txt format) I am having a problem on handling two ...
1
vote
0answers
195 views

Getting Error - “ArgumentError: HTTP request path is empty” during Installation

I am getting the below error (attached is the snapshot), while implementing Watir for Windows. I tried to put HTTP_PrOXY in path as well as CMD console, but still it's showing the same error. I am ...
1
vote
0answers
338 views

Page Object Design: Is there a Javascript equivalent to Ruby gem “site_prism”

I'd like to know if there is a framework in Javascript (NodeJS) for Protractor which supports a clean way to define the Page Object Elements on a Page Object as site_prism does. I've already checked ...
0
votes
0answers
17 views

how to use dumbster

public class Email_Dumbster extends TestCase { public Email_Dumbster(String s) { super(s); } public void testSend() { SimpleSmtpServer server = SimpleSmtpServer.start(); Properties ...
0
votes
0answers
13 views

Does anyone have experience of automating ZK based applications?

Does anyone have experience of automating multi browser web based applications using the ZK platform, and if so which tool did you use and how have you overcome the UUID issue?
0
votes
0answers
42 views

Could not click the upload button for SafariDriver

There is a upload button on the website as the code below <div class="fileUpload btn btn-primary"> <span>Upload</span> <input class="upload" id="id_file" name="file" ...
0
votes
0answers
27 views

How to set Selenium Webdriver using Internet Explorer Browser to not share sessions during multi threaded testing

Im trying to test against Internet Explorer 11 browser multi threaded using selenium webdriver with IEDriverServer.exe. I can now launch multi threaded IE browsers and interact with it but it seems ...
0
votes
0answers
55 views

How to use selenium webserver tool for chrome and Internet explorer?

I am new to selenium and I have tried selenium ide for firefox. But, for chrome and IE there is selenium web server .i don't understood how to use selenium server.please give me brief answer.
0
votes
0answers
91 views

Working with HTML Table in Coded UI

Currently, I am using Coded UI for creating automated test cases for a web application. There I have encontered a scenario, where I need to validate the results from a table (actually this table ...
0
votes
0answers
134 views

How to select few text lines using Robot Framework?

I am writing an automation test script using Robot Framework & Selenium2Library for testing our web application ( in .txt format ). One of my test cases involves to select few lines of text from ...
0
votes
0answers
53 views

Automation - Checklist Libraries for html input values

Are there any java libraries which help in input field validations data as per any checklist? For example, an input box needs to be tested for alphabets, numbers, special characters, length ...