Questions tagged [automation-testing]

159 questions
1
vote
1 answer

The package org is not accessible - Selenium web driver

I am trying write a selenium code using Java but there is an error package org is not accessible. I have downloaded a firefox driver and given a path. Please let me know. It will be appreciated. Please find the code below package…
1
vote
0 answers

Is there a way through which we can run cucumber automation framework using junit on parallel different instances as my framework is not threadsafe

My cucumber automation framework is using junit and not threadsafe and during parallel execution using maven surefire plugin I'm facing lot of data read and write issues and webdriver issues. Is there a way i can run my automation framework on…
Rahul
  • 11
  • 2
1
vote
1 answer

How to specify firefox version on cypress run

I'm trying a way to launch cypress with a specified firefox version, if i launch something like cypress run --browser firefox I only see version 89 running, how can I force it to launch it with different versions? FYI, I'm launching it inside a…
1
vote
0 answers

What is the best approach to handle automated testing of iOS and Android in the same code?

What is the best approach to handle automated testing of iOS and Android in the same code? I have to automate the same application on both iOS and Android platforms; the application looks almost the same on both platforms, except for the specifics…
1
vote
1 answer

Why error here with cucumber runner mutiple tags

enter image description here Error is "Type mismatch: cannot convert from String[] to String". But this is the guide in cucumber webpage: package com.example; import io.cucumber.junit.Cucumber; import io.cucumber.junit.CucumberOptions; import…
0
votes
0 answers

In any scenario in automation where implicit wait will fail every time but explicit wait will pass even both having 10 sec default Time?

In any scenario in automation where implicit wait will fail every time but explicit wait will pass even both having 10 sec default Time ? Its not as depend upon condition e.g clickable point of view. Researched and brainstorming on the question but…
0
votes
0 answers

Error while adding emulator in Android Studio

This is the error message- The specified Gradle distribution 'https://services.gradle.org/distributions/gradle-8.0-bin.zip' does not exist. [Android Studio Flamingo | 2022.2.1 Patch 1] Not sure what to do next. Want to add emulator in android studio…
0
votes
1 answer

Selecting API Response JSON Field in Cypress Resulted as Undefined

I have a problem regarding Cypress response evaluation. I'm intercepting a request and trying to get a field which is returned as "Undefined". Here is the structure of the response directly fetched from browser: [{"hyperparams": {"param1": 50,…
Ugurcan
  • 42
  • 5
0
votes
0 answers

How can i test text color of an element by nightwatch.js

whenever I enter more than >140 it is text getting red color. I want to verify text color getting is red or not. My HTML element like this css selector: #root > div > main…
0
votes
2 answers

Appium Inspector - Call to 'switchContext' failed

I am using Appium inspector to find the element path/id/xpath for testing. I am testing hybrid android app. So I try to switch to webview from the dropdown. But I am not able to switch to webview. I am getting following issue. Call to…
0
votes
0 answers

Cucumber not finding feature files in JUnit tests

I'm facing an issue with setting up Cucumber tests using JUnit. I have followed the steps mentioned in the documentation, but the Cucumber runner is not finding my feature files. Here's a brief overview of my setup: IDE: Eclipse IDE for Java…
0
votes
1 answer

Check playwright doesnt redirect to another page when a redirect button is clicked

I got a form which takes user data. I am building a simple test to check that the continue button will not redirect to another page if the data inputs are invalid or empty. any ideas? Many thanks, :-) I have tried using waitForNavigatiopn(), but it…
0
votes
2 answers

I am getting Unknown error in python while useing selenium

I am trying to open the default profile using selenium in python using the following code : from msedge.selenium_tools import Edge, EdgeOptions from selenium.webdriver.common.keys import Keys options = EdgeOptions() options.binary_location =…
0
votes
0 answers

XCTest: Is it possible to test SplashScreen in UI Test automation

I'm wondering if it is possible to test app's splash screen in UI Test automation. My idea is to assert 1 UI element during splash screen presented, but sometimes it appear then disappear too fast, UI test just cannot catch it. // Launch the…
Zhou Haibo
  • 1,681
  • 1
  • 12
  • 32
0
votes
2 answers

Unable to launch browser using selenium on Docker. Getting org.openqa.selenium.SessionNotCreatedException

I am trying to fetch title of the website "https://www.google.com/" in chrome browser using selenium on Docker. However whenever I execute I get the following exception Exception in thread "main" org.openqa.selenium.SessionNotCreatedException:…
1 2
3
10 11