# Testing simple project script

**URL:** <https://forum.inductiveautomation.com/t/testing-simple-project-script/29848>\
**Category:** Ignition\
**Created:** [November 11, 2019, 3:40pm UTC](https://forum.inductiveautomation.com/t/testing-simple-project-script/29848 "2019-11-11T15:40:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [November 11, 2019, 3:40pm UTC](https://forum.inductiveautomation.com/t/testing-simple-project-script/29848/1 "2019-11-11T15:40:04Z")

</div>

I am new to project scripts and was just trying to test the simple example in the manual but I get a error when I try to run it.

Traceback (most recent call last):  
File “event:actionPerformed”, line 1, in   
AttributeError: ‘com.inductiveautomation.ignition.common.script.Scr’ object has no attribute ‘functions’

```auto
#display popup message
def popMessage(message):
    system.gui.messageBox(message)

```

---

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [November 12, 2019, 10:51pm UTC](https://forum.inductiveautomation.com/t/testing-simple-project-script/29848/2 "2019-11-12T22:51:07Z")

</div>

you have to add the package name before your project script name.

project.js.functions.popMessage(‘Hello World’)
