Current time: 10-21-2019, 08:31 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Few Quires on WPT scripting
11-04-2014, 05:40 PM
Post: #1
Few Quires on WPT scripting
1. What is the browser compatibility of WPT scripting. I noticed on few browsers the script was not working
2. Click Vs ClickAndWait which one to use to ensure right measurement (is wait time excludes in the performance measurement results)
3. How can we measure the response time for each of the navigates in multipage execution flow instead of whole script?
4. How does the session management between pages work if in case the user is logged in from beginning?
6. How to implement the "Activity Based Measurement" in the script and impact of the results due to various options
7. How the scripting approach will be for Lazy loading technique.
Find all posts by this user
Quote this message in a reply
11-05-2014, 03:56 AM
Post: #2
RE: Few Quires on WPT scripting
(11-04-2014 05:40 PM)syed.zulfikhar Wrote:  1. What is the browser compatibility of WPT scripting. I noticed on few browsers the script was not working

It depends. Desktop, all browsers support some level of scripting and mobile doesn't (well, mobile supports completely different webdriver scripting). How each browser actually works with the scripts can be different though and usually the easiest way to get something reliable is to use the exec/execAndWait commands and just use raw javascript.

Quote:2. Click Vs ClickAndWait which one to use to ensure right measurement (is wait time excludes in the performance measurement results)

Click does the action and moves on to the next script command without waiting for anything to happen. ClickAndWait waits for a page navigation (or network activity at least) before going on to the next command.

Quote:3. How can we measure the response time for each of the navigates in multipage execution flow instead of whole script?

You can only measure one step at a time and you select the parts to ignore by putting them in a logData 0/1 block.

Quote:4. How does the session management between pages work if in case the user is logged in from beginning?

Not sure what you're asking. "The beginning" is a completely clean browser instance and cache. The entire profile is cleared between runs so nothing persists.

Quote:6. How to implement the "Activity Based Measurement" in the script and impact of the results due to various options

Sorry, don't know what you're asking.

Quote:7. How the scripting approach will be for Lazy loading technique.

Depends on what you are trying to measure.

- Are you trying to scroll a page and measure the visual experience of the lazy-loaded elements?
- Are you trying to measure the above-the-fold content and also understand the impact of below-the-fold content that is deferred but still loaded?
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)