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
#6
Not Solved
Hi ,

Still same error in chrome.
Why chrome only showing error but runs fine in IE,mozilla ? I have also try with other webelements by mentioning only xpath ,same result as runs fine in mozilla ,IE but can not identify webelement error in chrome. Is xpath (used in dp ) not work for chrome browser?????

Note: I have already installed required patches as other script runs fine in chrome also.

Hi ,

To regenerate issue at your end. Follow below steps.
Step 1: Close all previously opened browsers.
Step 2: Copy and past below line of code in your qtp.
Code:
'msgbox Browser("title:=.*").page("title:=.*").webelement("xpath:=.//*[@id='hplogo']").GetROProperty("innertext")
msgbox Browser("title:=.*").page("title:=.*").webelement("xpath:=.//*[@id='hplogo']","html id:=hplogo","outertext:=India").GetROProperty("innertext")
Step 3: Open firefox browser and navigate to this url: "www.google.co.in"
Step4: Execute above code.
Step 5: You will get the outpout "india" .
Step 6: Now repeat above steps from 3 to 5 but instead of firefox ,now open chrome browser. Now you will get the error.
Reply


Messages In This Thread
RE: WebElement is not getting identified in chrome browser but identified in mozilla - by pradeep singh - 05-07-2013, 02:16 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,827 06-07-2017, 01:41 PM
Last Post: Ankur
  object identified as WinObject by UFT11.52, HELP javierchen 1 3,382 03-17-2015, 09:36 PM
Last Post: babu123
  webfile web object not identified at runtime in a java application saila123 1 2,812 02-11-2015, 08:23 PM
Last Post: Kirill

Forum Jump:


Users browsing this thread: 1 Guest(s)