Questions tagged [automation-testing]

159 questions
0
votes
0 answers

How to run HTML_CodeSniffer inside Java code

I have a Test automation framework built using Java, Selenium and trying to run HTML_CodeSniffer inside java code to get the desired Accessibility violation logs. https://github.com/squizlabs/HTML_CodeSniffer I tried to embed this into our Java code…
0
votes
1 answer

How to do Paste(ctrl+v) in Playwright Typescript?

When I click on Copy Link hyperlink, link(url) is getting copied. I want to open new tab and past that copied url into the address bar? How can I do that using Playwright? I am using playwright with typescript. In attached image, you can see copy…
0
votes
0 answers

How to generate a single HTML report for a test suites that includes multiple test case files in selenium using python unittest framework?

I have a test suite file in which the test cases are being called. So when I run the test suite(For e.g which has 2 test case files), 2 HTML reports are being generated i.e. each of every test case file. How can I generate a single HTML report even…
0
votes
1 answer

Cypress is not running in parallel on AWS

I'm trying to configure Parralel testing on AWS with Cypress. I have read the documentation from here and here, but nothing seems to work. In my Buildspec I have the following: ## buildspec.yml version: 0.2 env: variables: S3_BUCKET: {...} …
0
votes
0 answers

How to update excel cell by adding data to new line of the existing cell data using apache poi?

I need to update existing cell value by adding new lines to it during testing through selenium. I am not able to figure out code to update exising data using POI. When I tried to add using New Line Character, it is overwriting existing data. Please…
Subhrut Taori
  • 27
  • 1
  • 2
  • 11
0
votes
1 answer

How the JMeter actually works? Does it add records to the application in real time?

Can we add data in application(registration form/candidates details etc) using JMeter? I create script -HTTP Request where I used ${__UUID()} function to create random UID -Create HTTP Req with parameters -Add listener to view result Script…
0
votes
0 answers

Get updated tags of html in chromeDriver using selenium after click in C#

Working on Selenium automation testing after a click on button webpage gets updated with pdf link and some other tags but it is not updating into ChromeDriver driver object I already tried like PageSource & hit same url into another…
0
votes
1 answer

Which websocket sampler is used to perform load testing on a websocket based chat application?

I have a Websocket Based chat application and I want to perform testing on it, In which I want fire 'hi' message from 10 users to a same destination. but I'm not sure which sampler should I use. Please someone let me know which websocket sampler…
S Ali
  • 13
  • 4
0
votes
0 answers

Can AAA be used in Automation Tests?

I have a smoke test suite, which will be automated. Can I use during code process Act Arrange Assert Pattern? Or Is it only for unit testing? Or is there better pattern for automation testing?
0
votes
0 answers

how to solve NPM ERROR code ELIFECYCLE errno 1, when i want to run my website automation testing

i want to run my website automation with webdriverio with npm run web , but i got this error message.
0
votes
0 answers

Highlight element in screenshot but not in UI(run time) using selenium

I have to highlight the element while taking screenshot but that should not reflect in UI while taking screenshot. I have seen many programs that will first highlight the element in UI before taking any screenshot but that highlighted element is…
0
votes
0 answers

How can we use Project A's wdio.conf.js in Project B in WebDriver IO Automation?

I want to make Project_A a generic framework that contains all types of action methods and all required configurations. Now I want to create Project_B and want to use the same configuration and the methods of Project_A. Could anyone please give me a…
Shubham Kumar
  • 121
  • 1
  • 16
0
votes
0 answers

getting this error nosuchelementexception : this element is locating but still idk why it is showing this exception.also help me with other exception

1.)Exception in thread "main" org.openqa.selenium.json.JsonException: java.lang.reflect.InvocationTargetException 2.)org.openqa.selenium.json.JsonException: Attempting to close incomplete json stream Build info: version: '4.6.0', revision:…
0
votes
0 answers

FileNotFoundExcpetion error on AWS device farm while fetching data from the .csv file

I am new at device farm. I am fetching username/password from the .csv file and the test works on my local environment. When I zipped and uploaded on the device farm it thows the error FileNotFoundException. I've placed csv file under…
0
votes
1 answer

converting existing puppeteer tests to playwright

Trying to convert my existing puppeteer test to playwright. The instruction here is not very clear. Has anyone able to do this successfully? What steps did you follow? https://github.com/checkly/puppeteer-to-playwright#-getting-started downloaded…