Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Check an object existing on a Browser
#1
Solved: 10 Years, 9 Months, 1 Week ago
Hi all,

I check the object "btnNo" button existing by the code as:

Code:
rc = Browser("EmailReport").Page("Report").WebButton("btnNo").Exist(60)
or
   rc = Browser("EmailReport").Page("Report").WebButton("btnNo").WaitProperty("disabled", 0, 60000)

Sometimes rc = True and sometime rc = False, although this page loaded before 60s.
I can not understand this point. So can anybody help me on that?

Many thanks,
linhke


Attached Files Image(s)
   
Reply


Messages In This Thread
Check an object existing on a Browser - by linhke - 02-24-2011, 04:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Check Object Spacing goaliema3026 0 1,629 06-25-2015, 01:10 AM
Last Post: goaliema3026
  Code not recognising Browser object as existing brigna 0 1,728 12-04-2014, 08:32 PM
Last Post: brigna
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,303 03-11-2014, 12:13 PM
Last Post: devarapallliramana
  Qtp can not identify existing script prit deo 0 1,805 03-03-2014, 04:23 PM
Last Post: prit deo
  Need to embed worksheet to already existing excel mahaktikoo 1 2,330 09-27-2012, 12:13 AM
Last Post: krr

Forum Jump:


Users browsing this thread: 1 Guest(s)