Skip to content

sumankumarcb/crowdbotics_automation

 
 

Repository files navigation

How can we setup and run locally?

  1. If you don’t have Visual Studio on your system, first we need to install it from this link: https://code.visualstudio.com/download.

  2. If you don’t have git in your system, we need to install git from this link for Windows: https://git-scm.com/download/win; for Mac: https://git-scm.com/download/mac.

  3. Copy the repository link: https://github.com/anishcb/crowdbotics_automation.git Go to any location on your system where you want to store your project.

  4. Open your git bash command.

  5. Type the command Git clone https://github.com/anishcb/crowdbotics_automation.git and click the enter keyword.

  6. Then check your system location to see where you want to store the project.

  7. Open Visual Studio and click on the file option, which is available at the top of the IDE.

  8. Select the Open Folder option.

  9. Browser your project and open it in Visual Studio.

  10. Open your terminal, which is available at the bottom of Visual Studio.

  11. Install Cypress using this command: npm install cypress --save-dev.

  12. Now your system is ready for coding.

  13. If you want to run your project, you will use this command: npx cypress open.

  14. Open your Cypress open screen, then select the E2E Testing Option.

  15. Select the browser in which you want to execute.

  16. Select your spec file so your test will automatically start.


How can you run the code from GitHub actions?

  1. Open the test.yml file and change the run command. If you want to run smoke, enter the smoke command, then save it.

  2. Push your code to your repository.

  3. Go to the repository and select the Actions option.

  4. Where you found your project is already running.

  5. Click on the build option, and you can check your status.


How can I check the report?

  1. Go to the terminal, which is available at the bottom of Visual Studio.

  2. Type this command to generate the macho report. (Command is already available on the package.) json file).

  3. Copy the macho report file path and paste it in the browser.

  4. Click on the enter key.


  1. What is the framework structure?
  2. How can I check the report and concurrency?
  3. How can we use TCMS for every automated test run?
  4. How to checkout and use the framework Create a sub-branch.
  5. Create a document defining the process of branching.
  6. How to checkout and use the framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%