Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to test a moving text on a website
#2
Solved: 10 Years, 9 Months, 1 Week ago
Hi Ankur,
Use the following code -
Code:
Set oDesc = Description.Create()  
oDesc("micclass").Value = "WebElement"
oDesc("html tag").Value = "TD|DIV" OR ( What ever the GUI spy says)
Set WebElementList =PageObj.ChildObjects(oDesc)
    'Count the No. of Images in UI screen
NoOfWebElement = WebElementList.Count()          
    'This FORLOOP for clicking on exact search value for WebTable.
    For i = 0 To NoOfWebElement -1
                            On Error Resume Next
            StrArry = WebElementList(i).GetROProperty("innertext")
                If  Instr( StrArry,ObjectName)> 0    Then
                    ObjExist=true
                    Exit For
                else
                    ObjExist = false
                End If
                           Next:)
Reply


Messages In This Thread
RE: how to test a moving text on a website - by Aditest0870 - 12-27-2008, 04:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)