Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Descriptive Programming/RadioButton
#1
Not Solved
I have a radiobutton on a page, i can get my script to select it IF i do it by recording

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
Reply
#2
Not Solved
Can u send a snap shot of your page?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,948 04-25-2019, 08:17 PM
Last Post: Ankur
  UFT Tool support with Descriptive programming laks 1 1,774 07-05-2018, 05:31 PM
Last Post: Ankur
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,826 06-07-2017, 01:41 PM
Last Post: Ankur
  UFT descriptive programming Browser("creationtime:=-1") not always working SOUMYADEEP 0 3,087 01-20-2017, 01:53 AM
Last Post: SOUMYADEEP
  Inserting variable values into Descriptive Programming Functions eske99 2 3,506 12-18-2015, 01:47 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)