Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Identification of objects in GWT
#1
Not Solved
Hi,

I am facing one problem with identifying the objects in my application. I am doing this by Data Driven Framework.

Issue - We are using GWT (Google Web Toolkit) in our application. On search page we have few text boxes and few combo boxes. QTP identifies all the objects on the page as WebElement.
There are only few properties which QTP identifies and those are dynamic (the property name keeps on changing).

Text Box - In this case fortunately there was name field called "ext-gen401-firstName" the number 401 keeps on changing to some other number (485, 782) which makes this name property as Dynamic. So I used regular experession to identify the object, program executed successfully

Combo Box - In this case, there wasn't any name field and had only "html id:=ext-gen1167" which I could use in the script. As the property keeps on changing the number, there wasn't any unique property which I could use and work with. In the properties section x,y location fields is the last option I am left with which is not good practice to include in Scripts.

Here with I am attaching the properties I could see for the combo box.

Properties of Combo Box

Class Name = WebElement
abs_x =323
abs_y =518
class = x-form-taglist-tags
height = 21
html id = ext-gen409
html tag = TD
outerhtml = <TD class=x-form-taglist-tags id=ext-gen409 style="WIDTH: 365px"></TD>
visible = True
width = 365
x = 321
y = 271


Thanks
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation Need help on Urgent Basis--GWT related problem.. souvikghosh_diatm 7 5,831 02-19-2012, 10:38 PM
Last Post: mwaikar
  GWT Weblist Not Getting Detected in QTP 10 aravind07 0 2,575 11-25-2011, 09:48 AM
Last Post: aravind07
  QTP 10.0 not able to identify object in GWT application. savan 0 3,059 11-09-2011, 11:00 PM
Last Post: savan
  GWT table property changing.....Need Help.. souvikghosh_diatm 5 4,980 07-08-2011, 04:16 PM
Last Post: rajpes
Question Object Identification issue with .Net Objects Punam K 1 4,017 06-19-2011, 07:45 PM
Last Post: AutomationEngr

Forum Jump:


Users browsing this thread: 1 Guest(s)