Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to validate file Extension in qtp 9.2
#3
Solved: 10 Years, 9 Months, 1 Week ago
1)Get File NAme using Getroproperty
2)Use the Right Function to get the last 3 characters
3)check if it is "jpg" or "gif"
or

objRegExpr.Pattern = ".*.jpg|.*.gif"

Regards
Reply


Messages In This Thread
RE: How to validate file Extension in qtp 9.2 - by kishoreinchennai - 09-30-2008, 03:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to validate the dyanamic content using QTP? thirna4word@gmail.com 3 3,889 10-03-2017, 08:47 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)