Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I send variable value to html property for descriptive programming in QTP
#2
Not Solved
Hi Ritu,

You can send a value to a html property by using & symbol.
_____________
Code:
name = "Login"
Browser("name:=name").Page("page:=p").webbutton("name:="&name).click
______________

But I dunno how to use more than one property (like using html tag and html id, that u hav used in your LOC) in descriptive programming. If anybody know, Please let me know.

Thanks,
Reply


Messages In This Thread
RE: How can I send variable value to html property for descriptive programming in QTP - by QTPian - 07-24-2009, 12:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP Not Recognising Delphi Name Property richardeth 0 2,023 01-30-2014, 09:57 PM
Last Post: richardeth
  capture screenshot using html code and view in QTP Test results Bhuvan 3 7,017 07-19-2013, 02:38 PM
Last Post: Bhuvan
  Not able to send spacebar with End Key to TE nbansal 1 3,396 02-08-2013, 11:31 PM
Last Post: coolguy
  fucntion to send mail in outlook works fine in qtpcode but does not work in .vbs Rashmi 2 3,900 06-13-2011, 09:55 PM
Last Post: byzoor
  Send mails through QTP tester_rahul 2 2,970 04-29-2010, 01:50 PM
Last Post: tester_rahul

Forum Jump:


Users browsing this thread: 1 Guest(s)