Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script for clicking an image in QTP
#3
Not Solved
Hi

I tried using the debug. Still it showing the same message. But in OR the object is exist. Now what shall i do to solve this problem?
I used this code to check whether it finds the object or not,
Code:
strBrowser="title:=xxx"
If Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Exist(1) Then
    Print "Image found"
    Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Click
    Else If not Browser(strBrowser).Page(strBrowser).Image("name:=End of Record").Exist(1) Then
    Print "Image not found"
    End If
    End If

It prints that "Image not found".
Cheers,
Preetha.
Reply


Messages In This Thread
RE: script for clicking an image in QTP - by Bala Preetha - 10-06-2010, 06:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Winbutton slow in clicking kpat 0 1,687 05-23-2016, 12:09 PM
Last Post: kpat
  Clicking on sublink venkatesh9032 1 2,569 06-01-2015, 08:26 PM
Last Post: babu123
Exclamation Login & logout in Siebel and clicking pop-up button yuetling926 7 10,734 07-09-2014, 10:43 PM
Last Post: hhamilton
  Clicking a link in an outlook email using QTP kirti 0 5,383 06-15-2014, 01:25 AM
Last Post: kirti
  QTP not clicking on Yes button in the IE pop up dialog adityasrinivasb 2 9,342 09-29-2013, 11:01 PM
Last Post: prashantrawat101@gmail.com

Forum Jump:


Users browsing this thread: 1 Guest(s)