Skip to content

Commit

Permalink
Added all SQLite related stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay committed Jan 30, 2019
1 parent e691ee6 commit 4689199
Show file tree
Hide file tree
Showing 790 changed files with 78,342 additions and 29,087 deletions.
18 changes: 8 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -295,18 +295,16 @@ classes/
logs/
/nexial-core_main.iml
/nexial-core_test.iml
src/main/java/com/ep/qa/sentry/mongo/
src/main/resources/com/ep/qa/sentry/mongo/
src/main/resources/com/ep/qa/sentry/plugins/remote/request_template.json
src/main/resources/com/ep/qa/sentry/plugins/sentry_plugin_v1_0_schema.json
src/main/resources/com/ep/qa/sentry/utils/config.properties
src/main/resources/desktop/ngp/application-BAK.json
src/test/resources/showcase/artifact/data/output-test.data.xlsx
src/test/resources/showcase/artifact/script/iam-provisioning1.xlsx
src/test/resources/showcase/artifact/script/output-test.xlsx
src/test/resources/showcase/output/
src/test/resources/unittesting/output/
support/mongodb-start.sh
support/sync-src-vm.sh

/.archive/
/bin/selenium2sentry.cmd
/build
/logs
/src/test/resources/showcase/artifact/data/image1-1.png
/src/test/resources/showcase/artifact/data/image1-2.png
/src/test/resources/showcase/artifact/data/image2-2.png
/src/test/resources/showcase/artifact/data/image2-1.png
/src/test/resources/showcase/artifact/data/image1-3.png
85 changes: 80 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,90 @@
# nexial-core
# Nexial Automation

#### Test Automation Platform for _Everyone_!<br/>
![logo](https://nexiality.github.io/documentation/image/logo-x.png)
test automation for everyone!
&nbsp;&nbsp;&nbsp;&nbsp;
![logo](https://nexiality.github.io/documentation/image/nexial-caption.png)

The main motivation of Nexial is to provide a set of automation capabilities for software testing.

- ***Test automation for everyone*** - no coding required (but supported), simple and
relevant to all project participants
- Hybrid, Keyword-driven and standards-based; simple/familiar spreadsheet (Excel) interface
- Supports many application architecture and interface - web (browser), desktop, API/REST/SOAP, database, batch, ssh
- Extensive and flexible test and data management
- Local and remote (Jenkins, BrowserStack) support
- Supports FRIP (functional, regression, integration, performance testing)

---

To see Nexial in action, watch this short demo showcasing how Nexial
1. performs a few Google searches (browser automation),
2. uses one of the search results to invoke a few REST API calls (API automation),
3. bulk generates a series of SQL INSERT statements (text manipulation via Nexial expression),
4. stores API responses and Google search stats into database (database automation, with sqlite),
5. finally, performs a few simple data analytical queries and reports (database automation, Nexial expression).

[Nexial in Action](https://www.youtube.com/watch?v=b372XikN1YU&cc_lang_pref=en&cc_load_policy=1)

[![Nexial in Action](https://nexiality.github.io/documentation/image/nexial-in-action-youtube-preview.png)](https://www.youtube.com/watch?v=b372XikN1YU&cc_lang_pref=en&cc_load_policy=1)

<br/>

**Wanna try? Have at it!**
1. Download [Nexial distro](https://github.com/nexiality/nexial-core/releases)
2. Follow the [installation guide](https://nexiality.github.io/documentation/userguide/InstallingNexial) (most steps are one-time work)
3. Download the ["nexial-in-action" project](https://nexiality.github.io/documentation/nexial-in-action.zip) and unzip to local directory
4. Run it:<br/>
Mac/Linux:
```
cd <NEXIAL_HOME>/bin
./nexial.sh -plan <MY_NEXIAL_IN_ACTION_PROJECT>/artifact/plan/demo1-plan.xlsx
```

Windows:
```
cd <NEXIAL_HOME>\bin
nexial.cmd -plan <MY_NEXIAL_IN_ACTION_PROJECT>\artifact\plan\demo1-plan.xlsx
```

---

_It's still a little messy around here. Please be patient, we'll get to all the little quarks and rough corners soon
enough_
More introductory information can be found at our
**[Introduction](https://nexiality.github.io/documentation/userguide/IntroductionAndFAQ)** page.

For more information, please visit [Our Site](https://nexiality.github.io/documentation/).

[Documentation](https://nexiality.github.io/documentation/)
[Tutorials](https://nexiality.github.io/tutorials/)

---

## Contributing

Nexial Automation is a free and open source project. We appreciate any help anyone is willing to give - whether it's
fixing bugs, improving documentation, suggesting new features, or collaboration via coding. Check out the
[contributing guide](.github/CONTRIBUTING.md) for more details.
\
\
\
Nexial Automation enables test automation with [BrowserStack](http://browserstack.com).
![BrowserStack.com](https://nexiality.github.io/documentation/image/browserstack/Browserstack-logo-small.png)
\
\
\
Nexial Automation enables test automation with [CrossBrowserTesting](http://CrossBrowserTesting.com).
![CrossBrowserTesting.com](https://nexiality.github.io/documentation/image/cbt/CrossBrowserTesting-logo-small.png)



---

## [Code of Conduct](.github/CODE_OF_CONDUCT.md)

Please note that by participating in this project you agree to abide by its terms as published in
[Contributor Code of Conduct](.github/CODE_OF_CONDUCT.md).

---

## [License](LICENSE)

Nexial Automation is [licensed](LICENSE) under the Apache License, Version 2.0.
32 changes: 20 additions & 12 deletions bin/.commons.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


:init
REM # utilities to be invokved by other frontend scripts
REM # utilities to be invoked by other frontend scripts
set PROJECT_BASE=%SystemDrive%\projects
set NEXIAL_HOME=%~dp0..
set NEXIAL_LIB=%NEXIAL_HOME%\lib
Expand All @@ -29,17 +29,14 @@
set DEFAULT_FIREFOX_BIN="%ProgramFiles(x86)%\Mozilla Firefox\firefox.exe"
)

REM # setting Java runtissme options and classpath
set JAVA_OPT=%JAVA_OPT% -Xms256m
set JAVA_OPT=%JAVA_OPT% -Xmx1024m
REM # setting Java runtime options and classpath
set JAVA_OPT=%JAVA_OPT% -ea
set JAVA_OPT=%JAVA_OPT% -Xss24m
set JAVA_OPT=%JAVA_OPT% -Dfile.encoding=UTF-8
set JAVA_OPT=%JAVA_OPT% -Dnexial.home="%NEXIAL_HOME%"
set JAVA_OPT=%JAVA_OPT% -Dwebdriver.winium.verbose=false
set JAVA_OPT=%JAVA_OPT% -Dwebdriver.winium.silent=false
set JAVA_OPT=%JAVA_OPT% -Dwebdriver.ie.driver.loglevel=WARN
REM set JAVA_OPT=%JAVA_OPT% -Dwebdriver.winium.logpath=%TEMP%\winium-service.log
REM set JAVA_OPT=%JAVA_OPT% -Dnexial.assistantMode=on
REM set JAVA_OPT=%JAVA_OPT% -Dwebdriver.winium.logpath=%TEMP%\winium-service.log

goto :eof

Expand All @@ -48,11 +45,20 @@ REM # Make sure prerequisite environment variables are set
:checkJava
if "%JAVA_HOME%"=="" (
if "%JRE_HOME%"=="" (
echo ERROR!!!
echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
echo At least one of these environment variables is needed to run this program
echo.
exit /b -1
echo =WARNING========================================================================
echo Neither the JAVA_HOME nor the JRE_HOME environment variable is defined.
echo Nexial will use the JVM based on current PATH. Nexial requires Java 1.8
echo or above to run, so this might not work...
echo ================================================================================
echo.

set JAVA=
for /F "delims=" %%x in ('where java.exe') do (
if [%JAVA%]==[] (
set JAVA="%%x"
goto :eof
)
)
) else (
if EXIST "%JRE_HOME%\bin\java.exe" (
set JAVA="%JRE_HOME%\bin\java.exe"
Expand All @@ -75,6 +81,7 @@ REM # Make sure prerequisite environment variables are set
exit /b -1
)
)

REM echo setting JAVA as %JAVA%
goto :eof

Expand Down Expand Up @@ -106,6 +113,7 @@ REM # Make sure prerequisite environment variables are set
if NOT "%PROJECT_HOME%"=="" (
echo PROJECT_HOME: %PROJECT_HOME%
)
echo.
goto :eof


Expand Down
Loading

0 comments on commit 4689199

Please sign in to comment.