Forum Discussion
AlexanderM
15 years agoStaff
Hi Steve,
Actually, that's sort of my point. ToUrl isn't valid in this context because the page is only partially downloaded when the login dialog appears so it would never work in this example.
You are right. The ToUrl method was not recorded as the page had not been loaded completely and you had not performed any actions on the page. We have decided to implement the method in such a way as this allows getting the correct and valid URL. This prevents errors related to entering incorrect URLs during recording. It seems your case is not an ordinary one. You need to add the ToUrl method to your recorded script manually or continue recording actions over the page in order TestComplete to record the method.
Related Content
- 11 years agojimsmith_1