saritha
(saritha)
September 13, 2025, 1:39pm
1
Hi all,
Desktop Application Process is running well in VM Attended Mode
But while running same process in UnAttended Mode its Not working
Error Pop up : System.invalidOperationException
MAIN IDEA : Process Desktop Application PopUp Appearing when clicking the button in Attended Mode
But the same Process Desktop Application PopUp Not Appearing when clicking the button in UnAttended Mode instead some other Error pop Appearing ( Invalid operation exception),
Can anyone guide me please
Thanks in Advacne
ashokkarale
(Ashok Karale)
September 13, 2025, 5:46pm
2
@saritha ,
What is the error message you are getting?
This is exception type.
saritha
(saritha)
September 13, 2025, 6:45pm
3
Thanks Ashok for looking into this,
Not getting any Bot Error, but getting Error pop up
Some other Error pop is coming containing system . Invalid operation exception message is there with some Xaml error info in that pop up
But when I ran same queue item it is exactly getting Expected pop up.
Not sure what’s going on
May I know what does system. Invalid Exception mean ?
ashokkarale
(Ashok Karale)
September 14, 2025, 5:15am
4
@saritha ,
There could be many reasons. Can you try possibility of each from the below?
Calling a method on an object that is not properly initialized or is disposed.
Attempting to iterate a collection while it’s being modified.
Accessing the value of a nullable type when it is actually null.
Manipulating the UI from a non-UI thread
saritha
(saritha)
September 14, 2025, 9:54am
5
Thank you
But, I’m just trying to click an UI Element
Tried replacing Click activity with Hot keys too
Still same Error pop up
saritha
(saritha)
September 15, 2025, 12:20pm
7
Thank you,
Tried different Input Methods and Delays also but nothing worked out y with different ui frameworks
Will try different ui