Can't enter text to textfield with input type 'email' - selenium-ide

I can't seem to enter text into a email type text field. How to enter text to a text field with email type?
Here is the code snippets i got from the page:
<input type="email" name="email-123" ng-model="value123" ng-disabled="(v.disable === true)">
Here is what I have tried so far and it is not working,
type | xpath=/html/body/div[1]/portal/div/div/tenants/div/div/div[2‌​]/form/div[1]/div/di‌​v/md-content/fieldse‌​t[3]/div[1]/div/div/‌​md-input-container/i‌​nput[#name='email-12‌​3'] | "aaa#yopmail.com"

The first thing I'd do is try to simplify the xpath, you don't need to start from the very beginning of the page. If the element is unique,
//i‌​nput[#name='email-12‌​3']
will suffice. It may just be failing to resolve such a long xpath to find the element.

Related

Input text has password indication icon

In my form input I have a simple
input type="text" but the field is showing password icon why is this happening? input text field

Is there a text component that can sets the tags in the text?

I am looking for a component which of the typed text the user is looking for regex. If it finds the indicated text, the text will be tagged.
It is possible to configure input / text edytor components to work this way?
as a result, as I write the day of the week in the text, it will be marked as a tag. It looks like it can be a text field with the ability to set patterns so that tags are tagged.
For example in Jira application, when we enter a text and input component recognize that the text contains First and last name that highlights these words

from sql, php generating msWord need to show a carriage return?

My PHP generates a Word document, but it will not render carriage returns. My CKEditor translates a carriage return into either,
<br>, or <div>asdf</div>
When the Word document is created, it will display those HTML tags, so I strip them out. What replacement code, character, ascii, or tag can I use so that when the page is rendered, it shows the text like it did in the Editor?
Current example - if you have the text "Don't jump off the" [then hit Enter, so that the next word is below it]...
"cliff." Instead, currently, that gets saved into SQL as:
Don't jump off the <br>cliff.
Don't jump off the <div>cliff</div>.
...depending on which browser is used. In the msWord output, any tags left in the content [exceptions to strip_tags function] get displayed literally in msWord. Or, if I replace the tags with ASCII 
 it displays that literally, too. Not sure if this helps, but this is defined at the top of my php report_generator.php file:
require_once '/var/www/PhpWord/src/PhpWord/Autoloader.php';
\PhpOffice\PhpWord\Autoloader::register();
include "/var/www/ncpcphp/NCPC_PHP_Functions.php";
DEFINE("WRITEtoFDOCS", "NO");
DEFINE("FDOCSDIRECTORY", "Contract Attachments");
DEFINE("MIMETYPE","application/vnd.openxmlformats-officedocument.wordprocessingml.document" );
Help - what can I use to cause the output to show the carriage return?
Thank you, Cindy. Your answer is a piece of the solution. My CKEditor saves carriage returns as either
<br>, <br />, or <div></div>
depending on which browser is used Chrome[div] or Firefox[br] - that goes into my msSQL. Yet, if my editor has turned-on an "Enter filter" [keycode-13] in order to prevent someone from enter-editing a [[Placeholder]] (ckeditor read-onlyplugin) then saved editor text strips out the Enter. So, I did this: kept in the enter filter because it is necessary, then after the text carriage returns are saved as br's or div's, when I run my report generator, I replace
<br>, <br />, and <div></div>
with "\n" like you said. Then I explode the text variable like this:
$show_cad = explode("\n", $show_cad);
foreach($show_cad as $line) {
$section->addText(htmlspecialchars($line));
}
The code in the editor needed to filter out the Enters only when Enter is pressed in the [[Placeholder]] plug in is more complex, and I got largely from CKEditor themselves. They request that I do not post their full solutions, but if you like I could show you pieces of it. Basically, I had to register the Placeholder widget. Then when Enter is pressed, it checks if the context is with Placeholder. If so, filter the Enter [then it disappears from the saved editor text], but if Enter is pressed elsewhere, it gets saved and used properly.
Thank you for your help!

New line in plain text anchor tag

I see various posts that a new line in plain text mails are added by using \r\n in double quotes, and all examples related to is using it programmatically.
I am looking for a way to do the following from text saved in a text column in a database field as shown below (simplified).
<a href="mailto:me#my.com?subject=Wrapped Up&body=
Enter our competition below.
Name:
Surname:
Email:
Good luck!">
Click here to enter our competition!
</a>
The goal is to have the white space preserved in the plain text mails. I tried \r\n, \n, \r, and Outlook ignores me.
Any idea what else I can add?
Once you know how to search what you are looking for, the answer is possibly out there. This solved my problem:
mailto link multiple body lines

SSRS Report parameters - Textarea instead of Textbox

Does anyone know if its possible to create a parameter in SSRS that will display a Textarea instead of a Texbox and let the user type in a few paragraphs of text, including carriage returns?
I've a requirement to create a report that will end up as data with a cover letter. A section of the cover letter needs to have a block of text, which the user can specify when setting the parameters.
I can create a 'text' parameter which displays a Textbox, but that does not accept carriage returns. I have tried to copy and paste text from Word, but then it only takes the first line of text.
Has anyone got any suggestions? So far I've not managed to find any solutions online.
Thanks in advanced.
Sorry problem solved,
I changed the text parameter so that it could accept multiple values. Then on the textbox that displayed the text on the letter I changed the expression to read:
=Join(Parameters!FreeText.Value, vbcrlf)
Sorted.