Hi all please solve this.It is urgent.....
When I right clicked on a Web image manually It displayed
Open link,open link in new window,save picture as, Email
picture,Printpicture,propeties...etc.
While automation I have written a code like this
'browser("Google").Page("ramseeker®: Memory and_3").Image
("graphOfModel").Click 10,10,micRightBtn
But the right click menu was not displayed.
I want to save that image in a seperate folder

Answers were Sorted based on User's Feedback



Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / sudhanadna

Hi Dude,
if you want to save that image use capturebitmap
method...


Browser("XXXXX").Page("XXXXX").CaptureBitmap "<FilePath>"

ex:

Browser("XXXXX").Page("XXXXX").CaptureBitmap "C:\sample.bmp"


you give only bmp.

if you didnt get answer please mail at:

nanda.dreddy@gmail.com

Is This Answer Correct ?    1 Yes 0 No

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / rayudu

Hi nanda My problem is When i right click on the image
manually it is being displayed "right click menu options"
while automation it did not display righ click menu.I want
the right click options. I also want to check the
properties of the image.I want not only saving the image.

Is This Answer Correct ?    0 Yes 0 No

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / rayudu

Thanks,

It is a good suggestion....Keep posting me answers when I
asked.

Is This Answer Correct ?    0 Yes 0 No

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / rayudu

Thanks Deepak!
It is working...

But i am not using recording and playbacking.I am writing
Descriptive programing and scripting.Is it good recording
for two lines between the script?

Is This Answer Correct ?    0 Yes 1 No

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / deepakm82

Ya absolutely it is fine using two lines via recording as
far as your project conditions are not affected..but you
can try using descriptive also on the code generated by
recording...

Is This Answer Correct ?    0 Yes 1 No

Hi all please solve this.It is urgent..... When I right clicked on a Web image manually It displaye..

Answer / deepakm82

Hi..try using low level recording.Hopefully it will solve
ur problem..

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


Define object spy ?

0 Answers  


QTP -object reposistory spy tool is not able to spy the pop up message appearing in the application, so how is that i can handle such run time pop ups in QTP by code???

2 Answers   CGI,


Explain the concept of object repository & how qtp recognizes objects?

0 Answers  


Can anyone tell me about "Step- By Step Paramterization". among the two paramaterizations, Step by step and Parameterize All, which one is mostly used.

0 Answers  






How to call a function in QTP?Is there any method ? Thanks , PRASANNA

2 Answers  


I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?

4 Answers  


How software tester can use constants and variables in scripts?

0 Answers  


Explain in brief about the qtp automation object model (aom).

0 Answers  


What is output value?

3 Answers  


How many scripts did you have?

0 Answers  


In qtp,how to interact tool & application build?

1 Answers  


Categories