Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Assigning object properties to a variable using dp
#1
Not Solved
Hi
I am trying to assign object properties to variable using DP. below is the code am trying
Code:
googleSearchEdit="name:=q"
Browser("Creationtime:=0").Page("micclass=page").WebEdit(googleSearchEdit).highlight
Above code is working fine. But when i add one more property like index:=0 to the variable its not working

Code:
lnkInfoTab = "name:=YourInformation"&","&"index:=0"
Browser("Creationtime:=0").Page("micclass=page").Link(lnkInfoTab).Click
This time its not working. Can any help me out on this


Thanks in advance
Reply
#2
Not Solved
Please try below code

Code:
lnkInfoTab = """name:=YourInformation"""&","&"""index:=0"""
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  not identifying the object properties seven 3 2,593 02-18-2014, 04:23 PM
Last Post: supputuri
  Difference between parameter tabs in Action Properties and Action Call Properties. vibhakhandelwal 0 3,837 11-16-2011, 01:34 PM
Last Post: vibhakhandelwal
  Is it possible to Change Logical name of the Object and object properties through QTP kotaramamohana 1 3,590 05-10-2011, 09:26 PM
Last Post: supputuri
  how can I store a string with variable in it, in another variable? reejais 4 4,282 11-11-2010, 11:46 PM
Last Post: smeepaga
  problem in assigning value in a script vijay44 3 2,257 02-01-2010, 06:09 PM
Last Post: Saket

Forum Jump:


Users browsing this thread: 1 Guest(s)