Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Suneel.K Absent Member.
Absent Member.
96 views

QTP script developed on IE wont work on FireFox.

Hi,

I have been working on portal which was developed on Extjs(extended Java script).

I was able to automate the portal using QTP 10.
I am able to run the scripts on IE7.

But when I try to run the script on FireFox,
Its not able to identify the objects and script fails.

For example :
browser("App.com").Page("SApp").WebButton("Add").exist

The above script works fine in IE7,
But in Fire fox it fails due to object identification issue.

>In IE7 , the 'add'-Button is identified as Button.
> But in Firefox ,its identified as Webelement.

Please let me know if there is a way to resolve this issue.

Thanks in Advance.
Suneel.KV
0 Likes
3 Replies
Micro Focus Expert
Micro Focus Expert

Re: QTP script developed on IE wont work on FireFox.

Do you have Firefox 3.0 or 3.5? As far as I know QTP currently only supports Firefox 3.0.x
0 Likes
Suneel.K Absent Member.
Absent Member.

Re: QTP script developed on IE wont work on FireFox.

Hi,

Iam using FireFox 3.0.13

Thanks,
Suneel
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: QTP script developed on IE wont work on FireFox.

Can you post the HTML code for this button? I don't know if it appears in the code, but when you go right click the page and select "View/Source" from the context menu. Maybe you are then able to find the buttons HTML code? Some HTML tags before and after the button would also be helpful.
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.