[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Osaka/Yokohama/Tokushima] Looking for infrastructure/server side engineers!

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Deployed by over 500 companies] AWS construction, operation, maintenance, and monitoring services

[Successor to CentOS] AlmaLinux OS server construction/migration service

[Successor to CentOS] AlmaLinux OS server construction/migration service

[For WordPress only] Cloud server “Web Speed”

[For WordPress only] Cloud server “Web Speed”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Cheap] Website security automatic diagnosis “Quick Scanner”

[Reservation system development] EDISONE customization development service

[Reservation system development] EDISONE customization development service

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Registration of 100 URLs is 0 yen] Website monitoring service “Appmill”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[Compatible with over 200 countries] Global eSIM “Beyond SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[If you are traveling, business trip, or stationed in China] Chinese SIM service “Choco SIM”

[Global exclusive service] Beyond's MSP in North America and China

[Global exclusive service] Beyond's MSP in North America and China

[YouTube] Beyond official channel “Biyomaru Channel”

[YouTube] Beyond official channel “Biyomaru Channel”

I tried using Selenium IDE to automate browser testing

Hello.
This is Hase from the development team.

This time, I will introduce a tool called Selenium IDE that automates browser testing.

What is Selenium IDE?

Selenium IDE is a tool for automating web browser testing and is available as a FireFox add-on.
In addition to Selenium IDE, there is a library that can be tested from a program called Selenium WebDriver.

Source: Various introductions to Selenium IDE

Although it is provided as a FireFox add-on, you can also use this tool with other browsers such as Chrome and Internet Explorer.
Next time I will introduce how to use it with Chrome and Internet Explorer.

introduction

This time I will be using FireFox as the browser, so I would like to proceed with the discussion assuming that FireFox is installed on your PC.

here and click "+ Add to Firefox" to install Selenium IDE.

That's all there is to install.
It's so easy!

How to use

As an example, I would like to create the following test.

1. Access https://www.yahoo.co.jp/
2. Search for "biyondo Co., Ltd."
3. The search results will display "Isn't it Beyond Co., Ltd.?"

Start Selenium IDE

Select Menu Bar → Tools → Selenium IDE to start it.

Start recording

Activate the red circle (record button) on the top right and start recording.

operate the browser

Operate your browser as usual.
1. Access https://www.yahoo.co.jp/
2. Enter “biyondo Co., Ltd.” and search.

The operations will be recorded in Selenium IDE.

We want to confirm that "Are you Beyond Co., Ltd.?" is displayed, so
drag the wording, right-click, and select "verifyText...".

Now you can test that it is displayed.

End recording

You can end recording by clicking the red circle (recording button) on the top right again.

execute

Play the test you created.
When you press the play button (▶), the browser will start automatically.

It turns green when the test completes successfully.

On the other hand, if the values ​​are different and an error occurs, it will turn red as shown below.

*By changing the Verify Text value to "Are you Beyond Co., Ltd.?", the values ​​did not match and an error occurred.

At the end

This time, we created the test by operating the browser,
but of course it is also possible to create the test by directly entering commands without operating the browser.

For a list of commands and how to use them, please
read the official documentation

That's all.

If you found this article helpful , please give it a like!
0
Loading...
0 votes, average: 0.00 / 10
2,742
X facebook Hatena Bookmark pocket
[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[2025.6.30 Amazon Linux 2 support ended] Amazon Linux server migration solution

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

[Osaka/Yokohama] Actively recruiting infrastructure engineers and server side engineers!

The person who wrote this article

About the author

Tatsuya Hase

Joined Beyond Co., Ltd. as a new graduate.

We develop web systems (development of services and systems that run on browsers, such as web services, digital content, and business management systems) and game APIs (development of programs that communicate with application games).

We also develop private/custom apps for Shopify.

Originally worked at the Osaka office, but transferred to the Yokohama office in 2019.
His hobbies are baseball/karaoke/anime