What is the different between Type into and SetText


#1

Hello may I know what the different between Type into and setText? when is the best to use either one feature.


#2

Typeinto will simulate same keystrokes how we type to enter data. where as Set Text will set the given value in the text box in one attempt. end results both will work similar way … to enter text values in an editable fields.


#3

‘Type Info’ and ‘Set Text’ both will set the given value to the field. However, in case the field is not visible in the UI(you may need to scroll down to see the field), ‘Type Into’ will not work. In that case, its better to use Set Text.


#4

Type Into will work as human is entering. even you can try while toggling caps-lock button of your keyboard while using type Into you will come to know exact difference


#5

thanks for your information. that will help me to get understand the different


#6

Hello, @rkelchuri, do you think the Set Text and Type Into with Simulate Click has no difference?
I notice sometimes in some websites Type Into doesn’t work (with or without Simulate Click or Windows Message) but Set Text works, and vice versa. Just can’t pinpoint why.


#7

@qateam please help @whyyouandi


#8

Hi @rkelchuri,

Type Into is normally typing from keyboard like that.refer this link for more clarity


Set Text is like Pasting the content. refer this link for more clarity

Regards,
Arivu


#9

Hello @arivu96, thank you for your response.
I can see the difference between Set Text and Type Into (with no extra option included).

However, it confused me how the Set Text and Type Into WITH Simulate Click differs?
Both of them type the text at once, and can run in background. And enables no special keys.
Looks like both of them are completely the same?