Do you think IIT Guwahati certified course can help you in your career?
No
Introduction
Hey Ninja!! Today we will learn how to use Katalon Studio to test cases in IE mode in Microsoft Edge.
We will first configure our internet settings for the IE mode, then create our custom keyword and use the custom keyword to execute the test in IE mode. But before we dive into the topic, let us first see what Katalon is.
What is Katalon
Katalon Studio is a software for automation testing created by Katalon, Inc. The software was initially released in January 2015. The software is built on top of the open-source automation frameworks Appium and Selenium with a specialised IDE interface to test desktop, mobile, web and APIs.
Now let us move on to the topic and configure our internet settings for the IE mode.
Configure Internet Options Settings
As Microsoft discontinued the internet explorer desktop application after June 15, 2022, it introduced the IE mode in Microsoft Edge for people or organizations who still need internet explorer.
Follow the instructions to configure the internet options for windows 11-
Step 1: First, Open Control Panel. Now go to Network and Internet > Internet Options.
Step 2: Now, have a look at the Internet Properties dialog. Now, select the Security tab and choose Local intranet.
Step 3:
Now, click the Sites button.
Enable Automatically detect intranet network.
Finally, click OK.
Create Your Custom Keyword
In the upcoming steps, we will create our custom keyword named EdgeBrowser.
Step 1: First, go to Tests Explorer > Keywords. Now, create a new keyword package packageName.
Step 2: Now, we are going to create a new keyword class.
For that, right-click on the newly created package. Enter the class name(EdgeBrowser).
Step 3: We need to add a script in the keyword class.
Open the EdgeBrowser.groovy file and paste the following code and save it.
Katalon Studio uses Groovy, a language built on top of Java. It has to load many libraries for parsing test data, objects, and logging.
How do we capture an image In Katalon Studio?
We can Select the charged object in the Captured Objects window and click the Add Screenshot button in the bottom right corner. We can also pick Capture by right-clicking on the web element.
What are the benefits of Katalon Studio?
Katalon is a cutting-edge, all-inclusive quality management tool that supports teams of any size in producing the best possible digital experiences.
Conclusion
This article taught us how to use Katalon Studio to test cases in IE mode in Microsoft Edge. We set up the IE mode in the Network settings, created a custom keyword, modified it according to our requirements, and used the custom keyword to execute the test case. We hope this blog was helpful. You can also refer to other similar articles.