Current time: 11-29-2020, 09:21 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Test Data missing error -public wpt instance for scripted tests
07-07-2018, 08:45 AM
Post: #2
RE: Test Data missing error -public wpt instance for scripted tests
If you are running using the Node API, you have to create the script as an object, something like
[
{command1: 'value1'},
{command2: 123},
{command3: ['value1', 'value2', ... , 'valueN']},
...
'commandN'}
]

then create pass that string into `WebPageTest.scriptToString(script);` and then pass it to the `runTest` method.
This question actually does not belong to this forum. Should be opened in the node api repo.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Test Data missing error -public wpt instance for scripted tests - abhagupta - 07-07-2018 08:45 AM

Forum Jump:


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