Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone know the difference of the 2 statements
#4
Solved: 11 Years, 4 Months ago
Hi
Basically it defines the Object Hirerachy i.e Document Object Model.


1) (item).Click : This will work incase if you are directly accessing the Parent Object(in your case it is 'item').

2)(item).object.click : This means the object which you are trying to access is not a direct object. I mean to say it has one container and on that it is exposed. so to acess that one you need to set to parent class and then search for the Object. This is applicable to Rendering type of object which develop through HTMl Tags or Ajax control.


To understand the difference you need to check 'View --> Source' in IE.

~regards
Reply


Messages In This Thread
RE: Anyone know the difference of the 2 statements - by QTPLearn - 08-31-2010, 02:44 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference in Window Identification Nagaraju6 0 2,071 12-06-2013, 07:08 PM
Last Post: Nagaraju6
  problem in looping statements... navyasatish 5 4,189 02-02-2012, 02:23 PM
Last Post: rajpes
  difference b/w Activex & delphi environment hello 0 2,581 01-10-2012, 03:38 PM
Last Post: hello
Exclamation What is the Difference between Standard, Maintenance and Update Run mode kai07 2 18,271 10-13-2011, 08:52 AM
Last Post: kai07
  difference between loadfunctionlibrary and executefile payal 1 15,700 09-22-2011, 08:33 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 4 Guest(s)