Let’s start!
1- Create a new Web automate project
Click PROJECTS and select the WEB tab
Click ADD URL button
Write App Name, Version, base URL of the website and click ADD PROJECT button
Info |
---|
URL will be your opening page and must start with http:// or https:// |
2- Develop your test cases
You will be navigated CASE MANAGEMENT automatically
Click ADD SECTION and write your SECTION name
Press ENTER to Save Click ADD SECTION to save your Section
Click ADD CASE button
Write your TestCase Name and press ENTER
Select in order to add a new case
Enter your case title and select your favorite Coding Language and Framework
Click ADD CASE button
Open Selenium IDE Browser Extension with by clicking it from the right-top menu. We will use the Chrome browser to debug the web application.
Click the “Record a new test in a new project” option
Provide a name for your new Selenium IDE Project
Set your project’s base URL
Click the Start Recording button. Now You you should see a new window that will be opened and navigates to the base URL.
Record your Test test scenario’s Steps
Mouse over the TestName on Selenium IDE and Open the menu
Click Export option
Choose your favorite Language and click the Export button. In this example, we will choose Java.
Save the file to your computer.
Open the saved file with your favorite Text Editor
Just copy the needed step codes with selectors.
Close Selenium IDE
Go back to Momentum Suite’s Automation Case Management
Click ADD STEP button
Write your Step Title and Press ENTERClick Edit button on Step and copy-paste the needed step code(s)
Click SAVE SCRIPT button
the ADD STEP button to save the step title and codes
3- Run a test and check the results
Click the TEST RUNS tab to create a new Test Run
Click CREATE NEW TEST button to create a new Test Run
Set Your Test Name
Check your TestCase(s) which will run
Click the SET TIME button
Click the SELECT DEVICE button
Choose your browser(s) which will run your TestCases
Click the RUN TEST button
After a few seconds, your test will start automatically. You can inspect the TestRun when the test goes RUNNING status
Click the VIEW RESULTS button
You should see your TestCases with Steps and Overall the overall status of your test
Click on any STEP nameto inspect
Select a browser from the list
Review the Test Results (Logs, Screenshots, and more..)
There will be 2 screenshots on the screen. 1st screenshot has taken before the step run, 2nd one is after the step run