Nayak_Ragh
4 years agoOccasional Contributor
Referencing a Unique ID from one test into another
I have a Keyword test in desktop application which generates an Order ID and I need to reference this Order ID in another test.
When I spy the result, this is what it looks like :
Aliases.Ax32.Sales_order_1_1000_Sales_order_SG1792246_Seneca_Corporation_.TaskPageLayout.PartHostSplitContainer.SplitterPanel.NativeWindowControl.NativeWindowWithEvents.SalesTable.AxTabCtrl.AxPaneWnd.AxPaneWnd.SG1792246_100025_Seneca_Corporation
and 'SG1792246' is the Order ID I need to reference in another test.
Please help resolve the issue. I tried 'Set Variable value' but unable to split just the Order ID.