Highlighted
Absent Member.
Absent Member.
8229 views

QTP not Identifying the Chrome Browser Objects consistently

Hi,


I am finding some issue while executing QTP 11 with Chrome Browser. The object which was identified in IE and Firefox for many times, is not identifying the same object in Chrome Browser for Second or Third Run. There is some inconsistent identifying of Object in Chrome Browser.


Can any one provide me the solution of why this problem arrives..

Tags (1)
0 Likes
9 Replies
Highlighted
Absent Member.
Absent Member.

Hello,

 

I'm not sure if you have installed the patch QTPWEB_00088 which supports Chrome browser. Please find some information about this patch in the below mentioned URL:

 

http://www.joecolantonio.com/2011/11/02/qtp11-now-supports-google-chrome-patch-qtpweb_00088/

 

Ignore this message if you have already installed the patch.

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi,
Thanks for your reply. After installing the QTPWEB_00088 Patch only I am facing this problem. Few Objects are getting Identified, but only the specific Object alone is not identifying, but the same is been identified in IE and Firefox Browsers.
0 Likes
Highlighted
Cadet 1st Class
Cadet 1st Class

Have you installed this one: qtpweb_00102 patch?

 

Even i am facing Object identification issue in chrome only for WebElements.

And also the execution in Chrome is very slow. (executing the objects which are added to OR through IE)

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi,

 

Please check the following point:

 

1. Chrome version.

Now QTP 11 supports up to Chrome 19. Please read the document below for details:

 

http://support.openview.hp.com/selfsolve/document/KM1312694

 

2. Check if you select Chrome in Record and Run Settings in QTP

 

Kind regards,

 

HP UFT/QTP support

Highlighted
Cadet 1st Class
Cadet 1st Class

Thank you Lei .

 

Had installed Chrome 19, looks like the chrome default installation location is UserProfile>>Documents & settings....

 

we want all users should be able to run the script from there machines, so we set the default path to Program files in the script.

so my script (launch the browser) is failing bcz it couldnt find the chrome.exe in the program files path.

 

Had tried to get a solution (installing chrome 19 in program files )but no luck.

is there any way to get the chrome 19 installed in Program files?

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi,

 

Thanks for your response. Could you try the following code and see if it helps?

 

MyProcess = "<Chrome path>"

 

SystemUtil.Run MyProcess

 

Kind regards,

 

Lei

0 Likes
Highlighted
Absent Member.
Absent Member.

You need to install the Chrome standalone installer for enterprise in order to get it to install to the Program Files directory. We install and test using the shared, Progam Files installed path on all of our machines here. With the standalone installer, it should install to the ProgFiles dir by default, but I believe there is also a command line switch to specify the install directory when using the offline MSI installer.

 

https://www.google.com/intl/en/chrome/business/browser/

 

Depending on version support, you may have to search to find the appropriate version to install if the current one on the site is available as they update often. Also, because Chrome has a nasty habit of updating itself regularly without prompting from the user, I highly recommend locking the version installed down to prevent nasty surprises if it updates by itself. There is a group policy available that you can add (.adm template) to disable the automatic updating. 

0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Hi,

 

Please refer to the KB below about supported Chrome version:

 

http://support.openview.hp.com/selfsolve/document/KM1312694

 

Kind regards,

 

HP support

0 Likes
Highlighted
Absent Member.
Absent Member.

Hi ,

I dont find QTP 11 ,QTPWEB_00088.exe  & Patch QTPWEB_00120.

Can you plz send me .exe files if you have .

on Mail : eknathsubhash35@gmail.com

 

Thanks in Advance

 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.