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...


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

hi i have one isuue on selecting webcheckbox .there are 15 wecheckboxex i want to select every time 9 th one how can i select plese help me regards balaji

4 Answers  


Can we install QTP on remote server and access it as a web application on other system (client place)? If so please let me know. Thanks in advance, Ravi

2 Answers  


what are the cases in which we use XML and accessibility check points.

2 Answers  


How to call the userdefined functions to script? If i am stored 'add()' function in Library functions folder. i want to cal that function in my script.

4 Answers  


Do you know how to connect database? Can you tell me the procedures?

0 Answers  


what is exact difference between smoke and sanity testing?

6 Answers   Satyam,


I have two actions in my QTP test and two iterations in my DataSheet. I want to execute the Action 1 for the two iterations only after which i want to exceute the next Action2. How is this possible?

4 Answers  


Hi Suppose u have complex Test scripts which u vl write first and which u vl execute first

2 Answers   Symphony,


How to open any application during Scripting in QTP?

7 Answers   Celgene, IBM,


VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...

1 Answers  


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

0 Answers  


what is the silent mode in WR?

1 Answers  


Categories