Sorry for asking a simple question..
I have written a code to copy the data from Excel and now the same info when i am trying to copy into Word document its throughing error.
The simple coding i have done is,
[+] window DialogBox Word
[ ] tag "Document2 - Microsoft Word"
[+] CustomWin MsoDockTop
[-] multitag "[MsoCommandBarDock]MsoDockTop"
[ ] "$0"
[-] CustomWin MenuBar
[-] multitag "[MsoCommandBar]Menu Bar"
[ ] "$0"
[+] window DialogBox Edit
[ ] tag "Edit"
[ ] parent Word
[+] testcase Test1 () appstate none
[ ] Word.SetActive ()
[ ] Word.MsoDockTop.MenuBar.Click (1, 69, 14)
[ ] Edit.SetActive ()
[ ] Edit.Click (1, 47, 111)
The Error thrown is,
[ ] *** Error: Window '[DialogBox]Document2 - Microsoft Word' was not found
[ ] Occurred in SetActive
[ ] Called from Test1 at t1.t(103)
Please help me, even though this seems to be simple.
Your tag is for a second instance of MS Word been open and not one. This could be the issue...
window DialogBox Word
[ ] tag "*- Microsoft Word"
Quis Custodiet ipsos custodes