This topic is locked

Making a specific step active in the new Step Nav in PHPRunner 8.1

1/11/2016 2:52:02 PM
PHPRunner General questions
J
jayzco author

I am trying to figure out how to make a specific step "active" in the new Step Nav in PHPRunner. How would you go about doing that? With tabs, there's a Javascript API (see https://xlinesoft.com/phprunner/docs/how_to_work_with_tab.htm) Is there something similar for the StepNav?

Sergey Kornilov admin 1/11/2016

In event like Javascript OnLoad of Add or Edit pages you can use the following:

// 0 - first tab, 1 - second tab etc

pageObj.setCurrentStep(1);