10
votes
5answers
17k views

How can I work with file uploads during a Webdriver test?

This is a canonical question, intended to provide a comprehensive answer to many related questions During the course of a Webdriver test, I want to upload files. However, this opens a native file ...
1
vote
1answer
1k views

JMeter test simultaneous users with sequential requests

I have a problem. I would like to do sequential http request with JMeter but with simultaneous users. Example : I've got 100 users and at the same time they try to do : Login Do stuff 1 Do stuff 2 ...
0
votes
0answers
77 views

How to download a attached PDF file in the PDF file using selenium

A PDF file was attached inside the PDF file. Needs to read the content in the attached PDF file. Let me know if you have any solution on this requirement. I am using IE Webdriver, and the code I have ...
1
vote
1answer
373 views

How to click on element only if data exists in excel table? [closed]

Hi so currently I'm working with Selenium webdriver in Eclipse.. I'm testing a web app and having data driven from an excel sheet. There is optional information and you can click 'ADD' and then a pop ...
2
votes
2answers
140 views

How to load test a very complex, security heavy application?

Testing can sometimes get tricky. Especially when the application is very complex. I am currently working on a project and I have no idea how to test this. I work a lot with CMS based websites and ...
1
vote
2answers
141 views

How to monitor Linux log files on Windows?

Part of my verification checks include verifying log files on Linux machines. When entering a defect sometimes the log files also contain useful information. With Putty I create a remote shell on the ...
0
votes
1answer
951 views

How to connect node to hub that are in different networks

If I use case when hub and node are on the same network - here is how I do this: launch hub: java -jar selenium-server-standalone-2.45.0.jar -role hub -port 4444 launch node: java -jar ...
0
votes
3answers
156 views

How to find good cloud device testing tool?

I need to test my site on mobile and tab devices. But I don't have any real device for it. Please help me to find a cloud device testing tool.
1
vote
2answers
293 views

How to perform Testing Process-Automation/ manual -web application

I am working in a startup with a limited number of developers [4-5]. We work on all open source platforms like Java, jQuery, Springs for development of web based applications. For integration, we use ...
2
votes
2answers
70 views

Fast login to application (magic url alternatives)

I am searching for fast ways to log into web applications(or start being logged). Applications use cookie authentication stored in db that expire after some time. Magic url for login instantly is not ...
0
votes
1answer
27 views

How do I test protocol data transfer speed and data loss?

For one of my uni projects I have to test and compare how different protocols handle audio and video data transfer. So I have protocols like RTP, RTMP and RTSP. What should I do to test them myself ...
2
votes
1answer
481 views

Jmeter Web driver sampler

Jmeter has a webdriver sampler. We have to write the scripts. We have scripts written in opkey, a selenium based tool. Can we integrate both of them. So that we don't have to write scripts in jmeter.
1
vote
1answer
109 views

Jmeter plugin webdriver sampler

JMeter web driver is used for measuring performance metrics of browsers, but it requires writing of scripts. Is there any way I could record these scripts?
4
votes
1answer
742 views

How do you stress test a video streaming app?

I have a a streaming application that I am going to test. I dont really know how to do this. Do I need a special plugin (if so, why)? Why is it difficult to record a scenario for streaming a video, ...
2
votes
1answer
83 views

Browser Independent Automation Library

I've done a bit of vbscripting in the past to automate tasks as a sys admin and recently I've taken a position in QA and really want to double down on scripting common tasks for repeated tests; both ...
0
votes
1answer
578 views

Python selenium - how can I loop a function to make 100 Copy accounts using different emails

How can I loop a different string into the email field, or a variable without actually having to make a list that consist of 100 different emails. For example is there a way i can send money@qa.test ...
2
votes
2answers
177 views

Should the development team ever write test cases or review them in depth?

I'm working in an "Agile" environment and as the developer, I have been asked by QA to write some test cases and to extensively review existing ones. This seems very backwards to me. Am I missing ...
1
vote
2answers
2k views

How can I ensure testNG test method does not abort if any assert fails

I know there is a difference between assert and verify in Junit; the assert results in a runtime exception, causing test method execution to abort. To overcome this problem, we can have verify which ...
0
votes
2answers
877 views

how to iterate over a collection of items in selenium webdriver

I have a collection of media item on a web page and all media items have the same class. The elements do not have IDs. I do not want use XPath selectors. When I use class name, it will pick only ...
0
votes
2answers
483 views

Unable to launch firefox with Selenium Webdriver

I'm starting to build a set of simple automated tests. I have: WebDriver driver = new FirefoxDriver(); driver.get("http://www.yahoo.com"); On the first line (where I instantiate the WebDriver), I ...
2
votes
1answer
71 views

wcf client test in vs 2010 tools

wcf client test I am using wcf test client in vs 2010 tools. First when i started tool, values came with null. I want to change value's dropdownlist with my default values. How can i do it?
2
votes
1answer
130 views

How to start object mapping mode in Jubula?

I am trying Jubula to automate test cases. I have connected to UAT agent and started. But, Start object mapping mode is not clickable. I created test case and added component but I don't map with ...
0
votes
1answer
372 views

Test Management Tool for Cucumber

I am investigating the use of Cucumber in my company, but I will need a good test management tool to store test results, and do reporting. Can anyone recommend a test management tool that can work ...
2
votes
0answers
59 views

Outside or within remit - should a BDD scenario be created for this user request

Given the following overarching purpose (mission statement) for an application: In order to help keep a healthy and refreshing sleep regime, or in order to limit computer-related addictive behaviors, ...
2
votes
2answers
359 views

How do I copy substring to array of strings

WebElement ELR = driver.findElement(By.id("trades-list")); List<WebElement> list = driver.findElements( By.xpath("//*[contains(@id,'trade-summary-92')]") ); String[] tradeId = null; for(int ...
2
votes
1answer
536 views

Selenium webdriver with python - cannot find dynamic content

I'm new to Selenium and have searched for a solution for this, but cannot find one. I am trying to drill down into a nav containing a collapsable directory tree. The folder nodes' content starts as ...
0
votes
1answer
96 views

Max no.of records can we test in selenium by using data driven framework

I have one scenario say example In shoppong cart web application , in the ceckout page while selecting the address,I have two drop downs which are states and city. we needd to select the state and ...
0
votes
1answer
38 views

Collect system and hardware informations of remote (apache and tomcat) servers from java code [closed]

I look for a solution to get hardware information about remote servers using java code
1
vote
1answer
798 views

How to get data-href instead of href with selenium in python?

I have currently a python code that should grab a link from google. However, google uses a somewhat different method to linking. how could I grab the data-href instead of just href. this is the ...
0
votes
3answers
104 views

Selenium doesn't match the text present

My first question. I'm using 2.8.0 where verifyTextPresent is deprecated but I'm using it because verifyText requires the use of CSS locators and our data changes from time to time. Anyway, these ...
1
vote
0answers
130 views

Web driver gets blocked after getting a second level popup (popup inside another popup)

I'm facing an issue when application I'm testing is opening a second level popup (I mean, a popup that rises another popup). I'm using Selenium for Java, version 2.42.2, with IE Driver. My code ...
2
votes
3answers
210 views

The best time to run acceptance-tests with Cucumber/selenium?

I want to know, which is the best way to run automated and acceptance tests? Because now I have two environments, which are develop and qa, but I don't know if the better way to run these tests is ...
2
votes
2answers
274 views

Opening Multiple windows of firefox in the same test case

My question might sound very odd to you all but just wondering if this is possible for us. Okay so I have written 10 cases for my login page in selenium using C# .net. But they take quite a lot of ...
1
vote
1answer
244 views

Problem with switching windows in Selenium WD

I hope this day finds you well. I'm working on an automation suite and I've run into an annoying problem when it comes to switching windows. I have a script which clicks a button which opens in a ...
1
vote
0answers
150 views

Do not show browser and OS in Selenium console output

I am running Selenium tests (with Protractor) on several browser at the same time to speed up the testing. Jenkins starts the tests and receives the output in a console. To make things more readable ...
0
votes
4answers
330 views

Locating button element in modal and/or new window

I am new in using selenium web driver. Can you help me which Element should I use? Here is the code. <a class="btn btn-sm blue" data-toggle="dropdown"> <i class="fa fa-gear"></i> ...
3
votes
1answer
634 views

Selenium Webdriver: Firefox: 'Cannot press more then one button or an already pressed button'

I'm really struggling to automate some drag and drop functionality in a web app. All I need to do is click a link on a top menu bar, hold down on it and select the first menu option. It works fine ...
2
votes
3answers
2k views

Selenium webdriver: detecting element color

In registration form address field if it is empty application, message shows in red color. How can I capture this?
2
votes
1answer
285 views

how to run monkeytalk recorded scripts in multiple times?

We are using eclipse luna 4.4.1, adb is installed on linux system to test android app. I have recorded a monkeytalk script. So my question is how to run that monkeytalk recorded script in 500 times. ...
1
vote
2answers
667 views

How to get the text present between <H2> tag

I am trying this: String str = "//*[@id="Result"]/h2"; WebElement vele = driver.findElement(By.cssSelector(str)); String vin = vele.toString(); System.out.println("Vin is"+vin); The result is: ...
0
votes
3answers
87 views

How to record in jMeter from some inbetween page (Not from Starting page)

I want to start recording from the 3rd page of my application as I have recorded scripts for first 2 pages. One option is : I can record from beginning and delete the scripts of first 2 pages so that ...
0
votes
2answers
291 views

How to select category from Ebay dropdown list? [duplicate]

Hi I'm learning automation testing using Eclipse, Selenium Webdriver, and Java. I'm practicing. I'm trying to select the label 'Consumer Electronics' from the Ebay dropdown menu and search only in ...
-3
votes
1answer
83 views

Selenium - what is the CSS for the following Xpath [closed]

I have this xpath generated from firebug but I need to use a CSS selector in my code. Just take the xpath as the code. So my code has 7 div tags where 7 div tag has 2 div tag and then <a class="btn ...
1
vote
3answers
71 views

Recommended Test Suite management software

I'm looking for a new test plan suite. I have used TestLink for years and this seems so outdated and slow. Price does not matter, open source, paid, etc. What I'm looking for is this: Fast (web ...
2
votes
1answer
394 views

Is it possible to use Appium to install a second APK?

First a little disclaimer, I'm not an automator, but I'm trying to learn. I'm trying to maintain code that someone else wrote. We are using Appium capabilities to launch the APK under test on an ...
0
votes
0answers
153 views

Why does Codeception / Selenium give “UnknownServerException”?

I've recently had some trouble getting automatic testing working on a new machine. I'm using Codeception and Selenium, and everything worked fine on my old Windows 8 machine (I'm now on Ubuntu). My ...
7
votes
5answers
501 views

Smoke testing by Dev team

The QA manager in our organization is demanding that our dev team, which I am the manager of, do the smoke testing after we set up the testing environment and before the QA team begins testing, i.e. ...
1
vote
1answer
321 views

How can find iframe which is DIV > Iframe > form > text field with watir-webdriver [closed]

I am trying to target email text field inside form which resides in iframe . <div class="iframecontainer"> <div class="iframe"> <div class="headerText ...
2
votes
0answers
166 views

Using MonkeyTalk to test android app, the record button stays disabled

I am unable to record in MonkeyTalk, the record button stays disabled I took the following steps: Created a sample android project in eclipse Created libs folder in the android project and copied ...
0
votes
1answer
198 views

Access WebElement in selenium testng [closed]

having code like this, with WebElement inside of class @Test public void testTable() { WebElement simpleTable = driver.findElement(By.id("items")); simpleTable.click(); } how ...

15 30 50 per page