Answered Questions

  • Regular expressions for web testing

    Browser("Yahoo! Mail: The best").Page("(2 unread) Yahoo! Mail").Link("Inbox (2)").Clickthis is the recorded script i get after performing the action on yahoo mail..now when i run the test again ...the page title and link name changes as the no. of emails in inbox increases...so the error says cannot find the object.can someone please tell me what regular expressions i should used for this script ?

    allen hu

    • Jun 12th, 2010

    You do not need to change anytihng in your scripts.But you need find that link in object repository and update the value of the attribute display in it which to identify the object, such as 'innertext'.You need regular expression of this value in order to make the QTP can smart indentify the object.