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

learn more… | top users | synonyms

0
votes
2answers
62 views

How to resolve Firefox browser loading issue with Webdriver

When I run web driver with Firefox browser it generates a blank Firefox browser and after a minute the browser closes without running the Webdriver program. The following error is generated on ...
0
votes
1answer
18 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 ...
1
vote
1answer
49 views

Selenium > new windows & pop-up : What is different between new window and browser alert in selenium?

This is very common scenario when we automate any web application. But I am little confused between new window and pop-up? Please can you add little examples?
6
votes
5answers
100 views

How we can verify whether webpage is refreshed or not?

Suppose a webpage has a functionality, it refreshes the whole webpage after a fixed time interval and nothing changes on the webpage. How we can test this with automation?
0
votes
0answers
14 views

Verify hyperlink using dataprovider [duplicate]

I want to verify given hyperlink highlighted in redborder using dataprovider How to do it ,please let me know
-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
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; @...
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 ...
1
vote
1answer
35 views

Automating web app screenshots and inputs [closed]

Good day, I've been working for some time now on a web app and recently my workload has grown tremendously. I have to take presentable (showing correct info and setup) screenshots for our product and ...
3
votes
4answers
133 views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like, no dynamic ids for elements etc. ...
1
vote
2answers
90 views

How to automate UI testing of an app using a Google login

We are using a testing framework composed of robot-framework with ExtendedSelenium2Library that our developers are using to write acceptance tests. Our Web site has several auth options, including ...
2
votes
3answers
83 views

What do I need to do if dropdown takes more time to populate 1st element from dropdown list?

What do I need to do if drop down take time to populate 1st element from drop down list? Select Cdropdown = new Select(driver.findElement(By.xpath("//select[@id='ClientId']"))); Cdropdown....
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);" ...
0
votes
1answer
95 views

How to locate Facebook POST button using Java selenium web driver?

Code: driver.findelement(By.xpath(".//*[@id='js_2y']/div[4]/div[2]/div/div[2]/div/button")).click(); Every time I try by locating xpath, it's gives an exception, could not locate element. May 04, ...
0
votes
1answer
68 views

Why does my capybara element.click not work in Safari?

I am using rspec-capybara for my tests and I am clicking on a button which had been placed there through Javascript (ajax). Clicking on the button works when using WebDrivers for Chrome, Firefox and ...
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?
2
votes
2answers
233 views

How to set ComboBox value in Coded UI using Value Attribute?

In coded UI is there a way to set the value of a ComboBox using the value of Value Attribute. Consider the following Html of a ComboBox: <select name="ParametersID" tabindex="-1" title="ABC" class=...
0
votes
1answer
37 views

Automation script for Minimal Form Interface with dynamic ids [duplicate]

I am trying to automate a minimal form interface using Selenium to capture an element & later Java code. But the challenge is the minimal form has only one input container which is constantly ...
2
votes
3answers
5k views

Selenium Web driver and Mozilla Firefox Compatibility

Currently am using selenium-java-2.53.0,can you tell me which is the most stable FF version for it.
0
votes
2answers
64 views

How to select a record by applying filters in columns using Selenium Webdriver?

I am a test automation engineer and use Java with Selenium Webdriver for scripting my tests. My question is this- A webpage has a header with columns, along with column filters. It is similar to MS ...
0
votes
1answer
56 views

Not able to click Left Navigation icon using Coded UI

I am using Coded UI for creating Automated test cases and have encountered an issue. There is a menu icon inside on the Homepage and clicking on this icon will expand the Left Navigation, so that user ...
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 ...
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
1answer
336 views

What are the limitations of Headless(HtmlUnitDriver) browser testing in selenium?

I was automating the script using headless(HtmlUnitDriver) browser but I wanted to know the limitations of headless(HtmlUnitDriver) browsers for example: Can headless browser deal with IFrames? Can ...
1
vote
3answers
84 views

How to take the screenshot of a window based GUI application?

I am automating tests of a GUI application similar to calculator. I am using Java and AutoIt for implementing the test cases. I need to take screenshot on failure. I have tried taking screenshot ...
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
2answers
110 views

How to Automate Repetitive Web Browser Tasks? [closed]

How can I automate a task which has to be run repetitively. I have to Enroll Merchants by pulling Merchant Details from an Oracle DB. These Merchant Details are to be filled in a web form, thus by ...
1
vote
2answers
64 views

Quickest way to get ID and Name of all fields in single go

Currently, I am using the traditional way i.e. 'Inspect Element' (or Firebug or IE Developer) for getting value of ID and Name attributes of any field present over page for which I am creating test ...
0
votes
1answer
174 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 ...
5
votes
1answer
1k views

Using Selenium Webdriver For Firefox Testing

I have been doing research into implementing Selenium Webdriver (currently version 2.49) for testing on Firefox. Currently I am capable of testing Chrome with the framework, but would like to extend ...
2
votes
2answers
151 views

Can Ranorex adequately handle a large web app?

I've been experimenting with Selenium to some success, however it's slow going. Ranorex, as I've used briefly in the past can put a simple suite of tests together rather quickly. However, I'm ...
2
votes
2answers
551 views

How can I bring Chrome browser to focus when running a Selenium test using ChromeDriver on Mac?

When executing a Selenium test with ChromeDriver, I would like to bring the test browser into focus to see the actions taking place. The way I am able to do that now is by manually clicking the ...
0
votes
1answer
376 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
vote
2answers
538 views

Selenium Java WebDriver Can not Find Element with xpath or cssSelector

I can't find this element using selenium java webdriver. I have a before class method that loads the firefox driver and set the WebDriverWait. Then I have a test method to look for the elements with ...
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
2answers
67 views

how do i use list for selenium web driver in java

how do i use list for selenium web driver in java I need to select id which are continuously changing, and one id is in one row. need to select id from each Edit : <tr id="tr-132885-id" ...
0
votes
2answers
199 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 ...
1
vote
1answer
59 views

How to read value from XML [closed]

I know this is a common question, but I have a requirement where I need to read values from XML file. Sturcture of the XML file is <?xml version="1.0" encoding="utf-8" ?> <root> <...
0
votes
1answer
154 views

Issue with Coded UI hand written Test cases

I have a test case with below mentioned code: [TestMethod] public void _001_Search() { BrowserWindow brw = BrowserWindow.FromProcess(proc_browserProcessNo); TopLeftNavigationLinks_Elements....
1
vote
0answers
186 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-...
0
votes
0answers
90 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 ...
1
vote
1answer
58 views

Driver lost focus [closed]

I have one test case with java selenium webdriver. When I go to the login, everything is OK, but when I go to the other click in the new show, driver can´t find the object. Selenium IDE captured the ...
4
votes
3answers
99 views

Test, Improve performance of WebDriver Automation framework

I have designed a hybrid(keywords and data in same excel sheet) framework using WebDriver+Java+TestNG+Maven. I am using PageFactory, Singleton Pattern . I am using different type of HTML locators in ...
1
vote
2answers
420 views

Not able to find Coded UI .trx result files

I am using Coded UI in VSTS 2013 for creating automated tests using Coded UI Test Builder. I am able to create tests successfully but not able to view their result files. I found that there is a ...
0
votes
2answers
146 views

I get an exception, “Element is no longer attached to DOM” when I run my code, but In Debug mode, it works fine. I'm using Java and TestNG

In the webpage I'm testing, there are 3 options in a drop down and on selecting each option, rows in a table gets populated. I'm just trying to locate the table value through xpath and I am getting an ...
0
votes
1answer
854 views

Logging in Selenium Webdriver using Log4net [duplicate]

I am using log4net for creating execution logs of test cases which are created and being executed using Selenium Webdriver in C#. I was able to implement the logging functionality but I am facing an ...
2
votes
3answers
162 views

What proportion of tests cases should be automated via Selenium Webdriver? [closed]

I work with e-commerce websites and I am wondering how much of the tests should be automated. I plan on automating the login and check out functionalities but what about clicking links to navigate ...
1
vote
0answers
89 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
2answers
735 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/...
0
votes
3answers
1k views

How to handle file upload and download using Robot Class?

I'm trying to build a framework using Selenium. There is a scenario where I need to download a file, and there is another where I need to upload one. I've gone through the option in AutoIt, but it ...