Questions tagged [automation-testing]

159 questions
1
vote
2 answers

Cypress Upload file error using selectfile - filename undefined

Attempting to upload a file via a hidden 'input[type="file"]' element. My code is : Get, Show and Select as per the cypress documentation cy.get('[data-cy="file-input"]').selectFile('cypress/fixtures/myfixture.json') cy.get('input[type="file"]') …
1
vote
1 answer

How to select and get all the elements from a tree-select and put them in a list?

I want to select all the options from a tree-select and put them in a list, but I just can see the selected option when I inspect the elements. The other elements I can't find, so how can I take them and put them in a list? enter image description…
1
vote
1 answer

Why explicit wait don't throw an exception after first polling interval?

If explicitely wait is having default polling time i.e. 500ms then why don't it throws an exception after first 500ms if the condition is not satisfied? What is the role of default polling time in explicite wait?
1
vote
0 answers

Android app testing - Multiple Cucumber scenarios on the same session of the device

I am performing Android tests using Appium-Cucumber-TestNG framework. I have a feature file which 1 Scenario with multiple tests. Now, if I run this test, it will launch the app 3 times for the 3 tests. Is there a way that I could launch the app…
1
vote
1 answer

Cucumber.io test scenarios are running in parallel not in sequence

I am using cucumber.io for my Automation Test framework (Java + Selenium + Appium) and we have multiple scenarios and features, and I want to execute all at once. Note, when I run feature by feature it works fine without errors and it runs in random…
1
vote
2 answers

Playwright How To Return page from a function that creates a browser context?

I am trying to make a function that opens the browser and logs into the page using basic auth. I would like the function to return the page so I can pick it up in the test and continue to use it. When I pass browser to the function I need to create…
1
vote
1 answer

How can I wait for element attribute value with Selenium 4 n python?

I want to handle the progress bar to be stopped after a certain percent let's say 70%. So far I have got the solutions, they all are using .attributeToBe() method. But in selenium 4 I don't have that method present. How can I handle that? This is…
1
vote
4 answers

Disable the edge sidebar using Capabilities and EdgeOptions

All I want to know how I can disable edge sidebar using Edge capability. so i can use it in automation. I am aware about two different ways to it mentioned below. Using .send_keys Shift + Ctrl + / From registry Editor Open Registry Editor by typing…
1
vote
0 answers

selenium python: element not intreractable

The problem is when I am clicking the first name field, the click is working, but when I am sending the text to the field, it is showing me the error: selenium.common.exceptions.ElementNotInteractableException: Message: element not…
1
vote
1 answer

Robot Framework System Variable inside Variable Yaml file

Is there a way, robot framework system variables can be defined in Variable Yaml file. For example; I've a yaml file like testdata.yaml key: ${EXECDIR}${/}mydir Importing file in robot Test Case: *** Settings *** Variables testdata.yaml *** Test…
1
vote
1 answer

How to automate native features (like take image in camera) or pop-ups (tapping on allow or deny) in flutter integration testing

Every time I log in to my flutter app using integration test script "Allow user to access contact" pop up will be displayed which is a native component. I could not access or tap those pop ups using flutter test driver. Is there a way to automate…
1
vote
0 answers

Dynamic test tag pattern execution in karate

i have to run selected tests in karate using test runner and tags, apart from using the method like this- tags("SMOKE", "Regression"), can we have an alternative in java where the tags can be dynamically executed instead of manually using the tags…
1
vote
0 answers

Can we have a report in karate containing the history of all the reports?

For example: i ran some test cases today and generated a report and tomorrow i ran some more test cases and generated a report, is it possible to have a report having the history of all the reports i have generated before with the date mentioned on…
1
vote
1 answer

Scroll Through Android app using appium-Javascript

I am doing automation testing using appium, webdriverio, nodejs and I want to set elements value after scrolling, how can I do it? I have already tried MoveTo, touchAction,scrollIntoView methods on webdriverio documentation but unable to do it.
1
vote
0 answers

Is there any way to use @after and @before in Karate?

Analyzing if I can customize a Karate html Report can anyone help me in using @after and @before in Karate?
1
2
3
10 11