<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Use a Global Constant as timeout value in Test Action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/</id><updated>2020-02-27T15:07:40.147000Z</updated><subtitle>Recent posts to Use a Global Constant as timeout value in Test Action</subtitle><entry><title>Use a Global Constant as timeout value in Test Action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/?limit=25#e930" rel="alternate"/><published>2020-02-27T15:07:40.147000Z</published><updated>2020-02-27T15:07:40.147000Z</updated><author><name>Bakkertje</name><uri>https://forge.codesys.com/u/bakkertje/</uri></author><id>https://forge.codesys.com4b33fcbd1190c03288f9a84ccc87491256af88a6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Martin,&lt;/p&gt;
&lt;p&gt;That works. Thanks  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Use a Global Constant as timeout value in Test Action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/?limit=25#f509" rel="alternate"/><published>2020-02-27T15:07:38.377000Z</published><updated>2020-02-27T15:07:38.377000Z</updated><author><name>mkeller</name><uri>https://forge.codesys.com/u/mkeller/</uri></author><id>https://forge.codesys.comd5fbbe9e5c8be5a8c4e0c84b61d8b3776552a9db</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Bakkertje.&lt;/p&gt;
&lt;p&gt;If you want to use variables in input fields of the test action you have to use the placeholder syntax. There are only a few special input fields which accept the name of a parameter without the curly brackets.&lt;/p&gt;
&lt;p&gt;In your case you have to write the following text: {$GLOBALS.iTimeout}&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Important:&lt;/strong&gt; Global variables of the parent test script are not available in the "REMOTE CALL"-ed test script.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Use a Global Constant as timeout value in Test Action</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e0a4e7609/?limit=25#93df" rel="alternate"/><published>2020-02-27T15:07:37.735000Z</published><updated>2020-02-27T15:07:37.735000Z</updated><author><name>Bakkertje</name><uri>https://forge.codesys.com/u/bakkertje/</uri></author><id>https://forge.codesys.com3024c1ea4b39ecf0e4beb12e4b06619f0e92243c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;How can I use a Global Constant as timeout value in Test Script?&lt;br/&gt;
I have a Test Action, with a TestManager.Monitoring CompareVariable command and there I must specify a Timeout value. This value is different when I test on the Hardware or on the SoftPLC.&lt;br/&gt;
Now I set "$GLOBALS.iTimeout" which I set as Assignment at top of the Test script.&lt;br/&gt;
But when the test run I get the error: "Required parameter should be a value of an integer type"&lt;/p&gt;
&lt;p&gt;The next software is used: Codesys V3.5 SP7 Patch 2 and Test Manager 4.0.1.1.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>