Quality Testing

Quality is delighting customers

I recorded a script where in I click on a link (Character H) which takes me to the next page. Now there can be any thing (Character) on which I will be clicking. Do I need regular expression to identify the character?
In GUI map file it looks as follows........
Logical Name
H


Physical Description
{
class: object,
MSW_class: html_text_link,
html_name: H
}

What should I do so that any character instead of H is identified?

Views: 3

Reply to This

Replies to This Discussion

Browser("name").Page("name").Link("H").SetTOPropery "text",
Browser("name").Page("name").Link("H").Click

Or

Browser("name").Page("name").Link("text:="& ).Click
Yes Regular expression is the only solution as far as WR is concerned.
Usage [ a-z A-Z ].*

RSS

TTWT Magazine

Advertisement

You Can


Call for Articles

Advertisement

Videos

  • Add Videos
  • View All

Badge

Loading…

© 2012   Created by Quality Testing.

Badges  |  Report an Issue  |  Terms of Service