1
vote
2answers
1k 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
511 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
318 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
68 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
110 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
243 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
56 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
269 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
402 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
0answers
74 views

The unstable elements crawled with selenium using python

When I used my script to crawl "fortune.com/fortune500", I crawled the ranks and companies' names in top500 filter-list part. I even forced the wait time after click the option-value on the list ...
0
votes
1answer
86 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
0answers
68 views

Access specflow test result in C#?

I am looking to add logging to my spec flow tests. What's the best way to determine if a test passed / failed / was inconclussive? I can do it by looking at ScenarioContext.Current.TestError, which ...
0
votes
1answer
35 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
590 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
93 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
107 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
181 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
240 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
168 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
118 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
204 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
479 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
916 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?
1
vote
1answer
255 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
349 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
0answers
151 views

Jenkins and Mocha - Display error output within test result

Today, I have Selenium tests written in Java launched by Jenkins. If in my Junit I have a log done log4j (log.info for instance), in the test result page of Jenkins, I can see it in the section ...
0
votes
3answers
71 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
235 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
72 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
62 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
325 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
137 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
461 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
253 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
143 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
163 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 ...
1
vote
3answers
520 views

How to test multiple user concurrency for a website?

I need to run concurrency test on website. I need to check various parameters such as response time, request send to site, data received, and whether the data is received correctly (e.g. if multiple ...
1
vote
1answer
130 views

Apart from testing and finding good bugs what other things the testers can do?

As far as testers are concerned, apart from testing the application thoroughly and finding good bugs, what other factors are there/ or what other things the testers can do which can prove their worth ...
1
vote
2answers
2k views

generating html report from soapui test results when running from maven & jenkins

I have a SOAPUI Project file with number of test suits. I have wrote a maven project to run that project file. I am running that maven project (pom.xml) through jenkins. As you can see in the pom.xml ...
3
votes
4answers
1k views

What is component testing and how to write component test cases?

I am new to testing. I would like to know: What is component testing? How do I write component test cases? Please explain with examples if possible as that will be more helpful for me.
2
votes
1answer
88 views

Is it possible to change the location of NUnits TestResult.xml

When running tests with the NUnit GUI application, is it possible to change the location of where NUnit creates the TestResult.xml file after the test has completed? It is usually created in the same ...
0
votes
1answer
61 views

How to write xpath with variable?

I have an xpath: //*[@id='00QE000000gQ9fv_ACTION_COLUMN']/a[2]/span in this xpath 00QE000000gQ9fv is dynamic and _ACTION_COLUMN remains the same. I stored 00QE000000gQ9fv in a String variable as ...
2
votes
3answers
1k views

Does selenium webdriver capable for database testing?

After read so many answers and forums it makes me confuse. some people says : Selenium webdriver is browser automation tool and it has nothing to do with database. And some other showing JARs ...
1
vote
7answers
645 views

Performance tool for scripting HTTP requests dynamically

I'm about to script performance tests for a system with REST interface. I'm looking for a performance tool that let me prepare XHR requests dynamically, i.e. simulate what JavaScript application does. ...
5
votes
2answers
544 views

Differences between KANBAN and SCRUM with respect to testing?

Could anyone please give some important differences between KANBAN and SCRUM with respect to testing? Any examples are most welcome.
0
votes
0answers
33 views

Please help me to automate the application through selenium webdriver [duplicate]

Please help me to automate the below scenario through selenium webdriver In Application values are stored in the web table. STID STNAME AGE 1 Sachin 24 2 Kumar 25 and similarly in ...
0
votes
4answers
133 views

Which skills are required for a tester with only one year of experience [closed]

I am asking about what skills should a test engineer with one year test experience have?
0
votes
1answer
417 views

How to validate maximum character check in webdriver/java

I want to validate the maximum character limit of the text field in webdriver/java
0
votes
1answer
103 views

Finding Element on a webapplication built using frames

I am using Java with Selenium Webdriver. I am currently writing a script to verify a contact has been added to a contact list from a form. The workflow is: The menu of our application uses Angular js ...
1
vote
1answer
39 views

Testing mobile apps on power users' device

Some applications are resource intensive, example using location, accelerator, web services and running constantly in the background. Such apps tend to behave differently on test devices that are ...

15 30 50 per page