Selenium IDE with Command Line Runner

preview_player
Показать описание
Today we will learn:
Add Se IDE to browser
Record a test
Playback
Features and options
Command Line Runner

References

To install side runner
npm install -g selenium-side-runner

------------ UI TESTING ------------

------------ API TESTING ------------

------------ MOBILE TESTING ------------

------------ CI | CD | DEVOPS ------------

------------ VERSION CONTROL SYSTEM ------------

------------ PERFORMANCE TESTING ------------

------------ PROGRAMMING ------------

------------ IDE ------------

------------ MAVEN ------------

------------ OTHERS ------------

Keep Learning,
Raghav

You can support my mission for education by sharing this knowledge and helping as many people as you can.
Рекомендации по теме
Комментарии
Автор

Your content is KING! I found you on Udemy first, then on youtube. I am learning so much, it's like being in a candy shop for real.

sekoujohnson
Автор

+1 for being to the point, impeccable content!! thanks man XD

youshaarif
Автор

when i tried running same process even after a successful chromedriver installation remark was that- The ChromeDriver could not be found on the current PATH. Please download the latest version of the ChromeDriver from and ensure it can be found on your PATH. pls sir, how do i correct this

TMNmediaTrading
Автор

Hello, great tutorial. I have some questions if you can help me with.. I don't understand if I must install side runner and driver every time I open the command prompt or not? Also I don't know how to write the path? My file is on the desktop and I wrote : cd Desktop\folder_name but it shows an error. Thank you very much.

mateapolic
Автор

When i run my test suite from CI it fails, but from IDE it doesn't inam unsure why ? It throws issue like elements in span not found

mishkakamtikar
Автор

Great video. Thanks.
"Output test results to a file.
"
selenium-side-runner --output-directory=results
selenium-side-runner --output-directory=results --output-format=junit

Could you shoot a video about this episode?

halilkarakus
Автор

When I select the test case, I'm not seen the three dots to find the export drop downs. Do I need to install any plugin to see rename, duplicate. delete and Export drop downs?

pradeepedirisinghe
Автор

hey! everythings ok, but I have one problem. When I run the test via CMD the test starts, and I can see the progress whether the test passes or fails. On the other hand, a browser window launches, but I have no preview of the steps the test takes. Do you have any idea how to solve this?

martakozlowska
Автор

Great video Raghav...Can you please make tutorials playlist on UFT as well? let me know your thoughts on that.

tanmoyroy
Автор

Can you pls tell the commands to get the time to load page from selenium IDE?

vijyantvibhu
Автор

Hi. Thank you for the tutorial. Please help me regarding this. I followed your steps to configure Selenium CLI in an Amazon EC2 instance.
But when running the command selenium-side-runner /path/to/your-project.side I am receiving the following error.
info: Running Mynew.side
FAIL ./MySuiteOne.test.js
● Test suite failed to run

WebDriverError: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

at Object.throwDecodedError
at parseHttpResponse
at Executor.execute

Test Suites: 1 failed, 1 total

Also when installing chrome drive using the command specified in the official document, I faced the following error
Copying to target path
ChromeDriver installation failed { Error: EACCES: permission denied, mkdir
at Object.mkdirSync (fs.js:757:3)
at copyIntoPlace
at process._tickCallback
errno: -13,
syscall: 'mkdir',
code: 'EACCES',
path: }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! Exit status 1
npm ERR!
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

But I managed to install it via command *npm -g install chromedriver --unsafe-perm=true --allow-root* and it was succeeded. Please let me know the solution to install and configure selenium in remove linux server without GUI

shinekumarkp
Автор

I have followed the step but see the below error when i run from the command line
internal/fs/utils.js:220
throw err;
^

Error: EISDIR: illegal operation on a directory

judithelemo
Автор

Hi Raghav
I tried following the same steps as you have shown but unable to execute the test on Command prompt. I am using Windows OS.
Below are the steps which I followed:
npm install -g selenium-side-runner
npm install -g chromedriver

Both these above steps got executed successfully without any errors. Post that i executed
selenium-side-runner


The above command does not execute the test nor did it open the chrome browser for execution. Also did not throw any error.
Also tried with:
selenium-side-runner -c "browserName=chrome"


Please help. What may be the possible reasons for this?

avkumar
Автор

Are you able to leave the window open and NOT call Close?

norielbernardo
Автор

Hi @Raghav,
I have watched the above video and followed each step.
But I am facing this error -


info: Running
FAIL
● Test suite failed to run


at new ServiceBuilder
at getDefaultService
at Function.createSession
at createDriver
at Builder.build
at buildDriver
at WebdriverEnvironment.setup


Can you please help me to short out.
Even I have installed Chrome Driver.

sonamsahu
Автор

Hi,
It's very good demo but can you tell how to use Selenium_Ide scenario in JENKINS ?
It's impossible for me :)

jean-mariemarkowski
Автор

Hi Sir, I want to upload a document to my webite and record that in Salenium IDE, how to record the upload document process. It is showing error again and again. Please help me out.

anuragbond
Автор

Hi! If you have multiple test suites in one project, is there way to run them in a specific sequence in command line?

mymonthlygift
Автор

Hi there. Thanks for the cool tutorial, but can it be run with correct order? I have 2 simple tests \ test Suites. Login to the System + Manager Dashboard page tests, but for some reason the Manager Dashboard test always runs before Login. Tried to change the sequence - nothing helped. What am I doing wrong?

RUNS
RUNS

Test Suites: 0 of 2 total
RUNS
FAIL ./2.StageManagerPages.test.js (5.345s)t.js
● 2. Stage Manager Pages › 2. Manager Dashboard

Test Suites: 1 failed, 1 passed, 2 total
Tests: 1 failed, 1 passed, 2 total

raccoonpolicedepartm
Автор

Hi sir, can we integrate or validate the string value of different application by using this ?

bhharathisekar