10-27-2010, 08:13 AM
(This post was last modified: 10-27-2010, 08:15 AM by quest_prima.)
I
I am using DP. The key valuefor the object is changing every time.
Ex: Key is ProductsSummary-ultraGrid1-c9a07242-5879-403d-8388-83761c187357-Summary.
The c9a07242-5879-403d-8388-83761c187357 values are changing.
How can i create pattern like:
ProductsSummary-ultraGrid1.*Summary. So that QTP will ignore the characters between summary and ultragrid. How can i create the reg expression pattern and pass the variable to the script below:
cToolbars.ClickRibbonTool strMenu & ":" & strGroup , strKey
Thanks in advance.
I am using DP. The key valuefor the object is changing every time.
Ex: Key is ProductsSummary-ultraGrid1-c9a07242-5879-403d-8388-83761c187357-Summary.
The c9a07242-5879-403d-8388-83761c187357 values are changing.
How can i create pattern like:
ProductsSummary-ultraGrid1.*Summary. So that QTP will ignore the characters between summary and ultragrid. How can i create the reg expression pattern and pass the variable to the script below:
cToolbars.ClickRibbonTool strMenu & ":" & strGroup , strKey
Thanks in advance.