Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to test a moving text on a website
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
hi ankur,
please let me know how can we test a moving text on a website, to be more specific, a text moving from left to right or right to left. please check this link below which will give u a good idea about my question.
http://indianrail.gov.in/pnr_stat.html
we can see the text "SMS at 57886,5676747,54959,58888 to know the various Railway Enquiries" moving from right to left. I tested with a standard checkpoint, is there any other way i can test it with.
Please let me know....

Rolleyes
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks 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


Forum Jump:


Users browsing this thread: 1 Guest(s)