Questions tagged [automated-testing]

Use for questions involving problems with automated tests. Relevant for designing test automation, debugging test automation, automation tooling questions, and questions about when it is appropriate to automate. Questions regarding specific tools should tag those tools as well.

Filter by
Sorted by
Tagged with
-1
votes
2answers
700 views

What is Penetration Testing? Why perform penetration testing?

Is Penetration Testing a Tester's job/task? What are the available tools for penetration testing? How to perform penetration testing?
-1
votes
4answers
52k views

how to get the count of elements in list box [duplicate]

working on selenium + java,. can any one help me... I have a drop down list box, and need to get the number of elements in the list box. <select id="id"> <option value="1">1</option>...
-1
votes
2answers
53 views

Either its possible to get and show a value from front end in selenium Java. If so, then how I can do this

I am testing a website and I need to perform some action on the basis of Price. It is showing price in Remaining Budget. I want to check the remaining budget and then on the basis of it want to ...
-1
votes
1answer
378 views

How to write XPath if my ID is changing continuously? [duplicate]

//*[@id='post-9505']/h3/a/time //*[@id='post-9466']/h3/a/time //*[@id='post-9517']/h3/a/time In this id number is changing continuously, so how can i write dynamic XPath? please help me to write ...
-1
votes
1answer
402 views

Want to test ebay site login without using Xpath

I want to test the Ebay site login, without using Xpath. It is not working, right now. I tried for hours to make this work. Please tell me what I am doing wrong and how to fix it. This is what I am ...
-1
votes
4answers
123 views

Can any one help how to use Selenium Web Driver [closed]

In my scenario I have multiple classes using driver.Navigate().GoToUrl("URL"); driver.Manage().Window.Maximize(); driver.FindElement(By.Id("userName")).SendKeys("jordan"); ...
-1
votes
1answer
1k views

Selenium can not locate sign in button for amazon.com [closed]

WebElement element = driver.findElement(By.className("nav-action-button")); Actions actions = new Actions(driver); try { JavascriptExecutor js = (...
-1
votes
2answers
3k views

Unable to locate element with id, showing error- NoSuchElementException [closed]

driver.FindElement(By.Id("diagnosisivd")).Click(); While running above code getting error: "main" org.openqa.selenium.NoSuchElementException: no such element As I have written correct id.
-1
votes
2answers
360 views

Performance Test Automation Tool Stack [closed]

Please provide what a Performance Test Automation Tool Stack is.
-1
votes
1answer
33 views

How to test the difference between fastjson and gson in serialization and deserialization [closed]

The project uses Gson to replace Fastjson. These two packages have some differences in serialization and deserialization. As a software test engineer, how do I perform regression testing?
-1
votes
2answers
96 views

How to learn automation from scratch? [duplicate]

I have zero knowledge about any coding language. But I have to learn an automation tool, preferably selenium. How should I begin? What language should I learn? In short, how to begin??
-1
votes
1answer
43 views

Selenium with C#

I am new to C# with selenium and visual studio,I have some experience only in Selenium with java in eclipse. Here my doubt is that in eclipse we used to configure the packages for every new projects ...
-1
votes
2answers
53 views

How to resolve firefox issues in selenium? [closed]

This is my code: package testpk; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; public class Testing9 { public static void main(String[] args) { ...
-1
votes
2answers
60 views

How do I find this WebElement by xpath?

I need to find the following WebElement using an xPath. <input type="hidden" name="hiddensearch" value="110909" id="searchhidden"> The Value is changing dynamically, e.g. 109899 111910 ...
-1
votes
3answers
4k views

How do I get particular textNode value of a DOM with Selenium

Hello I am trying to find Load # detail from this site. Also You can refer screenshot too. I have tried with xpath: //div[@class='equipment_item']//text()[preceding-sibling::strong[text()='Load #:']][...
-1
votes
2answers
140 views

WebElement click does not work in chrome browser

I have tried below code : driver.findElement(By.xpath("//*[@id='content']/div[2]/div/div[5]/div/div/res-view-activity/div/div[1]/a[2]")).click(); This works when using Firefox, but does not work ...
-1
votes
3answers
115 views

How to track progress of automating multi-parameter tests for legacy product

I am working on a project to automate legacy code, and I'm looking for a good metric to track my team's progress and estimate how long it will take to complete the project. My thought was to take ...
-1
votes
2answers
21k views

How to verify using assert command?

I want to verify a log in action by using assert command in Selenium Webdriver (java): username: admin password :admin When I entered an invalid password, it displays a message like wrong username ...
-1
votes
3answers
82 views

Selenium Automation Testing

How to know what is the last xpath value on an element?? How can we count the number of elements present with this xpath value which just differs with li [ Values ] ?? driver.findElement(By.xpath("./...
-1
votes
1answer
186 views

Which are the best course to learn automated QA for a start-up? [closed]

Which courses are the best to help me grasp the foundations of Automated testing? I am currently in a manual QA position doing only Ad-Hoc/regression testing. This is also the only testing we ...
-1
votes
1answer
195 views

What strategy should follow for Testing after complete data migration process?

We are migrating our legacy product to new product with database changes. I have following questions : What process should we follow ? What are major risk factors? What if we found blocker or ...
-1
votes
1answer
47 views

Business test data for automated tests

My automated tests (at the GUI/API levels) require to have already existing test data - like users or privileges assigned to them. I want them to be stable and able to run independently every time so ...
-1
votes
2answers
51 views

How to add elements in list from a dropdown using Selenium/Python

I want to add all the city names in a list, so that I can compare then in assert is not in unit test.
-1
votes
1answer
19 views

Image Url Testing Through Jmeter [closed]

Please let me know how to resolve this issue i.e. I want to test image urls(10,000 plus) through Jmeter, but jmeter showing 404 error also incase of correct image. an example : https://g-cdn.alwka....
-1
votes
2answers
41 views

How can I create a function of login test case in selenium web driver- python & how I can call it in other test case?

How I can create a function of the login test case in selenium web driver- python and how I can call it in other test cases? basically I want to call my login test case in other test cases.
-1
votes
1answer
54 views

How to i find the count of check boxes is selected?

In the UI there are 50 check boxes. If I selected 20 check boxes. How to I find count of 20 is selected?
-1
votes
1answer
43 views

How to validate test logic for date dropdown?

I have a close date field where the date is already populated, and a date creation field which is the actual activity creation date and the logic I want to validate is below - Validate that the ...
-1
votes
1answer
48 views

Penetration test in a staging environment. When and how much?

We certainly all know the discussion when penetration testing makes sense. In a staging scenario, the test scenario can be interesting to use there to perform a penetration test. And, of course, also ...
-1
votes
2answers
1k views

How Do I iterate through all the search results in Selenium returned by google search

My test steps are- a) go to google.com b) in the search box start typing a keyword example "IBM" c) google displays all the matching results d) Get the count of matching results in a List of strings....
-1
votes
2answers
34 views

Should you test regression tests or just verify/check?

When conducting regression tests, the goal is to find out if the new release affects existing functionalities of the application. Is it enough just to check/verify the application or should one test ...
-1
votes
1answer
55 views

How can I close alert message by enter action through keyboard?

I'm looking for a different way to close an alert message other than accept() or dismiss() methods. How can I close an alert message by entering action through the keyboard?
-1
votes
2answers
66 views

How to interact with web elements with the same ID's?

I have three drop-downs with same ID's and want to click each of them, one by one, but it will click the same element three times. The remaining two elements are failing, but that test case is passed. ...
-1
votes
1answer
34 views

Buffer for errors in the Sprint Planning Meeting?

In a discussion with a Product Owner I had the situation that there were many bugs in the Product Backlog, but PO did not have time to prioritize them. So he wanted to set a story that is timeboxed ...
-1
votes
1answer
37 views

Automation Testing for Installer created using IzPack [closed]

I want to automate the GUI installation process on Windows and Linux. Suggest me good tools which can I use for both OS.
-1
votes
1answer
72 views

Me being a Automation Tester (QA), how can I win a Ideathon? What should I develop for Ideathon? [closed]

I have over 9 years of experience in Automation. Still, I think my Java coding skills are limited. Having said that, if I target to win Ideathon 2019, what should I develop?
-1
votes
3answers
1k views

How to click on the image inside a grid using selenium webdriver?

I have to click on an image inside a grid. Grid elements have dynamic ID's. Therefore it's impossible to capture elements as usual. How can click on this image? I have boxed the image I ...
-1
votes
2answers
47 views

How to comapare the webelement list to String [closed]

List<String> unitType = new ArrayList<String>(); unitType = getUnitTypeNumber(); String leaseTermsunitNumber = getLeaseTermUnitNumer().getText(); String unitNumber = leaseTermsunitNumber....
-1
votes
1answer
87 views

Two automation tools for GUI automation of single application

We are planning to have two separate automation tools to automate our current application, as tool-1 does not support some critical functions. Integration is difficult between these two tools. Will it ...
-1
votes
1answer
323 views

Not able to select the checkbox of a html row [closed]

MY CODE: package com.drishti.automate.testing; import java.util.List; import org.openqa.selenium.By; import org.openqa.selenium.Keys; import org.openqa.selenium.WebDriver; import org.openqa....
-1
votes
1answer
2k views

Element <li> could not be scrolled into view

I am trying to click on size from drop down from this particular website, but I'm not able to do that. size = wait.until(EC.invisibility_of_element_located((By.TAG_NAME, 'UK 6'))).click();
-1
votes
1answer
2k views

How to run two Thread Group in a loop - JMeter

I'm facing problem here, There are 2 Thread Groups and both are correlated ( run thread group consecutively is ticked in test plan ). 1st is user thread group and 2nd is Driver thread group. So ...
-1
votes
1answer
85 views

How to massage or format html in order to parse with xmlstarlet?

Just looking to parse html found "in the wild": Very simple script: curl -s http://www.foo.com > 1.html xmlstarlet fo -H -R 2> /dev/null 1.html > 2.html xmlstarlet sel -t -v "//header[@...
-1
votes
1answer
911 views

I'm unable to install protractor [closed]

Error in cmd C:\Users\user>npm install -g protractor npm ERR! Windows_NT 6.1.7601 npm ERR! argv "E:\\Software\\nodejs\\node.exe" "E:\\Software\\nodejs\\node_modul es\\npm\\bin\\npm-cli.js" "...
-1
votes
1answer
570 views

Selecting available Usernames while creating Gmail Account using Selenium

How to select from available usernames while creating Gmail account using Selenium when the username was chosen is already taken? driver.get("https://accounts.google.com/SignUp?service=mail&...
-1
votes
1answer
1k views

How to skip test cases in a JUnit testsuite?

I have created a JUnit test suite that has multiple test cases. A couple of these are for functionality that are currently under implementation. I want to skip these test cases. How do I skip tests ...
-1
votes
1answer
80 views

Mobile Testing Tools Suggestions [duplicate]

So I’m looking in to automated mobile testing solution and need some suggestions from experience folks who are currently using such tools. So far I’ve evaluated “Silk Mobile” and couple other tools ...
-1
votes
1answer
74 views

Selenium Webdriver ExtentReports: Putting logStatus after every statement

I have a testcase.java which houses all the @Test methods (login, signup and forget password). Since I'm using Selenium ExtentReports, I put LogStatus.PASS after every single statement has been ...
-1
votes
2answers
230 views

What SeleniumIDE command use to wait for value to automatically calculated?

So I have test case like this: User input Money value, then Discount value will be calculated automatically, user save the data. 1.Money : 1.000.000 2.Discount: 10 (Automatically calculated -> ...
-1
votes
2answers
53 views

Name for testing routes, controller and views

I am currently writing tests for my Laravel 5.1 application and testing the workflow: input data from view to route to controller and back to view, typically checking for a DB record and a success/...
-1
votes
1answer
33 views

Can a value be retrieved from Generated Source, using Selenium IDE [closed]

The Scenario: I enter transaction data and submit that data to the application. The application responds with a transaction ID. I then take the Submission Transaction ID and use that ID to query the ...