Forum Discussion

david_bird's avatar
david_bird
Occasional Contributor
12 years ago

Button click will take me to Page B or Page C

I'm trying to create a script in which a button click on a web page will take me to one of two other web pages. Which web page the button click takes me to depends on an algorithm I have no knowledge ...
  • AlexKaras's avatar
    12 years ago
    Hi David,


     



    And what is the actual problem?



    If the problem is how to determine what page is shown after the Submit button is clicked, then how do you determining what page is shown after the button is clicked? Do you distinguish them by caption or some element shown? Why not to apply the same approach in the test code?