Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select the WinRadioButton using descriptive programming
#1
Solved: 11 Years, 3 Months ago
Hi All,

Im trying to automate selecting the WinRadioButton "First" in the Flight application using the below code in QTP version 9.5.

Code:
'Descrition Object
    Set oChkBoxDesc = Description.Create
    oChkBoxDesc("micclass").Value = "WinRadioButton"
    oChkBoxDesc("text").Value = "First"
    oChkBoxDesc.Set
But I'm getting the below error

Object doesn't support this property or method: 'oChkBoxDesc.Set'

Line (20): "oChkBoxDesc.Set".

Please let me know how can I resolve this.


Attached Files
.doc   Defect Screen shot.doc (Size: 144.5 KB / Downloads: 72)
Reply
#2
Solved: 11 Years, 3 Months ago
Parent object hierarchy is missing.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Dynamic descriptive Programming issue in Terminal Emulator cprasad 1 1,942 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,822 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,503 12-18-2015, 01:47 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)