Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check image with text
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi friends

I m working in banking application

in application bank can be added by two ways ,any number of bank can be added and after adding bank it will aapear as a link on a page.if bank is added via way 1 image of delete button should be available and if bank added via way2 the delete button should not be availble near bank name

so how can i perform check using QTP wheter added bank have delete button available or not ????i tried with bitmap and text checkpoit but it didnt worked becuase in order to check evrytime i wil have to add bank from both ways way1 and way2 ????? and evrytime the bank name will be different everytime location of link will also be different .so nothing is fixed by which i can check the things by puttind check points
any sort of help would be appreciated


Attached Files Image(s)
   
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
You can check for the existence of button using .exist , if the text is variable use regular expressions so that it can identify whether button is available or not.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP image and text comparison rad 5 1,887 06-15-2018, 11:19 PM
Last Post: Ankur
  run time image text pass on to the edit field amit Das 3 3,514 11-08-2010, 11:09 AM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)