Telerik Test Studio - input text disappear immediately - selenium-webdriver

In my test studio automation test case for a web page, I have a test step which is simply input some text into a text box. The problem is the text disappear right after inputting.
Same situation would occur when I use Selenium Webdriver in C#.
Have you ever met this before? Please give me some help.

In selenium use IJavaScriptExecutor class to set Text box value .If it doesn't work try clicking an element out of the text box after entering text box value.

In Test Studio try focusing on the text box element (you can do that by clicking on the element) and use the following code for typing the text:
Manager.Desktop.KeyBoard.TypeText("your text here", 50);

Related

Elementary Q: In Ride interface, in text edit tab, the search text field doesn't work. Is it the same for you?

I hope that someone responds to very elementary questions as well as the difficut ones. It's more than oe months that i use Ride for RobotFramework and i could never use the Search button on Text editor tab of Ride.
i write a word (not keyword) and i click the search button ( not Apply Changes button) and nothing happens. is it normal?
Thanks for any insight
The Search Button expects to have the text box on its left filled with the words to search.
You can also select the text and press Ctrl-G that will fill the text box an start the search (from the top of the file). Shift-Ctrl-G does the same but backwards.
This is a very rudimentary search function, but allows to find and replace if you have previously put content in memory (Ctrl-C), you can Search and then Ctrl-V.

Nvda - how to read title h2 above interaction element

I have a popup modal and I use nvda but it starts read from the interaction element and doesnt read the title, and I want it to start from the title that above also. Btw I don't have x button.
How can I solve it? Is it setting?
Check out the dialog design pattern and the associated example. The example sounds like exactly what you want. There's a title on the dialog and it's announced but the focus moves to the first input field.
You didn't post any code so perhaps you're missing the aria-labelledby on your dialog that should point to the dialog heading.

Make a textbox's text not editable but viewable in runtime

I want to make my textbox display the text "Username" or "Password" but when the user starts typing it in it starts editing that text. I want that text to then disappear.
the image of what Im trying to make
Are you using Visual Basic or C# for this? Regardless, Visual Studio should have a "PlaceholderText" option under the "Properties" menu on the right-hand side when you click on your text box.

How can I select a sentence from a text with protractor?

I have to text a rich text editor using protractor. I want to select a sentence from the text and then click on the bold button to make this sentence bold.
I have tried some tests to select all the text, but it is not working. I am using a MAC computer.
browser.actions().keyDown(protractor.Key.COMMAND).sendKeys('a').perform();
How can I achieved it?
Thanks in advance.
I think protractor-hotkeys package can help here. Let me know if you need some sample of it.

Finding empty label in Windows form

I am new to Windows Form application and trying to build a small application.
I had dragged and dropped a label on the main form.
Then I deleted its text property to empty string basically hiding the label.
Now I would like to move this label to some other location on the form but unable to do so because I cannot find it.
I checked the designer file and its there.
But I cannot find it in the form so that I can grab it and move to a different location.
Please help.
Thanks
Use Document Outline. Look at the following images.
That happens to me several times, and a few weeks ago I found a way to get the empty label like this:
On the tab "Properties" just click on the arrow to show all controls and click on the label you want, this will automatically select the label on your form..

Resources