Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reg Exp issue in DP (.net with infragistic conrols)
#1
Not Solved
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.
Reply
#2
Not Solved Wink 
Hi Prima,

Is it mandatory to include summary in the regular expression in this case?

If no, than use "ProductsSummary-ultraGrid1.*".

If yes, please send the code you are using right now.

Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Object Identification issue with .Net Objects Punam K 1 3,863 06-19-2011, 07:45 PM
Last Post: AutomationEngr

Forum Jump:


Users browsing this thread: 1 Guest(s)