Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to test a moving text on a website
#1
Reply
#2
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


Forum Jump:


Users browsing this thread: 1 Guest(s)