Hello All,

In QTP 9.2 for Mozilla Firefox, there is webelement in my
application, I tried to click on that using decsriptive
programming, but it does not work.
and for this i tried this code too:
Set obj = CreateObject ("Mercury.DeviceReplay")
absx = Browser("").Page("").WebElement(".").GetROProperty
("abs_x")
absy = Browser("").Page("").WebElement(".").GetROProperty
("abs_y")
obj.MouseMove absx, absy
obj.MouseClick absx, absy, 0
But it is not clicked.
Can anyone help me out for this problem.

Thnx in Advance



Hello All, In QTP 9.2 for Mozilla Firefox, there is webelement in my application, I tried to cl..

Answer / aparna

I am having the same problem. I tried with the above code
and also put wait() statement in the code. Nothing works.
It would be greatly appreciated, if someone help with this.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More VB Script Interview Questions

How to throw an error in vbscript?

0 Answers  


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

0 Answers  


Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?

0 Answers   Microsoft,


In what way program "hello world" you can write in vbscript?

0 Answers  


Both Static and dynamic arrays are handled by VB script. Is it true?

0 Answers  






What variable can you use to share info across the whole application for one user?

2 Answers  


How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.

0 Answers  


What is the use of "Option Explicit"?

2 Answers  


in qtp we ve datatable look like excel ,if we want to extract data from excel which saved in my documet how can i get that in datatable using vb script

2 Answers  


What is the event handling in vbscript?

0 Answers  


Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards

0 Answers  


I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..

0 Answers  


Categories