Forum Discussion
AlexKaras
11 years agoChampion Level 3
Hi Don,
First of all, without knowing what code line causes an error in your code we may only guess.
Secondly:
> The article mentioned does not have any reference to using the Browser Back button or Page.GoBack.
Suggested approach does not require this. What your code basically does? It navigates to the link and, after the page is loaded (note - just loaded from the server, but not processed by the browser, while this processing might cause additional requests), it navigates back to the original page (hopefully, as the link click might cause one or more redirections). So, it looks like that your code just validates that the links on the initial page are valid. This is what the suggested code does. Its advantage is that it does not require UI (and even browser) to be executed and thus is more fast and reliable.
First of all, without knowing what code line causes an error in your code we may only guess.
Secondly:
> The article mentioned does not have any reference to using the Browser Back button or Page.GoBack.
Suggested approach does not require this. What your code basically does? It navigates to the link and, after the page is loaded (note - just loaded from the server, but not processed by the browser, while this processing might cause additional requests), it navigates back to the original page (hopefully, as the link click might cause one or more redirections). So, it looks like that your code just validates that the links on the initial page are valid. This is what the suggested code does. Its advantage is that it does not require UI (and even browser) to be executed and thus is more fast and reliable.
Related Content
Recent Discussions
- 4 minutes agodhundley