08-02-2010, 03:53 PM
Hi Sekhar,
Try this,
Now getSelTab will have the name of the Tab i.e. currently selected
Actually I tried this with Windows application and it worked. Hope it works with your application too.
Try this,
Code:
SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").Select "Summary"
getSelTab = SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").GetROProperty("selection")
Now getSelTab will have the name of the Tab i.e. currently selected
Actually I tried this with Windows application and it worked. Hope it works with your application too.