Hello everyone,
I have created a bot to do mathematical operation, will open a notepad and calculator, add two numbers (say n1, n2) and save result in notepad, switches back to calculator will add two numbers (say n3, n4), switch back to notepad to copy first sum.
When execute the bot it has completed steps till addition of n3 and n4 and while switching back to notepad, bot was failed with element not found error though notepad application was opened.
Could any one please guide me on how to resolve this issue. Thanks in advance.
Discussion posts and replies are publicly visible
HI Sravanth,
I understand that you are trying to fine Notepad window by its Title "Untitled - Notepad". But when you add any text to it. The title will change to "*Untitled - Notepad" (with a asterisk prefix). So the search criteria for the window will not match and thus the bot is not able to attach to the notepad window.
please try using dynamic title for search window title.
Hi Raghu,
Tried as per your suggestion, it did worked. thank you