Forum Discussion

TestingHobo's avatar
TestingHobo
Contributor
10 years ago
Solved

Read text from webpage insert into a var

How would i read some text from a wepage and put this value in to a VAR. I have searched online and cant see anyway of doing this via Jscript, has anyone done this before? Thanks in advanced.
  • Ravik's avatar
    10 years ago

    Hi, 

     

    You Can use ContentText, InnerText, Text or wText method for reading Text from the web Object

    like- 

     

    myText = TestObject.ContetText

     

    TestObject is nothing but herarchy of web object (You have to choose sutaible method from the above)