GithubHelp home page GithubHelp logo

Comments (3)

mikeliucc avatar mikeliucc commented on June 14, 2024

Perhaps I didn't understand the issue completely... I created my own example, and was able to execute the plan as expected.

Here's the plan:
image

I have 3 steps here to show a variety of confirmation that the data loading logic is working as expected. My intention is show that Nexial can:

  1. load data from a single data sheet (Plan Step 1).
  2. load data from multiple data sheets, with the latter overriding the former (Plan Step 2).
  3. load data from multiple data sheets, with the latter overriding only the iteration configuration (Plan Step 3).

My data file is pretty simple:
#default:
image

Scenario1:
image

Scenario2:
image

Scenario3:
image

The script simply sums up the numbers and assert totals against ${expected-sum}:
image

I added a few flow control and a pause at the end so that I can examine the output as the execution goes along. Even without looking at the progress of the execution, one can reply on the first step base >> verbose() to see that the data is loaded correctly. Here are the snippets of the log file:

Plan Step 1, Iteration 1

image

Plan Step 1, Iteration 2

image

Plan Step 1, Iteration 3

image

Plan Step 2, Iteration 1 (iteration id = 2)

image

Plan Step 2, Iteration 2 (iteration id = 3)

image

Plan Step 2, Iteration 3 (iteration id = 4)

image

Plan Step 3, Iteration 1 (iteration id = 2)

image

Plan Step 3, Iteration 2 (iteration id = 3)

image

Plan Step 3, Iteration 3 (iteration id = 5)

image

I'm attaching my example project and log file here for your reference:
SampleWorkingExample.zip
nexial-20200803_214927.2020-08-03.log

Would you mind giving this a try from your environment?

from nexial-core.

mikeliucc avatar mikeliucc commented on June 14, 2024

OK.. found the issue -- turns out that when the latter datasheet specifies an iteration of a higher number than that of a previously loaded datasheet, Nexial then resorts to using only the iteration data that was previously loaded. As such iteration data outside the specified iteration(s) of the previously datasheet was not subsequently available.

Good catch!

Code fixes have been implemented. Please give it a try with build #884 (or later). Thanks for reporting this!

automike

from nexial-core.

pvpurohit avatar pvpurohit commented on June 14, 2024

The fixes worked as expected. Thank You Mike for the quick build.

from nexial-core.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.