Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting Check boxes by Descriptive Programming
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Code:
Option Explicit
'On Error Resume Next
Dim co,v,j,val

systemutil.run "www.yahoomail.com"
wait(3)
val=browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").WebEdit("login").GetROProperty("value")
print val

Function Yahoo()

    If browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").Exist Then
            Yahoo=browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").Exist
        Dim co
    
        Set co=description.Create()
    
        co("micclass").value="WebCheckBox"
        co("visible").value=True
    
        set v=browser("Yahoo! Mail: The best").Page("Yahoo! Mail: The best").ChildObjects(co)
        j=v.count
        print j
    
        For i=0 to j-1
            v(i).set "ON"
        Next

    End If
End Function

Call Yahoo()
msgbox Yahoo
Reply


Messages In This Thread
RE: Selecting Check boxes by Descriptive Programming - by bfakruddin - 12-22-2008, 05:01 PM

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,824 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)