Skip to main content
Version: 11.2

$.udb.benchmark.playback()

warning

This article is under construction.

$.udb.benchmark.playback()​

This function exposes the Web benchmark playback engine API.

The $.udb.benchmark.rec object exposes Web benchmark recording engine. Unlike $.udb.benchmark.rec , this object is of type function instead of an object type.

actions: {..}​

Description

All recordable actions in Web Benchmark are processed via this object during playback. The following actions are accessed as functions with the action being passed as parameter:

  • assert : *ƒ*
  • click : *ƒ*
  • comment : *ƒ*
  • delay :*ƒ*
  • gotoDataSet :*ƒ*
  • invoke :*ƒ*
  • message :*ƒ*
  • navigateMenu :*ƒ*
  • navigateToLookup :*ƒ*
  • script :*ƒ*
  • setValue :*ƒ*
  • test :*ƒ*
  • variable :*ƒ*
Example

 

clear: *ƒ ()*​

Description

Clears the profile actions, events and logs of the $.udb.benchmark.perf object.

execute: *ƒ (singleAction)*​

Description

Called as soon as the play event is triggered.

Option

singleAction: false : this option is true is the play step button is pressed instead of play.

finish: *ƒ (testId, skip)*​

Description

Called as soon as the last 

Example

 

getSelectorString: ƒ (rec)​

Description

 

Example

 

highlight: ƒ ($el)​

Description

 

Example

 

next: ƒ (singleAction)​

Description

 

Example

 

play: ƒ (singleAction)​

Description

 

Example

 

startTest: ƒ (singleAction)​

Description

 

Example

 

testWaitConditions: ƒ (rec, singleAction)

Description

 

Example

 

trimMessage: ƒ (msg)

Description

Utility function.

Example

 

waitForTest: ƒ (singleAction)​

Description

 

Example