Questions tagged [extent]

170 questions
10
votes
2 answers

How to write a custom Failure message for the Failed Step in Cucumber-java in extentReports

I want to write custom failure message in my Cucumber ExtentReports. Tool using : Cucumber Java Selenium JUnit ExtentReports What's happening now: I have a cucumber scenario. Given something When I do something Then this step fails The failed…
Sakshi Singla
  • 2,462
  • 1
  • 18
  • 34
8
votes
1 answer

Make raster stack with different extent

I am in trouble making raster stack which have slightly different extent. The answer (1st one) given here is useful but did not help in my case. For example, I want to make a raster stack using bio2 raster for Australia and this Australian raster.…
Tiny_hopper
  • 380
  • 1
  • 4
  • 15
6
votes
2 answers

Why doesn't std::extent work on references to arrays like operator sizeof?

If I want to get the size (number of elements) of an array I can use sizeof(a) / sizeof(a[0]) but the new standard makes it possible to use type traits to do that: int main(){ int a[]{5, 7, 2, 3, 6, 7}; std::cout <<…
Maestro
  • 2,512
  • 9
  • 24
6
votes
1 answer

Converting EPSG projection bounds to a D3.js map

Given an EPSG projection (say, this Alabama one: [http://spatialreference.org/ref/epsg/26729/][1]) How can you take the given WGS84 projection bounds in such a way that you can use them in a D3.js projection. For example, how would you know what…
Union find
  • 7,759
  • 13
  • 60
  • 111
6
votes
2 answers

PowerShell AST Modification and Extents

I am currently trying to use the AST functionality introduced in PowerShell 3.0 to modify a ScriptBlock. My requirement is that all the parameters in the parameter block of the ScriptBlock get a [Parameter(Mandatory)] attribute. Basically the code…
chrischu
  • 3,047
  • 3
  • 27
  • 44
5
votes
1 answer

Create feature from ol.extent.boundingExtent?

In an openlayers 3 app, I am able to retrieve the bounding extent and fit the view. However I now want to create a feature/polygon by using the bounding extent. let boundingExtent = ol.extent.boundingExtent([[left, bottom], [right, top]]); …
vicgoyso
  • 636
  • 1
  • 14
  • 35
4
votes
1 answer

Oracle Segment Does Not Equal Extents?

For a given tablespace, why doesn't the sum of bytes in dba_extents equal the sum of bytes in dba_segments? (additional questions after sample script.) SQL> with "SEG" as ( select 'segment_bytes' what , to_char(sum(bytes),…
Alex Bartsmon
  • 471
  • 4
  • 9
4
votes
3 answers

cartopy set extent with central_longitude=180

Cartopy 0.17.0: When I set central_longitude, I don't know how to set the extents exactly provided: import matplotlib.pyplot as plt import cartopy.crs as ccrs projection = ccrs.PlateCarree(central_longitude=180) ax =…
Andrew
  • 507
  • 5
  • 16
4
votes
1 answer

How to create files which share an extent?

The Linux programmer's manual manpage fallocate(2) states: If the FALLOC_FL_UNSHARE flag is specified in mode, shared file data extents will be made private to the file to guarantee that a subsequent write will not fail due to lack of space.…
Alexander Klauer
  • 957
  • 11
  • 18
4
votes
1 answer

Modifications of raster extent and resolution change the total sum of pixel values

I wish to change the resolution and extent of a raster. I have tried to combine in different ways extend, aggregate, resample but unsuccessfully… below is a code I wrote to get the right resolution and extent, but as a consequence, the total pixel…
Cecile
  • 527
  • 5
  • 22
4
votes
1 answer

Get Extent of Complicated Data Structure in D3

I am trying to get the extent of my xy-data which has this nested form: data = [ {"points": [{"x": 0, "y": 0}, {"x": -5, "y": 100}, {"x": 300, "y": 1}, ...], "rgbval": "rgb(0, 0, 0)" }, {"points": [{"x": 1, "y": 2},…
Luke Stuemke
  • 545
  • 1
  • 5
  • 12
4
votes
4 answers

Initializaton error in com.cucumber.listener.ExtentCucumberFormatter

I am running the script using Cucumber in BDD Framework and I am using Extent Reports plugin to create the execution report. I've created the test runner class as below: package com.ctl.it.qa; import org.junit.runner.RunWith; import…
Atif
  • 41
  • 1
  • 2
  • 6
4
votes
2 answers

Configuring ExtentReports to provide accurate test statuses and screenshot on failure

I am having some difficulty tweaking ExtentReports to provide the desired output. I have a simple test framework with TestNG, using a TestBase class to do the heavy lifting to keep tests simple. I wish to implement ExtentReports in a simple…
Steerpike
  • 1,712
  • 6
  • 38
  • 71
4
votes
12 answers

Extent Report no generating html

Hi I am trying to create report through Extent Report; the code gives no error and runs successfully but there is no html report generated. Can anyone please help below is my code - package ca.automation.com; import…
3
votes
1 answer

How to integrate Allure Report in karate API automation project

We are using Karate heavily for various projects and though the report generated using karate Reports are more than anyone would need. I am still interested in getting Allure integrated in the mix. Added allure-junit4 dependency and added allure…
Amit Vyas
  • 103
  • 2
  • 8
1
2 3
11 12