Forum Discussion

Ilakkk's avatar
Ilakkk
Contributor
2 years ago

Get numbers from string

How can I get numbers with string. I need to print only the numbers that contains string 

How can I scroll down in test complete by using JavaScript 

3 Replies

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Do you have an example of your data?

     

    Example,

    function Test1()
    {
        var val = parseInt("-077");
        Log.Message(val);
        
        var val = parseFloat("384.75a");
        Log.Message(val);
    }
    • Ilakkk's avatar
      Ilakkk
      Contributor
      Examples like see all 55 results. I need to fetch 55 and print

      Another issue was Scrolldown is not working other than keys and scrollinto
      view which way I can scrolldown