hi
2) If you try to record the treeview in web application QTP will record the nodes you have selected as -
e.g ApptixDemoASP >> Customer >> user
Browser( AdminCentre ).Page( AdminCentre ).Frame( frmTreeView ).WebElement( ApptixDemoASP ).FireEvent onmouseover
Browser( AdminCentre ).Page( AdminCentre ).Frame( frmTreeView ).WebElement( ApptixDemoASP ).Click
Browser( AdminCentre ).Page( AdminCentre ).Frame( frmTreeView ).WebElement( Customer ).FireEvent onmouseover
Browser( AdminCentre ).Page( AdminCentre ).Frame( frmTreeView ).WebElement( Customer ).Click
Browser( AdminCentre ).Page( AdminCentre ).Frame( frmTreeView ).WebElement( User ).Click
For this you need to cusomize web event recording configuration as set mouse over event on and HTML tag event >> treeview as enabled.
Same way enable the HTML tag event >>Tabstrip and start recording will work and you will have auto generated script for tabs.