QTP WebElement Click is not working with FF (898 Views)
Reply
Occasional Visitor
alina.f.chavez
Posts: 1
Registered: ‎05-09-2011
Message 1 of 2 (898 Views)

QTP WebElement Click is not working with FF

Hi,

I need to automate business components capable of run on IE and FF, there is an object in my application that is recognized as Button in IE and as WebElement in FF, the issue that i have is that the WebElement click is not working, i have tried to manipulate with Descriptive Programing and also with the Object Repository, but nothing has worked until now, also i tried to get the WebElement childObjects but when the script executes this line, FF crash and inmediatly finish the session.

I am working with QTP 10 and FF 3.6.17, i have installed the Patch that enable QTP work with FF 3.6.x.

Can somebody give me any suggestion?

I'll apreciate your help.

Alina Chavez.
Occasional Visitor
Santhosh1652
Posts: 1
Registered: ‎11-21-2011
Message 2 of 2 (855 Views)

Re: QTP WebElement Click is not working with FF

[ Edited ]

Hi,

For this problem, I got below solution.

 

I created a Virtual Object for that Button(which is displaying as webelement in FF).

 

Tools->Virtual Objects->New Virtual Objects.

 

Then use by click event.

 

Method -II

 

Using DeviseReply Method

 

 

Browser("BWR_Name").Page("PG_Name").WebElement("WELE_name").HighLight
                  Set obj = CreateObject("Mercury.DeviceReplay")
                  obj.MouseClick 703,279,LEFT_MOUSE_BUTTON

 

Thanks,

Santhosh Amara

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.