Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with every page name changes
#7
Not Solved
My developers like to do this to me as well, so I stopped using title. I use the URL now and only the server/application part. I don't really care what the name of the page is or the full url since that changes so frequently.

ie. to test mysite.com/someapplication/page1.html ...I use

Code:
Browser("url:=.*someapplication.*").Page()

This way I can switch between my 3 environments (dev, staging, prod) which can all have different subdomain.domain issues and except anything in the page as well as many levels of folders/pages. Provided the URL contains the application/folder I am testing, then it proceeds.

Hope this helps.
Reply


Messages In This Thread
Issue with every page name changes - by Madhavi.s - 05-06-2010, 11:51 PM
RE: Issue with every page name changes - by jsknight1969 - 02-17-2011, 02:35 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)