On the page I have the message that I have to validate. This message looks like this: The ‘Attribute Name’ is required. Jameleon doesn't want to read inverted commas(perhaps such symbols are forbidden in Jameleon). Please, help me to solve this problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1. You can set the charset in your XML file
2. You can set the value in a properties file and then use the variable name inside the XML instead of the actual text.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you then want the HTML to be generated in the correct charset, set the genTestCaseDocsEncoding config variable in Environment.properties or in the testcase tag itself.
On the page I have the message that I have to validate. This message looks like this: The ‘Attribute Name’ is required. Jameleon doesn't want to read inverted commas(perhaps such symbols are forbidden in Jameleon). Please, help me to solve this problem.
Please give me more information. I need a sample test script and the name of the charset you are writing your test case in.
I use Jiffle plugin. The charset used on the page is <meta http-equiv="Content-Type" content="text/html;CHARSET=UTF-8" />
I need to find such a text:
The ‘Attribute Name’ is required
I tried to do it so:
1) <jm:ie-validate-text functionId="Verify warning" text="The ‘Attribute Name’ is required" />
2) <jm:ie-validate-text functionId="Verify warning" text="The 'Attribute Name' is required" />
3) <jm:ie-validate-text functionId="Verify warning" text="The ‘Attribute Name’ is required" />
Nothing works(.
The following things might help:
1. You can set the charset in your XML file
2. You can set the value in a properties file and then use the variable name inside the XML instead of the actual text.
How can i define the CharSet at XML file?
If the XML parser is complaining, then you need to set the encoding to the correct type in the prolog. For example:
<?xml version="1.0" encoding="utf-16" ?>
For CSV files, you set the csvCharset attribute to whatever charset you want.
http://jameleon.sourceforge.net/syntax-reference.html#csv_tag
If you then want the HTML to be generated in the correct charset, set the genTestCaseDocsEncoding config variable in Environment.properties or in the testcase tag itself.
http://jameleon.sourceforge.net/testCaseTag.html