cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing application level Global variables in PBunit

Former Member
0 Kudos

Hello,

I am trying to develop a Unit Testing framework for our application using PBunit. In our application there is one global variable declared at application level of type NVO. And this variable is used throughout application. So whenever I write any testcase and try to run it using PBunit exe, I get an error as "Unresolvable external [Name of global variable] when linking reference at line .....".

Can anyone please tell me how to invoke Global variables via PBunit? 

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

What does your library structure look like for the application?

The PBD for the library holding your global variable object must be in the same folder as the EXE.  Also, if you have the PBD option checked when you deploy, the PBD generated for the EXE's library must be deployed into the same folder as the EXE.