var can be used in reg expr ? - 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: var can be used in reg expr ? (/Thread-var-can-be-used-in-reg-expr) |
var can be used in reg expr ? - zhangjiaqiang - 06-19-2009 Hello all, I use different users in a DataTable to login my app each time. for example, user1 login, then I will get a windows whose title is "user1@IP". Code: login_name = DataTable("login_name") I want to check the title with using varname "login_name" in a reg expr to check this is correct ? How should I do ? |