I am trying to click file and Save as to save a file, Bot is failing at save as click element Because after clicking file the drop down is also closing

i am trying to click file and Save as to save a file, Bot is failing at save as click element Because after clicking file the drop down is also closing , so save as is not visable, how to handle this scenario.

studio version : 23.0
note pad version:11.2302.26

Hi @MitheshBolla ,

Have you tried passing the shortcut hotkeys for save as in the window instead of clicking?

This might help

Regards,

1 Like

@MitheshBolla

Use the recorder and record the steps a then find the selector after saving it or use delay f2 to click on the dropdown and wait

Else if the difficult is with not having it visible then manually whatever you do to make it visible we can tey the same steps

Cheers

The issue is not at save as…

Issue is while clicking file .the drop down is opened and closed immmidetly …so save as is not visible

for clicking on file , which hot key i need to use?

@MitheshBolla , are you clicking file and followed by save as?

Regards,

Yes i am clicking file ,
then next save as .

But here after clicking file , dropdown is coming and closing before it clicks saveas

@MitheshBolla , you can directly pass ctrl+shift+s into the note pad like shown in the snap below:

It will open the save as window

image

If you need the classic way of clicking save as then you can refer the below workflow:
ClickSaveAs.xaml (15.0 KB)

Regards,

1 Like

Have you tried to use the select activity and change in the uiexplorer to apear the dropdown list then you have to indicate as the name in the drop down “Save as”?

1 Like

If the above steps still do not work, you can try using the “Click OCR Text” activity instead of the “Click” activity to click on the “Save As” option. OCR Text is a reliable way to identify elements even if they are not visible on the screen.

1 Like