Emulator manager and Virtual remote has been developed and tested on below environment
Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux and macOS.
Electron (formerly known as Atom Shell) is a free and open-source software framework developed and maintained by GitHub. It allows for the development of desktop GUI applications using web technologies: it combines the Chromium rendering engine and the Node. js runtime.
Google Chrome is a cross-platform web browser developed by Google.
Node.js is an open-source, cross-platform, back-end JavaScript runtime environment that runs on the V8 engine and executes JavaScript code outside a web browser.
V8 is Google's open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others.
An operating system is system software that manages computer hardware, software resources, and provides common services for computer programs.
Oracle VM VirtualBox is cross-platform virtualization software.
Follow below steps to build rdkv emulator dunfell image along with rdk services
// TODO
Follow below steps to run application on host pc and create installer package
$ npm install
$ npm run start
Follow below steps to create installer package for linux/windows/mac
$ sudo npm install -g electron-packager
$ sudo npm install -g electron-installer-debian
$ electron-packager . --platform linux --arch x64 --out dist --overwrite
$ electron-installer-debian --src dist/EMV-linux-x64/ --arch amd64 --config config.json
For the complete documentation on electronjs refer link: https://www.electronjs.org/.
1. How to set rpi or emulator ip in emulator manager app?
We can provide target machine ip address in ip box which appears on right-top side.
2. How to add image in vm manager?
Select "Install image" option from vm manager tab, then select "Add image" button then we need to select the image from the file browser box.
3. How to install OS in oracle virtual machine ?
Select "Install image" option from vm manager tab, then select image which is appear on above install button and provide instance name (*) then select install button. Selected image will be installed on virtual machine.
4. How to delete image from list?
Select "Install image" option from vm manager tab and then select delete option.
5. How to boot virtual machine OS?
Select "Show Installed OS List" option from vm manager tab and then select installed os from the list and then select start button.
6.What is use of "Launch ResidentApp" option?
"Launch ResidentApp" option allow to launch residentapp from host machine to target machine.
Follow below steps to launch resident from host machine to target machine.
7. How to execute test script?
Select "Automate Test" option from app manager tab and then select "test script" from list and then select submit button.
8. What is use of Add Script option?
Add script option allow to create test script and add in the list.
9. What is use of delete script option?
We can remove the selected script from the list by using "Delete script" option.
10. How to test api from emulator manager/api manager?
Select api from "Api list" result will be appear above "Api list". we can modify Api params in "Selected Api params" text fields and then select "Validate Api" button to make Api request.
11. What is use of "Validate all Api" option?
Select apifrom "Api list" result will be appear above "Api list". we can modify Api params in "Selected Api params" text fields and then select "Validate Api" button to make Api request.
12. How to launch virtual remote?
Select "Use this " option from remote manager tap and then enter R-pi or Emulator ip address in remote app. Ip address will appear in bottom. After enter the ip address need to hit enter key.