Forum Discussion

rushikesh's avatar
rushikesh
Contributor
8 years ago

In clipboard checkpoint can i use data stored in a txt file to verify with data present in clipboard

In clipboard checkpoint can i use data stored in a txt file to verify with data present in clipboard.

 

I have almost 260 files to compare in my test application.

So can i pass data present in txt file in clipboard checkpoint?

1 Reply

  • I suspect this relates to your question about comparing table/grid data again ....

     

    But this version of the question is not very clear? What are you putting in the clipboard? Text from the application or text from a file? The way you've asked the question here it sounds like both?!?!?

     

    You can put text from a file into a clipboard object.

     

    You can extract text from a GUI object and insert that into the clipboard.

     

    You can also get text from both of the above into a variable and compare that with the content of the clipboard.

     

    So, in technical terms, I suspect the answer is "yes", regardless which one you mean.

     

    But is it the right way to do comparisons of table/grid data? Personally, I don't think so. See my reply (as well as the one from tristaanogre) in your other thread for more detail.