How to Spy Web Object in Katalon studio or Capture elements using Web Object Spy in Katalon studio. So this complete Katalon studio tutorial is dedicated to spying object in Katalon studio. You need to spy object when you will work in manual mode or script mode.
Let’s start the war with katalon studio and follow some simple instructions.
Spy Web Object in Katalon studio
Step1: Just launch the katalon studio and create a new project. And if you don’t know how to do that just follow the previous tutorials.
Step 2: Just click on the Spy Web option.
Step 3: New pop up will display. Just enter URL and select an appropriate browser.
And click on start button. This action will redirect you to a web page.
Step 4: Now select an element and press “alt ~” from your keyboard.
This command will capture that selected element.
Click on save button.
You can modify this “alt ~” Shortcut for capturing the object. For that, you just need to follow the following path
enter site Window > Katalon Studio Preferences > Katalon > Object Spy.
Step 5: Now just select a folder to store your object you can create a new separate folder also.
Step 6: Now you can modify that object just double click on the object all properties will we appear. you can modify them accordingly.
Katalon studio used by tag, id, CSS, XPath and more you can modify it and set the priority accordingly.
Define additional objects manually
Spy Object in katalon studio is an easy option to access elements. There is not only that single way to play with the object. There is another option to create our own custom object.
For accessing the iFrame object we can use the parent-child relationship between object we will discuss this in detail in upcoming tutorials.