While recording, I used Firefox browser. The recorded steps included uploading a file. My application uses AjaxFileUpload control for file upload.
In the test step, I click on 'Select file', a dialog box appears, I select the required files, press 'open' and then press upload.
While executing, the dialog box doesn't appear even though the test step 'click select file' passes. The test execution hangs at Handle 'FileUpload' dialog step.
I have attached the log and a screenshot of the application.
This is my application Url - https://ctoweb.ovcr.uic.edu
I went through solutions for similar issues discussed in the forum but they don't seem to work.
5 Answers, 1 is accepted
You are experiencing this behavior due to application specific problem.
The input element is floated to the left when highlighted and since Test Studio clicks in the center of the element by default the click is performed on the wrong place. If you enable the annotations while executing you will see the behavior. For more clarity I've added a screenshot.
In order to overcome this behavior you will have to click on specific point using a blind click as shown in this short video (no audio).
Regards,
Ivaylo
Telerik
Hello Ivaylo,
Thank you so much for the inputs. Using blind click and setting the proper offset coordinates I was able to handle file upload.
I am trying this for all my applications and in case if any issues crop up, I will consult you.
Thanks again! I highly appreciate it.
I am glad I was able to help.
I am closing this case as resolved now.
Regards,
Ivaylo
Telerik
Hi Telerik,
I use Telerik to implement a project "webtest" to test some steps.
the website is http://tokiwi.com/. I am stuck at the point "handle Upload dialog". even though I followed the similar situation and its solution in this post, it could not make it through. When I click on the button "Profile Picture", a new popup is displayed with
first, then I can click on the profile picture to be able to choose a new photo. At this point, a file up dialog appears....
I also attached pictures as steps and log file so that you can understand my situation better.
can you please tell me how to solve this problem to get successful webtest?
I tried to apply the solution you offered above but there is no pointer or highlight to the specific point so that I can relocate it to the Save button as a chosen specific point.
I hope to get some support from you soon.
Thanks
Regards
What version of Test Studio do use?
Could you please also send me the test project so I can reproduce the issue and give you a solution? This will be fastest and easiest way to resolve this.
Thank you!
Regards,
Boyan Boev
Telerik by Progress