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 connect to the Database from QTP?

10 Answers   DB, Thatavarti Technologies, Xchanging,


if my application shows 100 records and in my database having 200 records how i can validate using QTP tool?plz exp. in detail?

2 Answers   Wipro,


Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com

0 Answers  


How to call .vbs functions in QTP? plz Explain indetail

4 Answers   Wipro,


-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)?

3 Answers   CTS,






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  


What are output values and why they are used ?

0 Answers  


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

0 Answers  


What is expert view and keyword view?

0 Answers  


if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,


What are the advantages of qtp?

0 Answers  


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

0 Answers  


Categories