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 can you have different number of cells for each row of a table in HTML?
How to create a function in vbscript?
How do you declare a variable in vbscript?
What is loose binding? Why is it not a good practice to use it?
What are the naming conventions while declaring a variable in the vbscript language?
I need help to write a function in vbscript to click on a link. That link looks like a tab. There are 6 tabs. When I click on 1 tab it should show as "on". when I spy the class property is on. But for the one which is not clicked the class property is blank. I have objects created in our custom object repository. Please give me some idea.
write a vb-script code to delete all the mails in my gmail in the year 2011
How to get the length of the string by making use of the string function?
how to delete folder test3,test4 and test5 using vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
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.?
Hi Friends, I am facing some issues with If,else condition,i.e. i am working on some web page for ex:gmail page.now if i want to check if username is incorrect or already exist,i want to display error message in my test report,for this i am using a simple code first,i.e. If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "Shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If But still i am getting a syntax error If Browser("Gmail: Email from Google").Page("Gmail: Email from Google").WebEdit("Email").Set "shekhar.g"= true Then Msgbox ("Username Does not Exist!") Else msgbox ("Welcome !") End If I don't feel any thing wrong in this syntax but i don't understand why it shows such error,i am confused what went wrong,please help me out & do the favor,thanks a lot....