i have a link that when we click will produce a windows form that prompt us to download.Is there a way using watin for us to attach to this form and click the button?Can someone please direct me to the correct way?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What do you mean by saying, that clicking a linkd produces a windows form? Isn’t it just a separate IE window, probably created by js
window.open? If so, then you need to create separate WatiNIEinstance by attaching to that window. For example, if you want to control internet explorer window with title “My popup”, you can do it that way:You can find IE windows using constraints created using:
Find.ByUrl,Find.ByUri,Find.By("hwnd", windowHandle)and mentionedFind.ByTitle.