<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Fitnesse :How to verify default values in field?</title><link>https://community.appian.com/discussions/f/general/11009/fitnesse-how-to-verify-default-values-in-field</link><description>Hi all, 
 Can anyone please suggest me how to verify default values on the page load? 
 |verify field | --&amp;gt; this keyword is not working</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Fitnesse :How to verify default values in field?</title><link>https://community.appian.com/thread/56302?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 01:04:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ec729a88-4674-4689-9e16-1a7276c7b7ee</guid><dc:creator>rajeshv</dc:creator><description>even try this &lt;br /&gt;
|Check| populate record type user filter | USER_FILTER_NAME | with | USER_FILTER_VALUE |VALUE|&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fitnesse :How to verify default values in field?</title><link>https://community.appian.com/thread/56301?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 01:02:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aaf5d944-cf5e-4d90-8ba3-ddfe0678c5fa</guid><dc:creator>rajeshv</dc:creator><description>Hi Minakshis001,&lt;br /&gt;
&lt;br /&gt;
You can try using below methods.&lt;br /&gt;
If it is a user filter use this method&lt;br /&gt;
| verify record type user filter | USER_FILTER_NAME | is present |&lt;br /&gt;
&lt;br /&gt;
Or you need to populate that value first and verify the value.&lt;br /&gt;
&lt;br /&gt;
| populate field | FIELD_LABEL or [INDEX] or FIELD_LABEL[INDEX] | with | VALUE(S) |&lt;br /&gt;
| verify field | FIELD_LABEL or [FIELD_INDEX] or FIELD_LABEL[INDEX] | contains | VALUES() |.&lt;br /&gt;
&lt;br /&gt;
Please let me know if none of the above is not working for you.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fitnesse :How to verify default values in field?</title><link>https://community.appian.com/thread/56240?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 19:09:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9143430-fbb7-41ea-8739-ef48fae385ae</guid><dc:creator>lucasj</dc:creator><description>I don&amp;#39;t think the |verify field| method is going to work since it checks the &amp;quot;value&amp;quot; parameter of the field (which is this case is null).  Unfortunately, I&amp;#39;m not aware of any FitNesse method that will check the &amp;quot;placeholder&amp;quot; parameter of a field.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fitnesse :How to verify default values in field?</title><link>https://community.appian.com/thread/56235?ContentTypeID=1</link><pubDate>Tue, 05 Jun 2018 17:50:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cd90c774-3aab-44ef-a09d-bb937145a684</guid><dc:creator>Miguel Garcia-Gonzalez</dc:creator><description>&lt;p&gt;What you can do is establish a local variable to store a default value to be displayed (that is included in the array used for &amp;#39;choiceValues&amp;#39;) so when you load your page the first time it will be showing a value selected by default. Hope this example can explain better what I said:&lt;/p&gt;
&lt;p&gt;load(&lt;/p&gt;
&lt;p&gt;&amp;nbsp;local!defaultValue:2,&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp;&lt;span style="color:#339966;"&gt;Here you set the default value you want to display&lt;/span&gt;&amp;nbsp;*/&lt;/p&gt;
&lt;p&gt;&amp;nbsp;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;a!dropdownField(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;label: &amp;quot;Prueba&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;choiceLabels: {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Choice 1&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Choice 2&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Choice 3&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;quot;Choice 4&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;choiceValues: {&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;},&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;value: local!defaultValue,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;placeholderLabel: &amp;quot;Any&amp;quot;,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;saveInto: local!defaultValue&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;),&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;a!richTextDisplayField(&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/*&amp;nbsp;&lt;span style="color:#339966;"&gt;This is just to display local variable&lt;/span&gt;&amp;nbsp;*/&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;value: a!richTextItem(&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;text: local!defaultValue&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>