Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Webelement Values
#1
Solved: 9 Years, 9 Months, 1 Week ago
I am trying to capture some web element values of a web page. I used Object Spy to get the property of object. I’m trying to use descriptive programming. But the object property is same in all the object except abs_X and abs_y. it worked fine on my work station. When I’m running this script on another work station, where monitor size is different it failed. Please suggest.

My code :
Code:
strESGetRo = Browser("xyz").Page("abc").WebElement("html tag:=DD", "abs_x:=437","abs_y:=334").GetROProperty("innertext")
print "strESGetRo... " & strESGetRo

strEntryTypeGetRo = Browser("xyz").Page("abc").WebElement("html tag:=DD", "abs_x:=437","abs_y:=354").GetROProperty("innertext")
Print "Entry Type " & strEntryTypeGetRo
strEntryPortGetRo  = Browser("xyz").Page("abc").WebElement("html tag:=DD", "abs_x:=437","abs_y:=374").GetROProperty("innertext")
Print "Entry Port " & strEntryPortGetRo


Attached Files
.pdf   web_ele.pdf (Size: 90.93 KB / Downloads: 121)
Reply
#2
Solved: 9 Years, 9 Months, 1 Week ago
HI there,

Please use the childObjects concept so that you can loop through all webelement with html tagBig GrinD

please let me know if you need any help on this.
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,961 09-28-2016, 08:58 PM
Last Post: supputuri
  How to check two different webelement values automation2012 3 8,072 09-01-2012, 12:35 PM
Last Post: basanth27
  Compare Webelement with Datatable Values hamzaz 1 4,615 04-29-2012, 06:38 PM
Last Post: srikanthqtp
  how to validate combobox values with testdata values 1981.madhu@gmail.com 3 6,025 09-09-2009, 06:53 PM
Last Post: Saket
  Checking if values of Listbox/Combo box on a web page the same with values in DB? robocom 4 8,410 07-08-2009, 01:52 PM
Last Post: robocom

Forum Jump:


Users browsing this thread: 1 Guest(s)