Type into with Simulate doesn't work

Hello, (@rkelchuri, @Ninett_Panfir, @Rammohan91, @balupad14, @loginerror )

I have to insert the name of an Excel file inside a ComboBox, and the save the file.


I have checked the property “SimulateType” fpr the Type Into in order to make it work even in background.
With this property is activated, the Bot doesn’t insert the name correctly.
How can I do? Is there a method that I can use intead of the Type into or another activity?

Thank you so much,
CAmilla :slight_smile:

I don’t think the Simulate or SendWindowsMessage are supported in the Import to file dialogue.
They work in the SaveAs dialogue though.

I wonder if this is something that could be fixed in a future release or maybe it already has in 18.3 or 4
:man_shrugging:

1 Like

Thank you so much @ClaytonM.
In the meanwhile no solutions are possible?
:fearful:
Thank you so much,
Camilla :slight_smile:

I tried different things like Set Text, Set Web Attribute, Type Into on the entire dialogue window.
However, one thing worked… if you use no selector so it Type’s into the entire screen, then they work. But, this is not ideal since the window and the File name field would need to be active.

1 Like

I’ll try these options and let you know.
Thank you so much,
Camilla :slight_smile:

If you have any other ideas please let me know :slight_smile:
Camilla

Hi @CamiCat,

Try the below one.

  • Use Set to clipboard with filename.
  • Send Hotkeys Ctrl+v to paste the filename.
1 Like

Hello @Vivek_Arunagiri.
I tried with your suggestiond but it doesn’t work.
It seems thata Set to Clipboard doesn’t work in background.
I attach my workfolw.
Can you please help me to fins a solution that works in background?
Main.xaml (14.9 KB)

Thank you so much,
camilla :slight_smile:

I noticed that the Send Hotkey activity creates a problem of interaction with my keyboard.
If I use this activity the keyboard stops working.
Do you know if there is any settings I should impose?
Thank you,
CAmilla :smile:

Hi @CamiCat,

Already you have the same situation which is blow. And you got the solution also.

Regards
Balamurugan.S

1 Like

Thank you so much @balupad14.
The problem is to make the Type Into work even in background.
Do you know another possibility that works in background?
Thank you,
Camilla :slight_smile:

HI @CamiCat,

as you know very well to work background that to use

image

Regards
Balamurugan.S

Hi @CamiCat,

Can you tell me the purpose to insert the name in the combo box ?

Regards
Balamurugan.S

1 Like

Hi @balupad14
this is to import the correct file.


Can you please help me?
I have to import a csv file and save it as an excel file.
The problem is to insert the name of the file in background.
Thank you,
Camilla :slight_smile:

Hi @CamiCat,

if you don’t mind, can you attach the file to test at my side.

Regards
Balamurugan.S

1 Like

SOrry @balupad.
I cannot attach a csv file to the topic :frowning:
Simply you can generate one csv file, click on Data, Import from csv file and type the name of the file in the combobox.
It should work in background :=)

Hi @CamiCat,

I found the solution to fix it by Custom activity . I need to test it. If possible can you send sample sample file(Not Real one).

Regards
Balamurugan.S

1 Like

Thank you @balupad14.
Can you generate the csv file from this Excel file?
Arricchimento_2018_07_06_101551.xlsx (27.9 KB)

The file is the csv with the content of the Excel file.
Thank you.
Camilla :slight_smile:

HI @CamiCat,

it is not suggestion. Have you tried to read the excel file into a Datatable . And save it as csv by using of Write CSV activity.

Regards
Balamurugan.S

Yes @balupad14.
The problem here is that I have to import data from csv file and save it, after manipulating the Column Data typa, to an Excel file.
I need necessarely to insert the name of the file I want tomimport :slight_smile: