Win Runner is not recognising a list box
Hi,
I am doing web testing using winrunner, I am facing a problem while running the script. win runner is not recognising a list box because the list box name is we are giving dynamically. I used following Regular expression in physical description of this object:{msw_class:Push_button,html_name:"!disc."}list box name is starts with DISC
[b]Question asked by visitor Ramakrishna[/b]
Re: Win Runner is not recognising a list box
Did you make sure that the browser version that you are using is supported by WinRunner? If the browser you are using is not supported by WinRunner then it won't recognize the objects in the browser...
Re: Win Runner is not recognising a list box
Hi,
Instead of specifying !DISC, try using DISC* since you state that list box name always starts with DISC.
The characters following DISC seem to be dynamic. So using * after would enable to recognize all listboxes starting with DISC.
Cheers...
Re: Win Runner is not recognising a list box
you specify !DISC.* in physical description and try.
here ! means it tells winrunner that its regular expression. * means matches any
preceding characters