Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Problem Statement: I am trying to read a Json file into my feature file. This Json contains multiple Json Objects as payloads as shown below. Once I can read, I want to pass that Json Payload as input ...
1 vote
0 answers
43 views

I want to check a tooltip when setting the mouse over a button. My button class is com.intuit.karate.robot.win.WinElement (used getClass()) I can check the tooltip content (property HelpText), I can ...
A.Joly's user avatar
  • 2,397
0 votes
0 answers
39 views

I have tried a couple of combination below to set my driver config in karate but nothing seems to work for me. I'm still encountering the error shown below. { type: 'playwright', ...
Gelo's user avatar
  • 1
0 votes
1 answer
53 views

Feature: Open Swag Labs login page in Chrome Background: Browser Setup configure driver = { type:'chromedriver, executable:'classpath:BrowserDrivers/chromedriver.exe'} Scenario: Open Swag ...
1 vote
1 answer
58 views

I have a karate test feature file like below and I am doing a string concatenation in the first column of scenario examples. This works fine in all my other feature files. But when I try to pass the ...
1 vote
0 answers
33 views

Karate 1.1.0 supports dynamic variables in Examples: Scenario Outline: * call read('classpath:View.feature') Examples: | read('classpath:testdata/'+ env + '/view.csv') | reading env ...
karateKid's user avatar
0 votes
1 answer
105 views

I am looking for a way to remove information from callArg inside the karate-json.txt report file. See the following simplified example of karate-json.txt report: { "failedCount": number, ...
Thomas's user avatar
  • 1
1 vote
0 answers
41 views

When attempting to compare two images in karate via the compareImage keyword (or karate.compareImage() function) with the ignoreAntialiasing option set to true like so: Background: Setup * def ...
0 votes
1 answer
63 views

I use old karate versions in some (commercial) projects, version 1.3.1 and 1.4.1 respectively. Now I am not sure, if we can upgrade to the (at the time of writing) most recent version 1.5.1 (https://...
Andreas J's user avatar
  • 546
0 votes
2 answers
62 views

I try to include a dynamic array in a json variable and it fails. hostsArray is dynamically built # sample of hostsArray * def hostsArray = '[{"hostid": "1234"},{"hostid"...
gerfred's user avatar
  • 23
1 vote
0 answers
78 views

`I recently upgraded a test automation project from Karate 0.9.6 to Karate 1.5.1. In 0.9.6, I was using karate-apache for my custom HTTP client implementation. Since karate-apache is no longer ...
RMP's user avatar
  • 11
0 votes
0 answers
47 views

I’m running Karate UI tests (Karate 1.5) with type: 'chrome'. The non-UI (API) tests run fine, but the UI-based tests frequently fail with: [WARN] [com.intuit.karate.shell.Command.run] - exit code was ...
0 votes
0 answers
36 views

I have the following problem: I have two scenarios in the feature file. In scenario 1, I create a new product and, to simplify things, I test: After the POST request, I save: def productId = response....
declutec's user avatar
1 vote
1 answer
59 views

In the following code example, we declare and initialize a variable then conditionally change it's value, after that we call on another scenario with no interest in passing this variable down to it or ...
1 vote
1 answer
53 views

I’m using Karate for UI automation and running tests via Docker in CI. My configuration is as follows: karate.configure('driverTarget', { docker: 'karatelabs/karate-chrome:1.5.0', showDriverLog: ...

15 30 50 per page
1
2 3 4 5
...
316

AltStyle によって変換されたページ (->オリジナル) /