You can take a role-based test after you log in to the test by following the invitation link. The editor allows you to code and run project type problems with access to a terminal. You can also run test cases to see if your code fulfills each test case.
Once you are logged in to the test, you can keep track of the time left for the test completion by viewing the displayed time on the top menu bar.
- You must be logged in to the test.
- Using the test invite sent to you, fill out your details and click on Start Challenge. In doing so, the following window is displayed. Wait for the ready state, and click Go to Test, as shown below.
- In the test view, click Solve Question for the question you want to solve. Note that the type of question will be of the role you are interviewing for.
- After reading the question, scroll down to the editor. Type the code in the editor to answer the question.
- Be mindful of the following while answering:
- Click Run and then click Install to install the build dependencies.
- Click Run and then click Run Server to run the code. Alternatively, you can click the green arrow icon on the menu bar of the editor to run the code.
- Click Run and then click Preview App to view the application website.
- Always save your code before you view the app. You are asked to enable the popups and then the app is launched in another tab. You can see the changes you have made to the code in real-time with this feature.
- Click Run and then click Test to run the unit tests.
- Depending on how the question is framed, the unit test case output might be displayed on the terminal, or in the J-unit output XML file. The terminal displays the number of test cases that pass or fail with your code.
- Click File and then click New Terminal to open the terminal.
- Do not modify ids or classes for the existing UI elements because they are required for the unit tests.
- If the total test time elapses, you will be automatically logged out of the test. In this case, we use your latest auto-saved code on our editor to evaluate your test.
Note: You can return to your submitted answer and modify the submission anytime before you submit the test.