Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting child objects in SAP
#4
Solved: 11 Years, 8 Months ago
Try with the following code/method.
Code:
Obj="provide required screen/object name"  
iValue="provide required checkbox value to check"
If  obj.getroproperty("enabled") AND obj.Exist Then
      If UCase(iValue) = "ON" OR UCase(iValue) = "TRUE" OR UCase(iValue) = "SET" OR UCase(iValue) = "SELECT" Then
                iValue = "ON"
                MySet = obj.set(iValue)         
            End If
            If UCase(iValue) = "OFF" OR UCase(iValue) = "FALSE" OR UCase(iValue) = "UNSELECT" OR UCase(iValue) = "" Then
                iValue = "OFF"
                MySet = obj.set(iValue)         
            End If
        End If


Messages In This Thread
RE: Getting child objects in SAP - by MVChowdary - 10-20-2011, 01:23 PM
RE: Getting child objects in SAP - by MVChowdary - 10-20-2011, 03:48 PM
RE: Getting child objects in SAP - by Ankesh - 10-20-2011, 04:52 PM
RE: Getting child objects in SAP - by syoutaikon - 08-15-2013, 01:23 PM
RE: Getting child objects in SAP - by Ankur - 08-15-2013, 02:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,411 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Driver Script to control child scripts sumanhyd 1 3,350 07-26-2016, 07:06 PM
Last Post: Ankesh
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 4,014 08-20-2015, 11:39 PM
Last Post: ADITI1992
  Child object shwetakondekar 0 2,227 07-01-2015, 03:28 PM
Last Post: shwetakondekar
  How to write a script for fly out menus (Parent - Child - Sub Child) rajkumarsm 3 4,932 09-02-2014, 10:01 AM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)