0% found this document useful (0 votes)
81 views6 pages

Web Spy Introduction AE 5.4 Document

Uploaded by

Renato Santos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views6 pages

Web Spy Introduction AE 5.4 Document

Uploaded by

Renato Santos
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Introduction to Web Spy

In this document we will see how to use web spy in AutomationEdge process studio version 5.4.0.

Web spy is a tool in process studio. It is used in WEB GUI i.e. Web graphical user interface
automation. It is used to identify an element on a web page and to create step directly in the
workflow.

Browser versions supported for WebGUI Automation and Web Spy are same. Versions are Firefox
(version 38 to 47), Chrome (version 57 to 79) and IE (version 8 to 11).

Use case
We will be building a workflow which would open a browser instance and put URL as
www.google.com. Then we enter text “AutomationEdge” in Google search box.

1. Open Process Studio


2. Create new workflow. Save the workflow
3. In Process Studio various inbuilt steps are available for web GUI automation.
To open browser, add Start Browser step.

Configure step as shown below

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.
4. Now we want to enter text AutomationEdge in the search box so we will use web spy. To
open web spy- Go to tools>> spy>>web Spy.

Specify URL, select browser click on ok.

It will open a separate instance of the browser and following Web Spy toolbar will appear.

5. To fetch attributes of Google search box - Click on spy. Hover mouse on the search box and
press back tick (`) icon on the keyboard. Below image shows back tick (`) character on
keyboard

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.
Attributes for the element are fetched as shown below. You can use one of them as criteria
to locate the element.

6. Now let’s do step generation. Select type as single. Select which action we want to perform.
We want to enter text so select ‘Web Set Value’. Specify the value to be entered say

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.
‘AutomationEdge’. Here we can set this value as field coming from the previous step, or as a
runtime parameter also.
Select criteria as name. Click on generate.
It generates a ‘Web Set Value’ step and the step is added to the workflow. The step is added
with the specified configuration.

So this way we can easily fetch attributes of an element and add action steps directly to the
workflow by using Web spy.
7. Add Exit browser step.

8. Save the workflow and execute it.

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.
Look and feel of web spy is changed in AutomationEdge 5.4.0 and new features are added. Web spy
toolbar shown below is introduced in 5.4 as replacement of the earlier Web Spy Window.

This toolbar has options as listed in the table below.

If we know the locator (Attribute value) of some element then we can locate that element on the
page by using “Locate element” button as shown below.

1. Click on Locate “Element button”

2. Select criteria, enter criteria value and click on Locate button.

3. We can see the element with specified criteria is highlighted on the webpage.

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.
So this is how we use Web spy tool in WEB Graphical user interface automation.

© 2020 AutomationEdge Inc. All Rights Reserved.


This document is for your company’s internal use only and may not be distributed to any third party.

You might also like