Ranorex path with regular expression problem
Posted: Wed Sep 09, 2009 3:39 pm
I have a scrollbar object in my project repository, the path is
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar' and @maxvalue='5300']/button[3]"
almost every build, the maxvalue changes. Is there anyway that I can put a wildcard character on this object so I don't have to change it everytime before I run it? I have tried those but all failed
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar' and @maxvalue='*']/button[3]"
"list/*/button[3]"
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar']/button[3]"
Can anyone give me suggestions on how to use regular expression here?
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar' and @maxvalue='5300']/button[3]"
almost every build, the maxvalue changes. Is there anyway that I can put a wildcard character on this object so I don't have to change it everytime before I run it? I have tried those but all failed
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar' and @maxvalue='*']/button[3]"
"list/*/button[3]"
"list/scrollbar[@type='ScrollBar' and @fulltype='fl.controls::ScrollBar']/button[3]"
Can anyone give me suggestions on how to use regular expression here?