07-09-2010, 08:04 PM
I have a radiobutton on a page, i can get my script to select it IF i do it by recording
I want to use descriptive programming along with a regular expression(because the 10 in MDIForm changes)
I have:
The vbname and nativeclass are both correct (used object spy). I am getting an error saying
"Cannot identify the object "[ VbRadioButton ]" (of class VbRadioButton). Verify that this object's properties match an object currently displayed in your application.
Line (2):
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository."
Any help would be much appreciated
Code:
VbWindow("MDIForm1_10").VbWindow("frmLocation").VbRadioButton("&Location (Section, Township").Set
I want to use descriptive programming along with a regular expression(because the 10 in MDIForm changes)
I have:
Code:
VbWindow("vbname:=MDIForm1.* ").VbWindow("vbname:=frmLocation").vbRadioButton("vbname:=optAddress(1)", "nativeclass:=ThunderRT6OptionButton").Set
The vbname and nativeclass are both correct (used object spy). I am getting an error saying
"Cannot identify the object "[ VbRadioButton ]" (of class VbRadioButton). Verify that this object's properties match an object currently displayed in your application.
Line (2):
Code:
"VbWindow("vbname:=MDIForm1.* ").VbWindow("vbname:=frmLocation").vbRadioButton("vbname:=optAddress(1)", "nativeclass:=ThunderRT6OptionButton").Set".
Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository."
Any help would be much appreciated