# How to change data type of string to integer in Web GUI Automation?

**URL:** <https://community.automationedge.com/t/how-to-change-data-type-of-string-to-integer-in-web-gui-automation/17792>\
**Category:** Ready Actions/Plugin\
**Tags:** rpa\
**Created:** [April 14, 2026, 10:51am UTC](https://community.automationedge.com/t/how-to-change-data-type-of-string-to-integer-in-web-gui-automation/17792 "2026-04-14T10:51:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siddharth\_31122002](https://avatars.discourse-cdn.com/v4/letter/s/df788c/32.png) [@Siddharth\_31122002](https://community.automationedge.com/u/Siddharth_31122002)\
**Post date:** [April 14, 2026, 10:51am UTC](https://community.automationedge.com/t/how-to-change-data-type-of-string-to-integer-in-web-gui-automation/17792/1 "2026-04-14T10:51:52Z")

</div>

I have fetched the integer data from the website using the GUI Automation spy, but when need to perform operations on the data, it gives a error saying that the data is string.

 ![Screenshot 2026-04-14 162923](https://canada1.discourse-cdn.com/flex027/uploads/automationedge/original/2X/1/12d91bf1a949dca3f47809139710760c54be230e.png)

---

<div class="post-metadata">

**Author:** ![girija.jape](https://avatars.discourse-cdn.com/v4/letter/g/9de053/32.png) [@girija.jape](https://community.automationedge.com/u/girija.jape)\
**Post date:** [April 14, 2026, 11:03am UTC](https://community.automationedge.com/t/how-to-change-data-type-of-string-to-integer-in-web-gui-automation/17792/2 "2026-04-14T11:03:54Z")

</div>

You can see comma in the number.

kindly remove the comma using string operation(digit only feature) and then you can work with the numbers.
