Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identification of Object in eb Table
#1
Solved: 10 Years, 9 Months ago
I have a web table with the following element.
The first element is identified as "Web Button". I want to parameterize the web Button because there would more than 100 web buttons.
QTP is not identifing the object, because the object acts both as button and jif image. I ahve attached screen shot along with this mail.
Screen 1 - Before clicking on the web button
Screen 2 - After clicking on web button

I want to parameteruze the object displayed left of the colum event name.


Attached Files
.doc   QTP doubt.doc (Size: 165.5 KB / Downloads: 82)
Reply
#2
Solved: 10 Years, 9 Months ago
Hi,

I am not sure how you can parameterize the webbuttons and images inside a webtable.. but you can try this.


Code:
Count1 = Browser("").page("").Webtable("").childItemCount(row,column,"Webbutton")

For i = 0 to Count1
oWebButton = Browser("").page("").Webtable("").childItem(row,column,"Webbutton",cint(i))

oWebButton.Click ' Clicks the first(with index 0) webbutton in the webtable
a = oWebButton.GetRoproperty("html id")


Please try this...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Enabling Smart Identification for SAP Gui object prasanna.kale5@gmail.com 0 846 12-05-2019, 08:04 PM
Last Post: prasanna.kale5@gmail.com
  Object identification is taking too much time JACKSPARROW 0 1,591 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  Object Identification approach sams001 2 2,394 06-29-2016, 02:17 PM
Last Post: Ankesh
  Uft 12 - Identification of Google Chrome Object's Property value as plain text teja2730 0 2,459 02-02-2015, 05:22 PM
Last Post: teja2730
  Check Box Object Identification rakesh499 0 2,014 01-27-2015, 01:56 PM
Last Post: rakesh499

Forum Jump:


Users browsing this thread: 1 Guest(s)