Category "automation"

Automation Test executed by Runner works fine, but when execute this by command mvn, it gets error in test that already works fine

I am a QA and created a framework(JAVA) to execute my tests. Everything is going fine running the tests by Runners. All those tests works fine and got the PASSE

How do I get text from input text box in selenium?

I need to insert with selenium to text box and then get it to another use. how can I do this? The function getText() doesn't work.

Cypress Security Error. Can only call open() on same-origin documents

I'm learning Cypress and decided to test a 3d party website as a practice. This 3dparty website uses subdomains. (ex catalog.main.com, cart.main.com, news.main.

Logging into Outlook using powershell with no user logged on

I was wondering if its possible to create a powershell script to log into a specific outlook mail box and than add the script to the scheduled task so that no u

Finding child element while having parent element

There is an element having various children. How can I count the number of its children using parents' xpath? So far, I have been using this: List<Webeleme

Scroll down method selects text in Appium

I'm using TouchAction with coordinates in Appium to scroll down the native app. Code sample: TouchAction ts = new TouchAction(driver);ts.press(207, 582).moveTo(

Force a TestCafé to abort the execution of a test if it get stuck

I am working with TestCafé 1.8.1 and testcafe-browser-provider-electron 0.0.14. Let's say that an issue in the application force it to get stuck and hang

How can I make my TestCafe framework handle A/B experiments on web apps?

I have built an automation framework for testing our web app that runs as after each new deploy to our staging environment, as a regression pack. Now the issue

{WebElement}.getAttribute("value") returns 0

I am interacting with an element within a webpage: <li class="MuiButtonBase-root MuiListItem-root MuiMenuItem-root jss524 MuiMenuItem-gutters jss525 MuiListI

How to generate json data from Json Schema Programmatically in Java

I am trying to create Body-parameter(JSON) for my POST Api , which is a JSON request . All I have is the JSON Schema . I am trying to come up with a list of dif

Is there any way to run cypress open and only include test files containing a key word? eg. lifecycle from domains-lifecycle.spec.jsx

I have a fairly large library of test files in my project (roughly 80) and I have them named with keywords ex. "create" "Edit" and "lifecycle". I want to be abl

ChromeDriver Does not find the element on the page with selenium JAVA

I am trying to find an element on the page, I want to sorter the result list but my result show me that is not attached on the page: Exception in thread "main"

Need to remotely open Chrome Settings Help in foreground using PowerShell

I have a requirement to run a script everyday and automatically update "Chrome Browser" if a new version is released. I am using a PowerShell script that goes l

Need a less repetitve way to start Rails on Mac

I've been on a Mac just over a month and before that I've been using Windows and wrote a .bat file to run a few other little .bat files to fire up MongoDB, guar

Script to automatically log in to webpage and click button

I have a time clock system that employees login to via browser and punch for time but I find that the process takes our less tech savvy employees 4-5 minutes. I

Find element using explicit wait within another element

I have the following code: List<MobileElement> messages = driver.findElements (By.id ("body_bubble")); //find all messages MobileElement lastMessage = me

Selenium check for gotoif when statement is false

I had written a Selenium command via IDE by implementing gotoIf when the statement is true it jumps to the label but while the statement if false it is not goin

Python Selenium - Disable Chromedriver log message in cmd

I can't disable chromedriver logging message "DevTools listening on ws:......" in cmd, i've used some methods like, options.add_argument("log-level=3") options.

What Exception to throw when a web element is found in Selenium Automation [closed]

Currently, I am working on a "Selenium Wrapper Library", where a set of methods are created in order to perform automation on a particular Web

How to update an existing row or table of an existing xlsx file using pyexcel for python

I am trying to use python to update an xlsx spread sheet used for keeping track of weekly trends/metrics. This particular xlsx file has 4 sheets on “Sheet