Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
qtp is executing script on objects which are not visible on the screen
#1
Not Solved
Hi,

I used an IF condition on an object,if it appear on the screen. But the IF condition is getting executed even though the object is not visible.
I tried the following stmnts:
1.
Code:
Browser().Page().Frame().WebButton().exist(1)
2.
Code:
Browser().Page().Frame().WebButton().getroproperty("visible")
- returned True even though it is not visible.

Please let me know if anyone has a solution.

Thanks
Chandra
Reply
#2
Not Solved
Have you tried to Highlight the object? It must be highlighting some object there on your app.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script access denied error when executing alm scripts in planned host Kumar Reshma 0 1,576 05-28-2018, 04:04 PM
Last Post: Kumar Reshma
  Using QTP to capture screen shot ravi.gajul 12 77,375 08-10-2017, 06:58 AM
Last Post: pauljo.kld@gmail.com
  QC Test not found error or not executing remote tests zaira_p 5 9,976 08-04-2015, 10:22 PM
Last Post: mitsuy
  get visible cell data values from webtable Satwik 1 4,588 07-24-2014, 11:57 PM
Last Post: supputuri
  qtp 11, Unable to prove the disappearance ofdynamic objects displayed on same screen. priyaang 1 2,480 03-24-2014, 12:53 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)