Micro Focus QTP (UFT) Forums
Setting values in Tabstrip - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Setting values in Tabstrip (/Thread-Setting-values-in-Tabstrip--7161)



Setting values in Tabstrip - TonyBarker - 01-25-2013

I am trying to set a Tab value within a Tabstrip to automatically select this tab, eg the tab is say 'Financial', I have tried to use the SetToProperty command to set in the Tabstrip SelectedItem value as follows :-
Code:
VbWindow("MainFrame").VbWindow("ClaimDetails").ActiveX("TabStrip"). SettOProperty "SelectedItem","Financial"

and then tried to select thus :-

Code:
VbWindow("MainFrame").VbWindow("ClaimDetails").ActiveX("TabStrip").Click ("selectedItem")
but this results in error, can anyone help ?Big Grin