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


Messages In This Thread
Webelement Values - by profqa - 01-03-2015, 10:30 AM
RE: Webelement Values - by supputuri - 01-05-2015, 11:07 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation WebElement("WebElement").Click is not working sia sharma 7 23,959 09-28-2016, 08:58 PM
Last Post: supputuri
  How to check two different webelement values automation2012 3 8,067 09-01-2012, 12:35 PM
Last Post: basanth27
  Compare Webelement with Datatable Values hamzaz 1 4,613 04-29-2012, 06:38 PM
Last Post: srikanthqtp
  how to validate combobox values with testdata values 1981.madhu@gmail.com 3 6,005 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,399 07-08-2009, 01:52 PM
Last Post: robocom

Forum Jump:


Users browsing this thread: 2 Guest(s)