Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to pass property name in description?
#2
Not Solved
Hi Kartik,

FYI, myImage is a 'Variable' not a 'Value' and hence you need to use Concatenation Operators such as '&' while passing a variable.

Go with the below way:

Code:
browser("title:=.* ").page("title:=.*").Image("file name:="&myImage).CaptureBitmap "c:\a.bmp"
Reply


Messages In This Thread
RE: How to pass property name in description? - by sreekanth chilam - 07-11-2010, 12:31 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass reference to datatable into function smallsteve 2 2,068 09-28-2017, 09:18 PM
Last Post: smallsteve
  How to find out the object property in the Description language . njnirmal 9 6,652 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,741 09-04-2014, 06:43 PM
Last Post: anshika.agarwal
  Description.Create with same propertie and different values, not working ttralor 2 2,482 01-13-2013, 12:11 AM
Last Post: ttralor
  Pass "/" in Query string to DB Anjali09 0 2,578 01-04-2012, 08:34 PM
Last Post: Anjali09

Forum Jump:


Users browsing this thread: 1 Guest(s)