Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WebElement is not getting identified in chrome browser but identified in mozilla ,IE
#4
Not Solved
Hi,

I have also added some other property ,see below but still showing same error in chrome and run fine in other browsers.


'*****************************
Code:
j=1
vCommonXpath=".//*[contains (@id,'mainForm:') and @class='ui-datatable-data ui-widget-content']/tr["    
                                                            vXpathLastName=vCommonXpath & j & "]/td[2]/div/label"                                                        
                                                            vLastName= [b]Browser("login.xhtml").Page("title:=.*").WebElement("xpath:="& vXpathLastName,"html tag:=LABEL","outerhtml:=<label>.*</label>").getroproperty("innertext")[/b]
'                                                            vLastName= Browser("login.xhtml").Page("title:=.*").WebElement("xpath:="&vXpathLastName).getroproperty("innertext")
                                                            msgbox vLastName
'******************************


Also see attached screenshot.


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: WebElement is not getting identified in chrome browser but identified in mozilla - by pradeep singh - 05-07-2013, 12:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT24.2 and Chrome Browser is not resnponding mode kotaramamohana 0 63 11-12-2024, 05:33 PM
Last Post: kotaramamohana
  Child Object Not able to identified in Web Menu Link noor 0 1,857 01-21-2018, 04:44 PM
Last Post: noor
  UFT Descriptive Programming objects not identified in a secure & private intranet env bugfinder2 1 1,826 06-07-2017, 01:41 PM
Last Post: Ankur
  object identified as WinObject by UFT11.52, HELP javierchen 1 3,381 03-17-2015, 09:36 PM
Last Post: babu123
  webfile web object not identified at runtime in a java application saila123 1 2,811 02-11-2015, 08:23 PM
Last Post: Kirill

Forum Jump:


Users browsing this thread: 1 Guest(s)