![]() |
Regular Expression to click an Link - 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: UFT / QTP Regular Expressions (https://www.learnqtp.com/forums/Forum-UFT-QTP-Regular-Expressions) +--- Thread: Regular Expression to click an Link (/Thread-Regular-Expression-to-click-an-Link) |
Regular Expression to click an Link - ramkumar - 07-17-2008 Hello Members, Good Day. I am facing an issue while automating my application. When my form gets submitted, it will create an assignment for another user in the form of link. The link looks like below: Issue: IS-101687, Stage:Issue Moderator - Review Issue, Subject:Issue-024(48969) Out of which the bold ones are dynamically changing values. I used Database output values to get all dynamically changing values. But for certain reasons I am not anle to use the value for 48969 which is nothing but Event ID. I want to replace the last dynamically changing value to Regaular Expression. Here is my link: (After getting values from DB, I am passing the value to Data Table and from there I am using it again.) Code: d=trim(DataTable("Event_Id", dtGlobalSheet)) I tried using RE, but ends in vain. Can any one you, help me out resolving this issue. Your help is greatly appreciated. Thanks Ram RE: Regular Expression to click an Link - surya_7mar - 07-28-2008 Ru using VBSciprt if so alink = "Issue: "+a+", Stage:Issue Moderator - Review Issue, Subject:"+iname+"("+d+")" is not correct alink = "Issue: " & a & ", Stage:Issue Moderator - Review Issue, Subject:" & iname & "(" & d & ")" |