Bot unable to run in unattended mode to enter the dropdown field for M1 , M2..below screen

Hi all
@Yoichi
@Kalyani.Raval
@Nidhi_Chaturvedi
@Divyashreem
@Anil_G
@RAKESH_KUMAR_BEHERA
@mukeshkala
@Palaniyappan
@Gokul001
@Lalasa_Mulakaluri
@ushu
@supermanPunch

I trying to enter the data into the MicroMd application to enter the Proc ,POS, M1,M2,M3,M4,DateFrom,DateTo,Unit,Diag. this window application doesn’t have the separate elements and its selected as whole part so i used Hot keys (tab or Enter) to navigate the next fields. its working fine in attendedmode and not enter into the M1,M2,M3,M4 in un attendedmode. can anyone please suggest me how to automate unattended mode?


@divya.17290

As you are using send hotkeys make sure to give enough delays

also as you can get whole window…it would be good if you can perform get text and see if the required text is added or not

also did you try with active accessibility mode as well in ui explorer?

cheers

I have given timeout 10000ms and i tried uiexplorer in uiautomation framework, please see the below selector.

@divya.17290

Can you please try active accessibility as well…it might help in identifying individual elements

Also sometimes elements are not shown …but if you check visual tree in ui explorer you would see the elements by expanding…try checking there as ewll

cheers

I tried with AA framework but its selecting whole window

@divya.17290

Did you try exploring the visual tree from left top in the ui explorer

and you make sure each keystroke is send try using a delay or delay before and delay after options

cheers

i tried with AA, i can select proc and POS but i couldn’t select M1,M2.
M1 m2 is the main issue for running in unattendedmode. Regarding the M1 and M2 its hiding and has the dropdown field . i couldn’t click this field or select the item.
Only typeinto activity working in attedndedmode.

@divya.17290

Type into should be working in unattended as well…

just make sure activate is unchecked in type into and selector would be whole window

also use some delay between keys and before and after as well

Yes i added time delay for delay b/w keys, after and before but no use its not entering in unattended mode.

If you have logged into the server using RDP and the robot account, you must make sure you SIGN OUT - don’t just close the RDP window. To fix it, log into the server with RDP using the robot account then click Start and Sign Out. Now try running your automation.

@divya.17290

so is the bot failing or it is moving without any issues but required data is not passed?

is the correct window active?

did you try running from assistant

cheers

its not failing just move to next element without enter the data.

yes i tried with running from UiPath assistant, works fine but only i the rdp open.

@divya.17290

  1. Is the robot installed in service mode?
  2. try with login to console options turned off on the robot settings in orchestrator
  3. Are you using hardware events? for input mode?

cheers

No its installed as usermode.
Regarding the input mode, i used “Window message”.

@divya.17290

Unattended robot should be on service mode and not user mode please change accordingly

cheers

Actually we already running other projects with usermode in unattended. no issues with that. we used same MicroMd application part done with different scenarios. in our current project i m stuck with this part.

i have given typeinto activity(Modern)without any selector only use application browser activity only hold the window selectors. is that a problem?

@divya.17290

To be precise even that is wrong…you have been lucky they worked

and what are the properties of your type into activity?

is the activate unchecked?
Is click before none?
Is Empty field none?

cheers

Activate - Unchecked
Click before typing - None
Empty Filed - None