# Testing launching popups in Perspective

**URL:** <https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912>\
**Category:** Ignition\
**Tags:** perspective, ignition80\
**Created:** [January 4, 2021, 8:01am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912 "2021-01-04T08:01:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 4, 2021, 8:01am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/1 "2021-01-04T08:01:32Z")

</div>

I’m guessing no, but is there any way to test the launching of and passing of parameters to a popup in Perspective from the Designer like in Vision?

I have a popup that accepts an array parameter which i’m passing to it, but it doesn’t appear to work… I want to know what the parameter being passed in is actually coming in as

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [January 4, 2021, 8:50am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/2 "2021-01-04T08:50:50Z")

</div>

Not yet.  
You can just open popup in perspective and copy paste the your test value to the param of your popup and check the result.  
Its ideal but it solve your problem

---

<div class="post-metadata">

**Author:** ![iscrac](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/iscrac/32/49757_2.png) [@iscrac](https://forum.inductiveautomation.com/u/iscrac)\
**Post date:** [January 4, 2021, 8:59am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/3 "2021-01-04T08:59:24Z")

</div>

> [@nminchin](#):
>
> I’m guessing no, but is there any way to test the launching of and passing of parameters to a popup in Perspective from the Designer like in Vision?
> 
> I have a popup that accepts an array parameter which i’m passing to it, but it doesn’t appear to work… I want to know what the parameter being passed in is actually coming in as

if I understood the problem correctly so as for me.. I use `system.perspective.print()` in every script that I want to check, so that I can see in **Output Console** what is going on in desired script...  
In Your case, I just set text parameter to Label element, so that I can see what is in Page Parameter... after some tests I just delete Label from Page...

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [January 4, 2021, 9:41am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/4 "2021-01-04T09:41:48Z")

</div>

I did do that, and it works, but passing the parameter doesn’t 🤔

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [January 4, 2021, 12:50pm UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/5 "2021-01-04T12:50:58Z")

</div>

Yes I agree with with. Even worse than that is like bison double climbing on embedded view (template) doesn’t open it and you have to search all view to find the embedded view and open it manually

---

<div class="post-metadata">

**Author:** ![ShaneCMM](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@ShaneCMM](https://forum.inductiveautomation.com/u/ShaneCMM)\
**Post date:** [February 15, 2021, 8:48am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/6 "2021-02-15T08:48:53Z")

</div>

If I understand correctly, you can get the information you want via running a session in Chrome + React Developer Tools. This gives a components tab in the standard Chrome developer tools interface which shows the React component tree. The generated React components are not named in a very readable way, but by mousing over the tree you can find the one you are interested in and then see the parameters and their values.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [February 15, 2021, 11:13am UTC](https://forum.inductiveautomation.com/t/testing-launching-popups-in-perspective/41912/7 "2021-02-15T11:13:33Z")

</div>

> [@ShaneCMM](#):
>
> The generated React components are not named in a very readable way,

You're right that the names are super unfriendly! But I found my popup params that had been passed in 🙂 Thanks, very helpful
