How to test web consistency when the URL does not change?

25 views
Skip to first unread message

Rekha Bhaskaran

unread,
May 26, 2014, 8:49:48 AM5/26/14
to web-consist...@googlegroups.com
Hi,
i'm new to web consistency testing and i would like to know how to test for consistency , when the URL remains same except the ajax calls changes the page every time.

Example: 
1. when the user logs in the URL  (say http://www.abcdef.com/login )
2. Next user tries to create a plan or group (http://www.abcdef.com/CreatePlan)
3. User adds items to the plan ,here the URL is the same except new objects and items are loaded based on the user's choice.

In such cases how do we handle the consistency testing?

Thanks,
R.


Kevin Menard

unread,
Jun 6, 2014, 2:47:09 PM6/6/14
to web-consist...@googlegroups.com
Hi Rekha,
 
My apologies for taking so long to get back to you. Your message got caught up in moderation and then I missed it afterwards.
 
Since Web Consistency Testing effectively works with a snapshot of the DOM, Ajax pages shouldn't present any real problem for the detection engine. Now, if you're using a third-party service or building your own tool, they'll have to account for that. Two solutions I've used in the past are:
 
1) Use hash fragments in your URLs to indicate the state you're testing (optionally having a test script key off the fragment in order to drive the page to that state).
 
2) Use a tool like Selenium to perform the actions you need in order to get the page in the appropriate state and then use your DOM capture tool.
 
Hopefully that answers your question. Web Consistency Testing was designed with rich applications in mind, so it should handle this okay.
 
--
Kevin
--
You received this message because you are subscribed to the Google Groups "Web Consistency Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web-consistency-t...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 
Reply all
Reply to author
Forward
0 new messages