Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass property name in description?
#1
Not Solved Exclamation 
I am trying to save image displayed via search in google
I have a problem please tell me how to parameterise the below marked
Iam trying to use myImage as a description object value

Code:
set Images =browser("title:=.* ").page("title:=.*").ChildObjects(odesc)
n= Images.count
For i=0 to 1    
    myImage=Images(i).getroproperty("file name")
    If i=0 Then
    with browser("title:=.* ").page("title:=.*")
    .link("name:=See full size image", "innertext:=See full size image", "innerhtml:=See full size image").Click
    .Image("file name:=[color=#FF0000][b]myImage[/b][/color]").CaptureBitmap "c:\a.bmp"


Advance Thanks
Kartik Raman
Reply


Messages In This Thread
How to pass property name in description? - by Kartikraman - 07-11-2010, 08:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass reference to datatable into function smallsteve 2 2,213 09-28-2017, 09:18 PM
Last Post: smallsteve
  How to find out the object property in the Description language . njnirmal 9 6,844 05-19-2015, 12:30 AM
Last Post: qtptester66523
  Can you please help me in QTP DP to pass the variable name anshika.agarwal 1 2,849 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  Description.Create with same propertie and different values, not working ttralor 2 2,683 01-13-2013, 12:11 AM
Last Post: ttralor
  Pass "/" in Query string to DB Anjali09 0 2,634 01-04-2012, 08:34 PM
Last Post: Anjali09

Forum Jump:


Users browsing this thread: 1 Guest(s)