I have an excel file where i am doing some manipulation. I am selecting a range and typing Alt+h+o+e to open the Format Cell window. Then doing attach window and then clicking the Font tab. I am using Simulate Click while clicking. The excel files are not visible while working. I have unchecked the Visible property in Excel Application Scope.
So now the click on the Font tab in the window is throwing error “Selector Not Found”. But its highlighting properly when i am checking the selector. Can anyone tell me what could be the reason ?
@kkpatel The Background Automation doesn’t work in your case, Since you have unchecked the Visibility. For a Selector to Work it Shoud Find the UiElement needed, But Since the Application is Closed, No Excel Window is Available, Hence the Automation fails.
Well in that case any ui automation like web page login process and any operation in the website won’t work in the background. So it can never be an unattended robot.
@kkpatel For the Web page Login Process, The web page will be open but It need not be in the foreground. Using Send Windows Messages the Background Login process can be done.
@kkpatel It doesn’t happen because the Excel Window is not being opened , Also You can try using the Start Process Activity , Providing the Path of Excel Application exe File. Then pass your Excel File path as argument.
Then you might be able to perform the operations in the Background.