Comments (3)
Perhaps I didn't understand the issue completely... I created my own example, and was able to execute the plan as expected.
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:
- load data from a single data sheet (Plan Step 1).
- load data from multiple data sheets, with the latter overriding the former (Plan Step 2).
- load data from multiple data sheets, with the latter overriding only the iteration configuration (Plan Step 3).
My data file is pretty simple:
#default
:
The script simply sums up the numbers and assert totals against ${expected-sum}
:
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
Plan Step 1, Iteration 2
Plan Step 1, Iteration 3
Plan Step 2, Iteration 1 (iteration id = 2)
Plan Step 2, Iteration 2 (iteration id = 3)
Plan Step 2, Iteration 3 (iteration id = 4)
Plan Step 3, Iteration 1 (iteration id = 2)
Plan Step 3, Iteration 2 (iteration id = 3)
Plan Step 3, Iteration 3 (iteration id = 5)
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.
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.
The fixes worked as expected. Thank You Mike for the quick build.
from nexial-core.
Related Issues (14)
- project.properties file data not being read HOT 4
- Duplicate activity names now generates error resulting in skipping of all test scenarios HOT 2
- export from excel script format to selnium IDE format javascript (WebDriverJS) HOT 1
- Unable to run tests utilizing web browser - nexial version 2.9_0735+ HOT 15
- grpahql documentation missing HOT 1
- GraphQL call fails HOT 5
- nexial.enableEmail unable to send mail - from latest nexial-core build HOT 5
- Could not find or load main class org.nexial.core.tools.SeleniumScriptConverter while converting selenium code to nexial. HOT 2
- Request for JSON expression to ability to add data to JSON structure HOT 2
- set to turn off shell trace drops java exit value HOT 3
- Include datasheet name used on Summary sheet HOT 2
- After each test scenario the console shows a Null Pointer error HOT 2
- Interactive mode reload properties file for real time data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nexial-core.