Questions tagged [automation-testing]
159 questions
0
votes
0 answers
Automation tests for slackerHQ Application
My Company has a application created with stacker and i need to do a proof of concept about the Automation in Testing and maybe find one framework which is good to us for that.
we have here some problems with the locaters.
first: all elements are in…

Keller
- 1
0
votes
0 answers
Can anyone say, what happens if we missed to add version number in Dependencies of POM.XML in Maven?
Can anyone say, what happens if we missed to add version number in Dependencies of POM.XML in Maven?
Can anyone say, what happens if we missed to add version number in Dependencies of POM.XML in Maven?
0
votes
1 answer
How to create an xpath for random value selection from the drop down but I have to skip the selection placeholder value in Selenium Java
Currently, I am facing the issue of selecting a random value from the drop-down list, but I don't want to select the placeholder value in Selenium Java.
HTML
Can you please help me select a random value from the list, but I don't want to select…

Ash
- 3
- 3
0
votes
1 answer
how to configure scheduled tests with different branches and environments?
I have a question about GitHub Actions - Cypress testing mentality. We have 2 different environments for development; let's call them firstEnv and secondEnv.
Developers are pushing their codes on firstEnv. Once in a week we are having releases from…

Ugurcan
- 42
- 5
0
votes
0 answers
How to give space between words using regex
For ex: I have elements as below:
1.MyFirstword is java
where I need to output as My First word is java
Can we get this using regex exp to give space between words

Nikiii
- 1
0
votes
1 answer
playwright JS reuse the signed-in empty storageState.json
I'm new to playwright and trying to reuse the signed-in but i always end with storageState.json file empty
I added this code to playwright.config.ts
globalSetup: require.resolve('./utils/global-config.ts'),
And my global file is
import { chromium,…

Yehia Gamal
- 3
- 1
0
votes
1 answer
Invalid testing environment specified: chrome
When run the this code got below error-
Invalid testing path
0
votes
1 answer
What means > in Cypress
cy.get('.pass-input-placeholder > .input-wrapper > .error-msg > .msg-body > span')
.should('contain', 'Invalid password');
Why are the classes separated with ">"? Does it apply only for classes?
0
votes
0 answers
Trying to access IFrame body while login to gmail but Cypress is not able to find iframe content body
I'm trying to click Gmail tab in frame.
I'm trying to access iframe using cy.get("iframe[name='app']") as it doesn't have unique id or class.
And this iframe is visible but it's body is not accessable.
through automation we can see that body of…

Muneeb
- 67
- 1
- 7
0
votes
0 answers
Execute python test file using conditions found
I don't know if we can do it using python, selenium and pytest.
I want call test file to execute test files on condition based for example-
I have main test file named test_main.py inside it call other test cases from the other test files
like -
if…

rajanbhadauria
- 445
- 4
- 11
0
votes
0 answers
Postman AssertionError: expected 10137 to equal 10093
enter image description hereWhenever I try to edit the task the test fails
Test code:
let jsonData = pm.response.json();
pm.test("Gallery has correct id", function(){
pm.expect(pm.environment.get("boardId")).to.equals(jsonData.board_id)})
Test…

Luka Persaj
- 1
- 2
0
votes
1 answer
How can I solve this java.lang.NoClassDefFoundError exception
I am working with Extent reporting API but every time I run the code the following exception is thrown:
[RemoteTestNG] detected TestNG version 7.4.0
FAILED CONFIGURATION: @BeforeTest startReport
java.lang.NoClassDefFoundError:…

Ash
- 3
- 3
0
votes
3 answers
How I can Execute next command if current command element is not found in cypress?
Here is below code I want to search "select-dropdown" if its visible than execute if block , if not found than instead of returning error that "select-dropdown" not found, it should execute else block and should click on button.
but it still return…

Muneeb
- 67
- 1
- 7
0
votes
1 answer
Code Coverage Instrumentation with different development and automation projects
Problem Statement
Development project: nodejs
unit tests: available
Automation project: java
Problem: for our development project we already have unit test coverage. But to figure out automation coverage, we require a medium of instrumenting…

Vivek Singh
- 3,641
- 2
- 22
- 27
0
votes
1 answer
How to fetch key value from a API response in RestAssured using java
I have a API response below. I want to fetch a value from the response which inside a JSON array.
{
"cipherTexts": [
{
"id": "string1",
"isSensitive": false,
"cipherText": "gO/GSiH0Co1Ibw=="
}
]
}
I am using JsonPath…

Adil Raza
- 65
- 6