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 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 |
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 |
Answer / rayudu
Thanks,
It is a good suggestion....Keep posting me answers when I
asked.
Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
Answer / deepakm82
Hi..try using low level recording.Hopefully it will solve
ur problem..
Is This Answer Correct ? | 0 Yes | 2 No |
How to differentiate the webedit field like user name and password? Please tell any other best answer is ther
Define object spy ?
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???
Explain the concept of object repository & how qtp recognizes objects?
Can anyone tell me about "Step- By Step Paramterization". among the two paramaterizations, Step by step and Parameterize All, which one is mostly used.
How to call a function in QTP?Is there any method ? Thanks , PRASANNA
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...?
How software tester can use constants and variables in scripts?
Explain in brief about the qtp automation object model (aom).
What is output value?
How many scripts did you have?
In qtp,how to interact tool & application build?