Thursday, August 25, 2011
Advanced Structural Testing Webinar Movie Available
Wednesday, August 24, 2011
Selected User Forum Posts
Here is an additional selection of some of the posts that we think would be of general interest.
- The most-common bottlenecks -- Where best to look for problems?
- The nice banding of times in your demo scripts -- How to set up intra-script measurement timings.
- Regular expression matching -- Relative advantage of regular expression (XPath) matching.
- Does eValid have a script debugger? -- Available support for script checkout and problem resolution.
- How do you test an auto-complete function? -- Methods for testing a common AJAX supported feature.
- The right contents of a property -- Digging deep into the DOM for the right answer.
- How do I keep certain pages from NOT being scanned? -- The role of the Exclude URLs file in site analysis.
- Is eValid a plugin for IE? Or what? -- Resolving issues about eValid's architecture.
- Why is AJAX test synchronization so important? -- Helping keep browser state to insure test realism.
- Can eValid test a mobile device? -- Tricks for testing mobile device application responses.
Wednesday, August 17, 2011
How long do you think it will take me to learn to do a very complex AJAX application, starting from scratch with eValid?
How long do you think it will take me to learn to do a very complex AJAX application, starting from scratch with eValid?
The answer depends on what kind of web application you are testing.
(1) If you are driving a "conventional" (non-AJAX, see below) website, then eValid orginarily has sufficient internal automatic playback synchronizations built in so that you don't need any extra steps. Just type and click and eValid will record what you've done and will play it back, no problem.
Standard advisory note: If you record logging in to an application and then play back that script withOUT having logged out, then it's likely the playback will fail. You're still logged in! Of course it will fail. Good practice says, either record after having logged in and don't log out, or record the login and make sure you end with a logout.
(2) For AJAX applications the situation is more difficult. Because of AJAX activity in the browser, you may not get an accurate playback because the time that AJAX takes varies with web load and other factors. The "out of the box" recording with no special steps may or may not fully synchronize at playback time.
However, there is a very simple recording protocol that we recommend to use when you are dealing with an AJAX application. The basic idea is to use the eValid: Record > Validate > & Synchronize > Text String sequence from the eValid GUI to create synchronization logic as you make the recording. The sequence is simple: Act, Wait, Sync, [Act, Wait, Sync]...
The steps are simple enough: (a) navigate to the next page in the test plan, (b) wait until it is fully loaded, (c) highlight a piece of text on the page, then (d) execute the above command sequence (or use the Ctrl-Y shortcut). The resulting script then has a synchronization step that has to be satisfied before every action -- and this will assure fully synchronized playback.
Additional Note: In certain rare cases for AJAX applications you may need to resort to other, more powerful, DOM-based synchronizations if the recording protocol described above doesn't work. Just look up "Synchronization" in the eValid User Manual for complete details on this.
Wednesday, August 10, 2011
Selected User Forum Posts
Here is an additional selection of some of the posts that we think would be of general interest.
- How close is eValid to being identical to IE? -- eValid underlying technology explained. [01Apr11]
- What makes eValid a "test enabled web browser" anyway? -- Some details on eValid's architecture.
- Can you run eValid in monitoring mode from cloud resources? -- Guidlines for cloud-based monitoring.
- Absolute Modes with MS-Notepad -- Creating scripts with eValid driving Notepad.
- Can eValid handle changes in frame names? -- How to handle dynamc frame names.
- Can you set up site analysis in a monitoring mode? -- How ro provision nightly site analysis runs.
- eValid's capability to analyze DOM changes -- Input/output commands for DOM property values.
- How does eValid support "CI"? -- Jumping into the Continuous Integration controversy.
- About setUser agent command in Evalid -- Details on how to spoof non-IE browsers.
- Why can't your desktop synchroninzation be used for AJAX? -- Pros and cons of alternative synchronization methods.
Monday, August 8, 2011
What is the best way to record a test that you know will run when you play it back?
What is the best way to record a test that you know will run when you play it back?
The answer depends on what kind of web application you are testing.
(1) If you are driving a "conventional" (non-AJAX, see below) website, then eValid orginarily has sufficient internal automatic playback synchronizations built in so that you don't need any extra steps. Just type and click and eValid will record what you've done and will play it back, no problem.
Standard advisory note: If you record logging in to an application and then play back that script withOUT having logged out, then it's likely the playback will fail. You're still logged in! Of course it will fail. Good practice says, either record after having logged in and don't log out, or record the login and make sure you end with a logout.
(2) For AJAX applications the situation is more difficult. Because of AJAX activity in the browser, you may not get an accurate playback because the time that AJAX takes varies with web load and other factors. The "out of the box" recording with no special steps may or may not fully synchronize at playback time.
However, there is a very simple recording protocol that we recommend to use when you are dealing with an AJAX application. The basic idea is to use the eValid: Record > Validate > & Synchronize > Text String sequence from the eValid GUI to create synchronization logic as you make the recording. The sequence is simple: Act, Wait, Sync, [Act, Wait, Sync]...
The steps are simple enough: (a) navigate to the next page in the test plan, (b) wait until it is fully loaded, (c) highlight a piece of text on the page, then (d) execute the above command sequence (or use the Ctrl-Y shortcut). The resulting script then has a synchronization step that has to be satisfied before every action -- and this will assure fully synchronized playback.
Additional Note: In certain rare cases for AJAX applications you may need to resort to other, more powerful, DOM-based synchronizations if the recording protocol described above doesn't work. Just look up "Synchronization" in the eValid User Manual for complete details on this.
Wednesday, August 3, 2011
Webinar: Advanced Structural Testing for Mobile/AJAX/Web 2.0
Webinar Outline |
|
You are cordially invited to attend this free Webinar. REGISTER NOW! |
Tuesday, August 2, 2011
Page Performance Optimization Methods
There has been a great deal of interest in the web community recently about how to speed up web page delivery. At least some of this discussion is prompted by the increasing sizes of web pages, particularly for AJAX and Web 2.0 applications. For example, a few years ago a 100 KByte page would be considered "large," but now we see some pages that download 1 MByte, and these are considered "normal". Some website, e.g. the CNN site, regularly download 1.5-2.5 MBytes -- and that's not counting videos. In earlier times web page component counts could be in the low tens, now the component counts are 100+. On a recent day, CNN's page had 113 individual URLs involved. To improve average download performance you have to buy your customers more bandwidth (this could be expensive!), or you need to figure out how to reduce the size of your pages (tedious, but very effective). But to fix something you have to understand it, and that's where a couple of eValid tricks come into play. Page Metrics Popup
PageSpeed Process
Bottom Line: eValid gives you all the details on what's what about your page. It's up to you to fix the problems eValid analytics reveals. That's a lot easier to do if you know what's wrong. |