Forum Discussion

googleid_118035's avatar
googleid_118035
Contributor
10 years ago
Solved

In Keyword testing - Does its possible to insert a value into a Excel file.

Hi All,



I was able to insert a value into Excel file by using a scripts, but I need to know same thing is possible to do by Keyword testing.



5 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)


    Hi Dev,


     


    That's possible. However, in my opinion, it's easier to call the script function from your keyword test like Murugan suggested.


    Creating a keyword test to work with Excel may be complex - you will need to add a dozen of the Call Object Method, Run Code Snippet operations and many others to your test.


     




  • Hi,



    Thanks for the reply. Yes that way can do, but I just need to know without using scripts, is its possible?





    Thanks



  • Hi,



    Thanks for the reply. 

    I have notice that we have aqFile runtime object with WritetoTextFile method.

    By using above method I can write data into a text file.  

    But I cannot use above method with Excel file?





    -------------

    Thanks

    Dev