Forum Discussion

nedbacan's avatar
nedbacan
Frequent Contributor
5 years ago

Add a check on the file extension type of the file exported

Hello.

 

I am fairly new with TestComplete, but I want to create Keyword script that will check the file extention (.jpeg) that was exported by the test scripted.  Can someone show me on how the checkpoint would be setup using the Keyword

 

The web app being tested has the capability to set the file type the report can be generated when user exports it to a local folder.  I want to verify the 3 formats supported in the Admin screen (.jpg, png, and tiff ) is exported with the correct format depending on the what is set to in the Admin screen.

 

Help is greatly appreciated.  Thank you.

i

  • Hi,


    I have prepared a video for you that contains detailed instructions on how to check the file extension through a keyword test.


    See the attachment to the message.

  • Works like a charm !!!   Thank you for the idea..:smileyhappy:

  • Wamboo's avatar
    Wamboo
    Community Hero

    Hi,


    I have prepared a video for you that contains detailed instructions on how to check the file extension through a keyword test.


    See the attachment to the message.

    • nedbacan's avatar
      nedbacan
      Frequent Contributor

      Works like a charm !!!   Thank you for the idea..:smileyhappy: