# Using RoboZap execute app

**URL:** <https://forum.robotframework.org/t/using-robozap-execute-app/442>\
**Category:** Robot Framework\
**Created:** [8 July 2020 10:43 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442 "2020-07-08T10:43:24Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![RuiCovid](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ruicovid/32/318_2.png) [@RuiCovid](https://forum.robotframework.org/u/RuiCovid)\
**Post date:** [8 July 2020 10:43 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/1 "2020-07-08T10:43:24Z")

</div>

Using:

```
Library RoboZap ${PROXY} ${PORT}

${PROXY} http://127.0.0.1:2869

${PORT} 2869

RoboZap.Start Gui Zap C:\\Python27\\ZAP.exe

```

There’s

> [Error 2] The system cannot find the file specified

With

```
RoboZap.Zap Open Url http://demo.owasp-juice.shop

```

It continues trying to open but never opens.

Can you help? Thanks.

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [8 July 2020 11:19 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/2 "2020-07-08T11:19:03Z")

</div>

This is the first time I see mention of `RoboZap` library. Looks like some Windows related app.

@RuiCovid You ask here because contacting the maker of that library, did not get any answer?

---

<div class="post-metadata">

**Author:** ![RuiCovid](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ruicovid/32/318_2.png) [@RuiCovid](https://forum.robotframework.org/u/RuiCovid)\
**Post date:** [8 July 2020 11:28 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/3 "2020-07-08T11:28:48Z")

</div>

Hi! I sent an email to them and got no answer.  
I sent to a person from their github.  
Is this right?  
Thanks

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [8 July 2020 18:43 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/4 "2020-07-08T18:43:40Z")

</div>

> [@RuiCovid](#):
>
> I sent to a person from their github.

That is a good approach.

About your problem, the error message is correct, you don’t have .sh scripts in Windows, you have to try on MacOS or Linux.  
(I looked at the code and is calling a .sh script. You can modify the code to start an .exe, and if it works, then you should propose a condition on Operating System)

---

<div class="post-metadata">

**Author:** ![rasjani](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@rasjani](https://forum.robotframework.org/u/rasjani)\
**Post date:** [9 July 2020 09:03 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/5 "2020-07-09T09:03:43Z")

</div>

> [@HelioGuilherme66](#):
>
> you don’t have .sh scripts in Windows, you have to try on MacOS or Linux.

Technically not valid statement. If you happen to install git client on windows, it does ship with bash and then, you can run “.sh” scripts just fine on windows. Infact, i do all my work on windows desktop by connecting to it via ssh and it defaults to bash.

But true, the code in RoboZap.py is not intended for Windows…

---

<div class="post-metadata">

**Author:** ![RuiCovid](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ruicovid/32/318_2.png) [@RuiCovid](https://forum.robotframework.org/u/RuiCovid)\
**Post date:** [9 July 2020 09:49 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/6 "2020-07-09T09:49:37Z")

</div>

Thank you Jani for the option you mention.

---

<div class="post-metadata">

**Author:** ![RuiCovid](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ruicovid/32/318_2.png) [@RuiCovid](https://forum.robotframework.org/u/RuiCovid)\
**Post date:** [9 July 2020 09:50 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/7 "2020-07-09T09:50:55Z")

</div>

Thank you Hélio. I’m going to look to the code too and try to figure out a solution. Could you please tell me what is the file dealing with .sh files?

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [9 July 2020 11:05 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/8 "2020-07-09T11:05:47Z")

</div>

I am also a lazy guy, but here it is:  
Lines 45 and 64 of [https://github.com/we45/RoboZap/blob/master/robozap/RoboZap.py](https://github.com/we45/RoboZap/blob/master/robozap/RoboZap.py)

---

<div class="post-metadata">

**Author:** ![RuiCovid](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/ruicovid/32/318_2.png) [@RuiCovid](https://forum.robotframework.org/u/RuiCovid)\
**Post date:** [27 July 2020 07:53 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/9 "2020-07-27T07:53:33Z")

</div>

Thank you Helio.  
I’m new to robot.

---

<div class="post-metadata">

**Author:** ![Leidy](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@Leidy](https://forum.robotframework.org/u/Leidy)\
**Post date:** [13 April 2021 13:41 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/10 "2021-04-13T13:41:21Z")

</div>

## Good morning, I am also trying to integrate RobotFramework with OWASP ZAP, I would like to know if you have an example project on which I can base myself to be able to carry out this integration

Buenos dias, yo tambien estoy intentando integrar RobotFramework con OWASP ZAP, quisiera saber si tienen un proyecto de ejemplo en el que me pueda basar para poder realizar este integracion

---

<div class="post-metadata">

**Author:** ![HelioGuilherme66](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/helioguilherme66/32/34_2.png) [@HelioGuilherme66](https://forum.robotframework.org/u/HelioGuilherme66)\
**Post date:** [29 July 2024 12:36 UTC](https://forum.robotframework.org/t/using-robozap-execute-app/442/11 "2024-07-29T12:36:14Z")

</div>

Some years later, I come back to this tool.

I have a modernized version of RoboZap:

```python
pip install https://github.com/HelioGuilherme66/RoboZap/archive/refs/heads/modernize_code.zip

```

Still need some fixes, and improve documentation.  
I tested in Windows with Python 3.12 and RobotFramework 7.0.1.
