SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jan 2002
    Location
    Hyderabad, Andhra Pradesh, India
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to compare two screens of web application?

    I am testing one web application and as part of GUI testing i need to check all links are working properly. So if i record a page once, when i am checking a link how can i make sure that i am getting this page properly. in short i recorded say page 1, when i am checking a link i got page x. How to chekc (in simple way) such that page 1 = page x.

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to compare two screens of web application?

    Typically I look for something unique on that page, and verify that it exists. It would be nice to just say bFound = Page1.Exists(5) or something like that, but in our situation, many of the windows/pages are recognized as being a page that they are not. So, I will look for an HtmlHeading or particular field that I know is on no other page. If that Heading or field exists, then I know I am on the correct page, do a Browser.Back.Click() and check the next link in my list.

    Is this what you are asking?

    Here's a snippet of code that does this...
    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:35 PM.

Copyright BetaSoft Inc.