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
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 |
How to generate 3 digit random number?
Explain the functionality of vbscript?
Which operator can be used to do an xor operation in vbscript?
How do you get the value of a combo box in Javascript?
Which constant is used for print and display functions and works as same as pressing enter key?
what is the purpose of the Reporter.ReportEvent in QTP and also please give the brief description about Reporter.ReportEvent ?
Explain about adodb.stream class?
Explain about .wsf files?
how to automatically update the sql server2005 database records when insert in vb6?
I wrote the vbscript code on notepad i was geeting run time error "object required line 1" my code is set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signin("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Setsec ure.Crypt.Encrypt("entr password") browser("gmail").page("gmail").WebButton("siginobj").click pls tell me whats wrong
write a qtp script to count the number of minimized windows
write a script to count no drives in file systems in qtp?