Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I need your help in the below topic using QTP Automation
tool.



How to automate the right click of mouse on a context menu?



1)Tried low level recording which is working fine but
making use of co-ordinates.



2) Also tried changing the mouse settings and properties
using

Tools ->WebEvent RecordingConfiguration and created a
configuration file

with required mouse click events and used which did
not work.



I need your help in the below topic using QTP Automation tool. How to automate the right c..

Answer / tvsramakrishnachowdary

Hello friend mouse rtclick operations can be solved by the
following code
------------------------------------------------------------

suppose notepad ur having in that some text ur having u
want to select all the text by using mouse rtclick-
>selectall->again mouse rtclick->again select delete...ok...

set wsh=createobject(wscript.shell)
window(notepad).wineditor(edit).click 0,1,micRightbtn
for i=1 to 6
wsh.sendkeys{DOWN}
wait(1)
Next
wsh.sendkeys{ENTER}->this stmt for slecting "select all"
for i=1 to 5
wsh.sendkeys{DOWN}
wait(1)
Next
wsh.sendkeys{ENTER}->this stmt for selecting "delete"
set wsh=nothing

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More QTP Interview Questions

what is object repository size?

22 Answers   ITC Infotech,


What is the use of virtual objects?

1 Answers  


What is the present version of the VB Script we are using

1 Answers  


How many test scripts are prapare in ur project(HeathCare Insurance).

1 Answers   Virtusa,


w is configaration management

3 Answers   TCS,


Hoe we can export TEST RESUALT IN to XL-sheet?

1 Answers   IBM,


what is the difference between Automation object model(AOM) and test object model(TOM)

2 Answers   UHG,


Please mail me the license key of QTP 9.5 t v.sadangi@gmail.com ????? thx

0 Answers  


what is the frame work your using in automation ?

4 Answers  


How to Analyze the Checpoint results by Table and DB Checkpoints?

1 Answers  


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

0 Answers  


Categories