omerj28
14 years agoOccasional Contributor
Repeating common operations on different pages of a web application
On each page of my web application, I have a set of buttons used for common functions like: Refresh, Email, Export, Print and Help etc.
How can i create a Script or Keyword test such that the same test can be run for each page in the application with little modification. Are there going to be any particular variables whose values can be dynamically changed to accommodate different pages within the application? Can it be done through inputting the the page name variables through a text file and then the test engine can perform the same set of operation once it has navigated to the appropriate page?
I mean to say, if the name of the page is changed in the ToURL statement (http://localhost:60673/UI/Pages/Page.aspx), then the test engine might proceed with the next steps once a certain page loads?
A quick reply will be highly appreciated.
regards
How can i create a Script or Keyword test such that the same test can be run for each page in the application with little modification. Are there going to be any particular variables whose values can be dynamically changed to accommodate different pages within the application? Can it be done through inputting the the page name variables through a text file and then the test engine can perform the same set of operation once it has navigated to the appropriate page?
I mean to say, if the name of the page is changed in the ToURL statement (http://localhost:60673/UI/Pages/Page.aspx), then the test engine might proceed with the next steps once a certain page loads?
A quick reply will be highly appreciated.
regards