Questions tagged [automation-testing]

159 questions
0
votes
2 answers

How to hide sensitive data like password and given Data table details used in examples in feature file cucumber framework in Extent report?

I need to hide sensitive data like password from extent report to share report to client which is configured with cucumber BDD framework selenium JAVA. Can anyone please help me is there any way the sensitive data like password and secret from Given…
0
votes
1 answer

GWEN - Intermittent issue in finding web element in Gwen framework even after wait conditions

I am using GWEN automation framework to test our web application Code: And dropdown value can be located by xpath "//[@class='scrollingMenu' or @class='pickListMenu' or @role='listbox'][contains(@style,'visibility:…
0
votes
0 answers

How to click on the psuedo element that has a pop up checkbox element in selenium?

I am trying to automate test script and ran upon the pseudo element which seems to not clickable using normal element finders. The element to be clicked is a field after which the checkbox pop which is to be clicked again.
0
votes
0 answers

automation test in gitlab-ci.yml

I'm trying to run pipeline for automation test with python script, actually virtual Environment i need to install in project/src location. but it is by default creating virtual Environment in gitlab below…
subbu
  • 1
  • 1
0
votes
0 answers

How to run test automation scripts written in pycharm from JIRA?

I have created test suite in pycharm using python-selenium-robot framework. Now I want to run it from JIRA. Is there any way to do it?
Amaze_Rock
  • 163
  • 3
  • 16
0
votes
1 answer

Cypress Infinite Scroll

How can I scroll down and find a text with Cypress framework in "https://the-internet.herokuapp.com/infinite_scroll"? The text I want to find is "doloremque quasi voluptatibus fugiat ipsa eos quas culpa sed omnis nostrum enim quisquam."
0
votes
3 answers

How do I run my Selenium IDE test cases in headless mode?

I am working on selenium IDE scripts and want to run the scripts in headless mode to do other stuff while smoke test are running in headless mode How can I do that?
0
votes
0 answers

How to use conditions If / else of compering with Mocha chai (or other tools)

I have a condition to test. If the user is Admin -> exppect admin permissions If the user is regular -> expect basic permisiions But the "expect" ans "should" do not works with conditions and fail after first non admin element if (user.range ==…
Kim B
  • 61
  • 1
  • 6
0
votes
1 answer

How to take file path from excel in robot framework

I want to upload a text file in application under test. The path of text file is put in one of the cells of excel. I tried using excel library but I am facing issue here. My code is not identifying excel library. I have installed robot framework…
0
votes
1 answer

Issue while running the js file on nightwatch

I am running Nightwatch through Vs code. Where inside the src folder test I have 2 js files one is a customer.js and the second is supplier.js. Now I want to run only customer.js using command npx nightwatch -e chrome How can I run single js file I…
Shankar
  • 11
0
votes
2 answers

How to Handle this type of Popups is selenium WebDriver Using Java

How to Handle this type of popups using selenium with java, tried Using getWindowHandles method but cant figure Out the Problem
0
votes
2 answers

Set selenium speed doesn't work in robot framework

I just login into a website, i guess it was too fast so i put "set selenium speed" under "maximize browser window" but it does not work. what happen? here's my code. *** Settings *** Library SeleniumLibrary *** Test Cases *** LoginTest open…
0
votes
0 answers

Running multiple GET requests using RestSharp, but it only runs one request and then stop

I am trying to run multiple GET requests using RestSharp but it only runs one request and then stop. Can someone please suggest what I am doing wrong here? using System; using System.Collections.Generic; using System.Net; using…
Sahil
  • 13
  • 5
0
votes
1 answer

Remove chromedriver prompt NightwatchJS

When I run my NightwatchJS tests npx nightwatch I seem to have the chromedriver prompt open alongside the browser. The test suite proceeds to press the buttons and assert elements correctly but I have to minimise the prompt in order to see what's…
Kris
  • 562
  • 5
  • 17
0
votes
1 answer

how to achieve nested loop in cucumber framework?

I have a scenario, where i have to validate 30 links and in each link there are 24 values. So i have to click on every link in 30 links and then validate the 24 values in that link. How to achieve this in cucumber framework?? In normal java methods…